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.

Thanks,
Aron

Attachment: test_set_parent.py
Description: Binary data

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to