def __init__(self,session): Label.__init__(self,text=Channel) self.timer=eTimer() self.timer_conn = self.timer.timeout.connect(self.updateChanName) self.timer.start(500) self.oldname=self.text self.pipe=MessagePipe()
def __init__(self, session): Label.__init__(self, text=Channel) self.timer = eTimer() self.timer.timeout.get().append(self.updateChanName) self.timer.start(500) self.oldname = self.text self.pipe = MessagePipe()
def __init__(self, text, cutLeft=True, replaceChar='.', replaceCharNum=4): self.maxChars = 9999 self.cutLeft = cutLeft self.replaceChar = replaceChar self.replaceCharNum = replaceCharNum self.testInstance = None Label.__init__(self, text)
def __init__(self, text=""): self.offset = 0 self.displayLength = 100 Label.__init__(self, text) self.moveTimer = eTimer() self.moveTimer.callback.append(self.doMove)
def __init__(self, text=""): self.offset = 0 self.displayLength = 100 Label.__init__(self, text) self.moveTimer = eTimer() self.moveTimer_conn = self.moveTimer.timeout.connect(self.doMove)
def __init__(self, groupTimer=None): Label.__init__(self) self.moving = False # TODO: get real values self.x = 0.0 self.y = 0.0 self.xDest = 0.0 self.yDest = 0.0 self.clearPath() self.isGroupTimer = groupTimer is not None if self.isGroupTimer: self.moveTimer = groupTimer else: self.moveTimer = eTimer() self.moveTimer.callback.append(self.doMove)
def __init__(self, text=''): Label.__init__(self, text=text) BlinkingWidget.__init__(self)