[Qt-interest] Query on QGraphicsPixMapItem parent child behaviour
aviral.shukla at nokia.com
aviral.shukla at nokia.com
Thu May 28 22:46:47 CEST 2009
Hi
I have created my custom
Class Xitem:public QObject, public QGraphicsPixmapItem
And I have created two XItems (pxItem, cxItem) and am rotating pxItem ...at the same time since cxItem is child of pxItem it also rotates which is desired but the
Child item rotates about parent s centre point ..which I don't want I want parent child relationship so moving pxItem can move cxItem etc and both to rotate about their individual central Points.
Any suggestion is welcome .
Thanks
Aviral.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090528/c1bd85ce/attachment.html
More information about the Qt-interest-old
mailing list