Work like a miracle!
This is just what I needed.
You saved my week!
Thank you!
--
View this message in context:
http://python.6.n6.nabble.com/setapi-and-itemChange-setParentItem-related-bug-tp4984797p4984916.html
Sent from the PyQt mailing list archive at Nabble.com.
__
Hi.
When I set sip.setapi('QVariant', 2) and reimplement itemChange function
of
QGraphicsItem, setParentItem doesn't work.
I read this issue has been dealt with on this mailing list, but I guess It's
still there.
Simple code to reproduce this behavior.
--