예제 #1
0
파일: resize.py 프로젝트: 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
예제 #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
예제 #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()
예제 #4
0
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
예제 #5
0
파일: resize.py 프로젝트: jeromecc/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()
예제 #6
0
파일: move.py 프로젝트: 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()
예제 #7
0
파일: move.py 프로젝트: sk/gnumed
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_event()
예제 #8
0
파일: move.py 프로젝트: 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)
예제 #9
0
파일: resize.py 프로젝트: 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()
예제 #10
0
파일: periodbase.py 프로젝트: sk/gnumed
 def left_mouse_up(self):
     ScrollViewInputHandler.left_mouse_up(self)
     self._end_action()
예제 #11
0
파일: periodbase.py 프로젝트: sk/gnumed
 def mouse_moved(self, x, y, alt_down=False):
     ScrollViewInputHandler.mouse_moved(self, x, y, alt_down)
     self._move_current_time()
예제 #12
0
파일: periodbase.py 프로젝트: sk/gnumed
 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