code: def mouseMoveEvent(self, event):
          
          #if event.buttons() & Qt.LeftButton and self._drag_origin is not None:
              #dist = (event.pos() - self._drag_origin).manhattanLength()
              #if dist >= QApplication.startDragDistance():
                  #self.do_drag(event.widget())
                  #self._drag_origin = None
                  #return # Don't returns
          widget = self.widget
          type(widget).mouseMoveEvent(widget, event)
docs: Handle the mouse move event for a drag operation.