예제 #1
0
    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)
예제 #2
0
 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
예제 #3
0
파일: core.py 프로젝트: quitejonny/godirec
 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
예제 #4
0
 def __init__(self, parent=None):
     QTimer.__init__(self, parent)
     self.startTime = 0
     self.interval = 0
     self.is_started = False
     self.is_paused = False
예제 #5
0
 def __init__(self):
     QTimer.__init__(self)
예제 #6
0
    def _init_(self, parent=None, name=""):
        QTimer.__init__(self, parent, name)

        self.startTime = 0
        self.interval = 0
예제 #7
0
파일: common.py 프로젝트: aberrier/ethera
 def __init__(self):
     QTimer.__init__(self)
     self.start_time = 0
     self.elapsed_time = 0
예제 #8
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, parent=None):
     QTimer.__init__(self, parent)
     self.startTime = 0
     self.interval = 0