def __init__(self, action_callback, parent=None): ''' start can be overridden with a timedelta or numeric milliseconds ''' QTimer.__init__(self, parent) self.do_action = action_callback self.timeout.connect(self.do_action)
def __init__(self, target, task, indicator): QTimer.__init__(self, target) self.timeout.connect(self.onTimeout) self.target = target self.task = task self.indicator = indicator self.onBreak = False self.counter = PauseableTimer.DUR
def __init__(self, parent=None): QTimer.__init__(self, parent=parent) self.setInterval(1000) self._start_time = 0.0 self._previous_track_time = 0.0 self._previous_rec_time = 0.0
def __init__(self, parent=None): QTimer.__init__(self, parent) self.startTime = 0 self.interval = 0 self.is_started = False self.is_paused = False
def __init__(self): QTimer.__init__(self)
def _init_(self, parent=None, name=""): QTimer.__init__(self, parent, name) self.startTime = 0 self.interval = 0
def __init__(self): QTimer.__init__(self) self.start_time = 0 self.elapsed_time = 0
def __init__(self, parent=None): QTimer.__init__(self, parent) self.startTime = 0 self.interval = 0