PDA

View Full Version : How to set up visible rectangle of QGraphicsView?



itta
17th June 2016, 04:00
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.

d_stranz
24th June 2016, 04:32
A casual glance at the documentation for QGraphicsView would show you that there is a setSceneRect() method...