How would I set up the visible rectangle of QGraphicsView in term of scene coordiation system? I want to simulate the action of zoom-window in CAD system.
How would I set up the visible rectangle of QGraphicsView in term of scene coordiation system? I want to simulate the action of zoom-window in CAD system.
A casual glance at the documentation for QGraphicsView would show you that there is a setSceneRect() method...
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks