I've starting experimenting with QGraphicsScene, QGraphicsView, and have a problem I don't understand. I can move a QGraphicsItem with the mouse, but it can be moved outside of the scene (sceneRect?). I noticed this when I zoom out to see the whole scene. Is there a way to keep the item inside the scene?
Bookmarks