PyQt4: Graphics View and Pixmap Size
问题 I'm developing a GUI using QTDesigner for some image processing tasks. I have two graphic views beneath each other in a grid layout. Both should display an image and later on I will add overlays. I create my Pixmap img_pixmap and add it to my Scene. This scene is then added to my graphics view. Since my image is much larger than my screen size I apply fitInView() . In code: self.img_pixmap_p = self.img_scene.addPixmap(img_pixmap) self.img_view.setScene(self.img_scene) self.img_scene