Solved Zoom in QGraphicsView
-
Hi Qt Community ,
How do I zoom in/out in a QGraphicsView ?
(Ofcourse , my QGraphicsScene is wide enough .)Sorry for the short post .
-
@Walux
using QTransform and do scaling on it. Then set the trasnformation on the view (QGraphicsView::setTransform()). -
You can also directly use
QGraphicsView::scale()
. -
They're all good answers :)
Thank you very much :)