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
def placeChildren(self, space): TextCell.placeChildren(self, space) self.getChild().setBrush(QColor("red"))