コード例 #1
0
ファイル: system.py プロジェクト: arne-cl/Dimscape
	def placeChildren(self, space):
		TextCell.placeChildren(self, space)
		msg, fun, args = self.data
		if callable(fun):
			self.execute = lambda: fun(*args)
		else:
			self.execute = lambda: 0
コード例 #2
0
ファイル: system.py プロジェクト: arne-cl/Dimscape
 def placeChildren(self, space):
     TextCell.placeChildren(self, space)
     msg, fun, args = self.data
     if callable(fun):
         self.execute = lambda: fun(*args)
     else:
         self.execute = lambda: 0
コード例 #3
0
ファイル: system.py プロジェクト: arne-cl/Dimscape
	def placeChildren(self, space):
		TextCell.placeChildren(self, space)
		self.getChild().setBrush(QColor("red"))
コード例 #4
0
ファイル: system.py プロジェクト: arne-cl/Dimscape
 def placeChildren(self, space):
     TextCell.placeChildren(self, space)
     self.getChild().setBrush(QColor("red"))