Qt-interest Archive, April 2007
QPen, QBrush and QPixmap are NOT yet persistive in ActiveQt?
Message 1 in thread
Hi, ActiveQt expert,
Using Q_PROPERTY can make ActiveQt. persistence.
The first parameter of Q_PROPERTY is type, which says in Qt’s doc
(http://doc.trolltech.com/4.2/properties.html):
"The type of a property can be any QVariant"
This is true for most types, such as, int, QString, QFont and QColor . . .
But which is NOT true for QPen, QBrush and QPixmap.
Why there are these three exceptions?
I use Qt4.1.1, MSVS2003, Win-XP.
I insert my ActiveQt controls to MS PowerPopint version 2002.
Thanks,
Lingfa
--
[ signature omitted ]