[PyQt] QGraphicsView zoom demo

Nahuel Defossé nahueldefosse at yahoo.com.ar
Wed Nov 19 03:35:49 GMT 2008


Hi!
I have a DWG drawing which I converted to svg, I would like to display it on a 
QGraphicsView with zooming capabilities, scrolling seems natural to 
QGraphicsView, but I haven't found any example of zoom (I don't care if it's 
done with the mouse scroll or a piar of buttons).
I suspect I could provide a tranformation matrix, but I suspect there must be 
a Qtish way of doing it.
Thanks.
Nahuel


More information about the PyQt mailing list