Ejemplo n.º 1
0
	def changed(self, what):
		Converter.changed(self, what)
		if self.type is self.PROGRESS and len(self.downstream_elements):
			if not self.source.event and self.downstream_elements[0].visible:
				self.downstream_elements[0].visible = False
			elif self.source.event and not self.downstream_elements[0].visible:
				self.downstream_elements[0].visible = True
Ejemplo n.º 2
0
	def show_hide(self, configElement=None):
		Converter.changed(self, (self.CHANGED_ALL,))
Ejemplo n.º 3
0
	def forceChanged(self, configElement=None):
		if self.LastRotorPos != config.misc.lastrotorposition.value:
			Converter.changed(self, (self.CHANGED_ALL,))
Ejemplo n.º 4
0
 def changed(self, what):
     if what[0] is self.CHANGED_SPECIFIC:
         Converter.changed(self, what)
     elif what[0] is self.CHANGED_POLL:
         self.downstream_elements.changed(what)
Ejemplo n.º 5
0
 def changed(self, what):
     Converter.changed(self, (self.CHANGED_POLL, ))
Ejemplo n.º 6
0
	def changed(self, what):
		Converter.changed(self, (self.CHANGED_POLL,))
Ejemplo n.º 7
0
 def changed(self, what):
     if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type:
         Converter.changed(self, what)
Ejemplo n.º 8
0
 def changed(self, what):
     if what[0] is self.CHANGED_SPECIFIC:
         Converter.changed(self, what)
     elif what[0] is self.CHANGED_POLL:
         self.downstream_elements.changed(what)
Ejemplo n.º 9
0
 def changed(self, what):
     if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type:
         Converter.changed(self, what)
Ejemplo n.º 10
0
 def show_hide(self, configElement=None):
     Converter.changed(self, (self.CHANGED_ALL, ))
Ejemplo n.º 11
0
 def forceChanged(self, configElement=None):
     if self.LastRotorPos != config.misc.lastrotorposition.value:
         Converter.changed(self, (self.CHANGED_ALL, ))
Ejemplo n.º 12
0
	def changed(self, what):
		Converter.changed(self, what)
Ejemplo n.º 13
0
 def changed(self, what):
     if what[0] != self.CHANGED_SPECIFIC or what[1] == self.type:
         pondebug("changed - tipo [" + str(self.type) + "]" + "-" + str(what), self.type)
         Converter.changed(self, what)