[PyQt] PyQt4 question related to QVariant

Detlev Offenbach detlev at die-offenbachs.de
Sat Jul 4 18:18:29 BST 2009


Hi,

I would like to store a QModelIndex instance in a QVariant in one place of my 
code and retrieve this back out of the variant somewhere else.

How do I do that. PyQt4.QtCore.QVariant seems to be missing the setValue() 
method.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the PyQt mailing list