def METHOD_NAME(self, ev):
    if ev.button() == Qt.LeftButton:
        if ev.modifiers() & Qt.ControlModifier:
            self._mode = MOVE
        else:
            self._mode = DRAG
        self._startpos = ev.globalPos()