Hi,
I have a 2 custom QGraphicsItem say MainGraphicsItem and AttachedGraphicsItem.
MainGraphicsItem has many children of type AttachedGraphicsItem (MainGraphicsItem is the parent AttachedGraphicsItem)
All these items are in a scene (the scene expands automatically).
Consider MainGraphicsItem as a rectangle and AttachedGraphicsItem as a small circle. They are arranged as shown in the attached image.
1.PNG
Now when I move MainGraphicsItem to the right edge of the scene the AttachedGraphicsItem go out of the scene and are not visible. (Please see pic 2)
2.PNG
The scene doesn't expand in this case.
Can you please resolve the issue.
Bookmarks