Hi!
I'm showing some object stored in a svg file and everything works fine. The problem comes when i parent some objects. I parent some objects withand after that the child object moves from its original position. There is any way the child object not to move when i parent it?Qt Code:
child.setParentItem(parent)To copy to clipboard, switch view to plain text mode
Is it supposed the child object to take the transform from his parent? I want the objects to stay at the same positions they are on the svg file after parenting them. Any idea how to get it?
Any ideas are welcome!!!


Reply With Quote



Bookmarks