Hai,
I have a QLabel and in that an image. I want to zoom the image to the center using mouse.How can I do this?
Thanks.
Hai,
I have a QLabel and in that an image. I want to zoom the image to the center using mouse.How can I do this?
Thanks.
Hi!
You can see the QT example ImageViewer. This example zoom the image to the center of the scroll bar. I don't know how can you center on the mouse position with QLabel.
I center on the mouse position (google maps like) with QGrapthicsView and QGraphicsScene. My code is based on the QT example sgvViewer.
I hope it help you.![]()
Bookmarks