(self, event)
Check for left mouse button presses in order to enable drag and
            drop.
Check for left mouse button presses in order to enable drag and
            drop.
Check for left mouse button presses in order to enable drag and drop .
def mousePressEvent(self, event):
        """ Check for left mouse button presses in order to enable drag and
            drop.
        """
        if event.button() == Qt.LeftButton:
            self.dragStartPosition = event.pos()
def mousePressEvent ( self , event ) : if event . button ( ) == Qt . LeftButton : self . dragStartPosition = event . pos ( )