def __init__(self, navcore, type): object.__init__(self) self.updateTimer = eTimer() self.updateTimer.callback.append(self.update) PerServiceDisplay.__init__(self, navcore, {iPlayableService.evStart: self.newService, iPlayableService.evEnd: self.stopEvent}) self.type = type self.relative_base = 0
def __init__(self, navcore, type): PerServiceDisplay.__init__( self, navcore, { iPlayableService.evStart: self.newService, iPlayableService.evEnd: self.stopEvent }) self.updateTimer = eTimer() self.updateTimer.callback.append(self.update) self.type = type self.relative_base = 0
def __init__(self, navcore, type): object.__init__(self) self.updateTimer = eTimer() self.updateTimer_conn = self.updateTimer.timeout.connect(self.update) PerServiceDisplay.__init__(self, navcore, { iPlayableService.evStart: self.newService, iPlayableService.evEnd: self.stopEvent }) self.type = type self.relative_base = 0
def __init__(self, navcore, type): object.__init__(self) self.updateTimer = eTimer() self.updateTimer_conn = self.updateTimer.timeout.connect(self.update) PerServiceDisplay.__init__( self, navcore, { iPlayableService.evStart: self.newService, iPlayableService.evEnd: self.stopEvent }) self.type = type self.relative_base = 0