code: def mousePressEvent(self, event):
          
          self.declaration.mouse_press_event(event)
          super(QtGraphicsView, self).mousePressEvent(event)
docs: Handle the mouse press event for a drag operation.