code: def mouseReleaseEvent(self, event):
          
          self.declaration.mouse_release_event(event)
          super(QtGraphicsView, self).mouseReleaseEvent(event)
docs: Handle the mouse release event for the drag operation.