[PyKDE] QVariant support in PyQt4

Andreas Pakulat apaku at gmx.de
Fri Dec 30 20:36:42 GMT 2005


maybe I'm just too stupid, but it seems the following C++ code:


cannot be correctly ported to PyQt4. Using


I get a QVariant which type() function returns type number 66 (which
would be QBrush, not QColor). 

Also QVariant lacks the value() function, thus I don't really have a
clue how to check the real value that it contains.


Just because the message may never be received does not mean it is
not worth sending.

More information about the PyQt mailing list