How to enable Pan and Zoom in a QGraphicsView
问题 I am using python and Qt Designer to implement loading tiff images and to enable Pan and Zoom on some mouse event (wheel - zoom, press wheel - pan). I was looking into some options and classes that can work with images etc, and so far I have found: QGraphicsScene, QImage, QGraphicsView I have three classes (just testing) ViewerDemo which have QGraphicsView element: """description of class""" # Form implementation generated from reading ui file 'GraphicsViewdemo.ui' try: _fromUtf8 = QtCore