Qt-interest Archive, April 2007
Alpha component in QColor is lost in ActiveQt persistence !
Message 1 in thread
Hi, ActiveQt experts,
Properties declared by Q_PROPERTY have persistence. QColor is one of them.
Q_PROPERTY( QColor color READ color WRITE setColor STORED true )
Actually, the RGB are stored, but NOT the alpha.
See qaxtypes.h for:
extern QColor OLEColorToQColor(uint col);
I believed the Qt team should make QColor persistence, unfortunately not
in Qt4.1.1.
Does anyone know this gets fixed in latest Qt release?
Thanks
Lingfa
--
[ signature omitted ]