Ejemplo n.º 1
0
 def __init__(self, text='', onClick=None):
     if not onClick:
         onClick = []
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
Ejemplo n.º 2
0
 def __init__(self, path, type, update=True):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.path = path
     if update:
         self.update()
Ejemplo n.º 3
0
	def __init__(self):
		VariableText.__init__(self)
		GUIComponent.__init__(self)
		self.doClock()
		
		self.clockTimer = eTimer()
		self.clockTimer.callback.append(self.doClock)
Ejemplo n.º 4
0
Archivo: Cursor.py Proyecto: vuteam/emc
 def __init__(self, text='', onClick=[]):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
     self.onAnimationEnd = []
     self.skinSize = eSize(0, 0)
Ejemplo n.º 5
0
 def __init__(self, text = '', onClick = None):
     if not onClick:
         onClick = []
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
Ejemplo n.º 6
0
    def __init__(self):
        VariableText.__init__(self)
        GUIComponent.__init__(self)
        self.doClock()

        self.clockTimer = eTimer()
        self.clockTimer.callback.append(self.doClock)
Ejemplo n.º 7
0
	def __init__(self, path, type, update = True):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.path = path
		if update:
			self.update()
Ejemplo n.º 8
0
    def __init__(self, text=""):
        GUIComponent.__init__(self)
        VariableText.__init__(self)

        # Use DummySource to allow Label to be used in a
        # <widget source= ... /> screen skin element, but
        # without displaying anything through that element

        DummySource.__init__(self)
        self.text = text
Ejemplo n.º 9
0
 def __init__(self, text = '', maxSize = False, visible_width = False, type = TEXT, currPos = 0, allMarked = True):
     NumericalTextInput.__init__(self, self.right)
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.allmarked = allMarked and text != '' and type != self.PIN
     self.maxSize = maxSize
     self.currPos = currPos
     self.visible_width = visible_width
     self.offset = 0
     self.overwrite = maxSize
     self.setText(text)
Ejemplo n.º 10
0
 def __init__(self, text = '', maxSize = False, visible_width = False, type = TEXT, currPos = 0, allMarked = True):
     NumericalTextInput.__init__(self, self.right)
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.type = type
     self.allmarked = allMarked and text != '' and type != self.PIN
     self.maxSize = maxSize
     self.currPos = currPos
     self.visible_width = visible_width
     self.offset = 0
     self.overwrite = maxSize
     self.setText(text)
Ejemplo n.º 11
0
	def __init__(self, text="", maxSize = False, visible_width = False, type = TEXT):
		NumericalTextInput.__init__(self, self.right)
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.allmarked = (text != "") and (type != self.PIN)
		self.maxSize = maxSize
		self.currPos = 0
		self.visible_width = visible_width
		self.offset = 0
		self.overwrite = maxSize
		self.setText(text)
Ejemplo n.º 12
0
	def __init__(self, path, type, update=True, label=None):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.type = type
		self.path = path

		if self.type < self.FREE and self.type > self.SIZE:
			self.type = self.ILLEGAL
		self.label = label if label is not None else labels[self.type]

		if update:
			self.update()
Ejemplo n.º 13
0
	def __init__(self, text="", onClick = [ ]):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.setText(text)
		self.onClick = onClick
Ejemplo n.º 14
0
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)
Ejemplo n.º 15
0
 def __init__(self, text="", onClick=[]):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
     self.onClick = onClick
Ejemplo n.º 16
0
 def __init__(self, text=""):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     self.setText(text)
Ejemplo n.º 17
0
	def __init__(self, text=""):
		GUIComponent.__init__(self)
		VariableText.__init__(self)
		self.setText(text)
Ejemplo n.º 18
0
 def __init__(self, navcore, eventmap):
     GUIComponent.__init__(self)
     VariableText.__init__(self)
     PerServiceBase.__init__(self, navcore, eventmap)