Beispiel #1
0
 def __init__(self, controller, status_bar, event, direction):
     ScrollViewInputHandler.__init__(self, controller)
     self.controller = controller
     self.status_bar = status_bar
     self.event = event
     self.direction = direction
     self.timer_running = False
Beispiel #2
0
 def __init__(self, controller, initial_time):
     ScrollViewInputHandler.__init__(self, controller)
     self.controller = controller
     self.initial_time = initial_time
     self.last_valid_time = initial_time
     self.current_time = initial_time
Beispiel #3
0
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self.status_bar_adapter.set_text("")
     if self.drawing_area.timeline is not None:
         self.drawing_area.timeline._save_if_not_disabled()
     self.drawing_area.change_input_handler_to_no_op()
Beispiel #4
0
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
Beispiel #5
0
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self._clear_status_text()
     if self.controller.timeline is not None:
         self.controller.timeline._save_if_not_disabled()
     self.controller.change_input_handler_to_no_op()
Beispiel #6
0
Datei: move.py Projekt: sk/gnumed
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self.status_bar_adapter.set_text("")
     if self.drawing_area.timeline is not None:
         self.drawing_area.timeline._save_if_not_disabled()
     self.drawing_area.change_input_handler_to_no_op()
Beispiel #7
0
Datei: move.py Projekt: sk/gnumed
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
Beispiel #8
0
Datei: move.py Projekt: sk/gnumed
 def __init__(self, drawing_area, status_bar_adapter, event, start_drag_time):
     ScrollViewInputHandler.__init__(self, drawing_area)
     self.drawing_area = drawing_area
     self.status_bar_adapter = status_bar_adapter
     self.start_drag_time = start_drag_time
     self._store_event_periods(event)
Beispiel #9
0
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self._clear_status_text()
     if self.controller.timeline is not None:
         self.controller.timeline._save_if_not_disabled()
     self.controller.change_input_handler_to_no_op()
Beispiel #10
0
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self._end_action()
Beispiel #11
0
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_current_time()
Beispiel #12
0
 def __init__(self, controller, initial_time):
     ScrollViewInputHandler.__init__(self, controller)
     self.controller = controller
     self.initial_time = initial_time
     self.last_valid_time = initial_time
     self.current_time = initial_time