For the QGraphicsScene::sceneRect, there are two possible evolutions:
- either you do not set the sceneRect explicitly, and it will grow as needed, in order to contain all items, but it never shrinks
- or you set the sceneRect explicitly, and it does no longer evolve as items are added/moved
What I need is that it grows automatically, but also shrinks automatically.
Or as a workaround, I would like to set it explicitly to the current boundingrectangle, without stopping future automatic grows...
Can I realize this?
Bookmarks