Example #1
0
 def kill_dragging(self):
     """ Remove all flags and temporary things related to dragging """
     if ctrl.dragged_focus:
         ctrl.dragged_focus.finish_dragging()
     ctrl.dragged_text = None
     ctrl.press(None)
     ctrl.set_drag_hovering(None)
     ctrl.main.ui_manager.update_touch_areas()
     self.graph_view.toggle_suppress_drag(False)
Example #2
0
 def kill_dragging(self):
     """ Remove all flags and temporary things related to dragging """
     if ctrl.dragged_focus:
         ctrl.dragged_focus.finish_dragging()
     ctrl.dragged_text = None
     ctrl.press(None)
     ctrl.set_drag_hovering(None)
     ctrl.ui.update_touch_areas()
     ctrl.graph_view.toggle_suppress_drag(False)
Example #3
0
 def mousePressEvent(self, event):
     ctrl.press(self)
     super().mousePressEvent(event)
Example #4
0
 def mousePressEvent(self, event):
     ctrl.press(self)
     super().mousePressEvent(event)
Example #5
0
 def mousePressEvent(self, event):
     ctrl.press(self)
     Movable.mousePressEvent(self, event)