def mousePressEvent(self, event):
        """saves the drag position, so we know when a drag should be initiated"""
        super(AbstractDragView, self).mousePressEvent(event)
        self.dragStartPosition = event.pos()
def mousePressEvent ( self , event ) : super ( AbstractDragView , self ) . mousePressEvent ( event ) self . dragStartPosition = event . pos ( )
saves the drag position, so we know when a drag should be initiated