QRubberBand move on QGraphicsView after resizing
问题 I have the same problem from this topic: QRubberBand move when I resize window, after a few try I realized that solution from this topic doesn't apply on QGraphics View. Why my selection move, arout QgraphicsView when I resize window. import sys from PyQt5 import QtCore, QtGui, QtWidgets # from PyQt4 import QtCore, QtWidgets class ResizableRubberBand(QtWidgets.QGraphicsView): def __init__(self, parent=None): super(ResizableRubberBand, self).__init__(parent) self.draggable = False self