Exemplo n.º 1
0
Arquivo: resize.py Projeto: sk/gnumed
 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
Exemplo n.º 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
Exemplo n.º 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()
Exemplo n.º 4
0
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
Exemplo n.º 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()
Exemplo n.º 6
0
Arquivo: move.py Projeto: 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()
Exemplo n.º 7
0
Arquivo: move.py Projeto: sk/gnumed
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
Exemplo n.º 8
0
Arquivo: move.py Projeto: 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)
Exemplo n.º 9
0
Arquivo: resize.py Projeto: sk/gnumed
 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()
Exemplo n.º 10
0
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self._end_action()
Exemplo n.º 11
0
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_current_time()
Exemplo n.º 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