On 8 August 2018 at 11:08, Patrick Stinson <patrickk...@gmail.com> wrote:
> Hello!
>
> I am trying to change the parent of a QGraphicsItem without it appearing to 
> move or change size on the scene. Both the item, old parent, and new have 
> arbitrary scale values set. How can this be done?

If you grab the item's sceneTransform() before re-parenting, you
should be able to deduce it's new local transform from it's new parent
sceneTransform().


>
> Thanks!
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to