[PyQt] QVariant API 2 and QtGui.QGraphicsProxyWidget.itemChange()
aronbierbaum at gmail.com
Wed Dec 1 14:37:05 GMT 2010
I believe that we have found a bug with the conversion of QVariant
objects in the QGraphicsProxyWidget.itemChange() method when using the
API 2 version. The issue seems to be related to the fact that when we
try to call setParent() on a graphics item that has overriden the
itemChange() method, the change is not accepted. It appears that even
if we directly return the value from
QtGui.QGraphicsProxyWidget.itemChange(), the value is somehow getting
reset to an empty QVariant. Any ideas on what could be going wrong. I
have attached a simple example that shows the behavior.
We are using Qt 4.7.1 & PyQt 4.8.1 on Windows 7.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2011 bytes
Desc: not available
More information about the PyQt