def setColor(self, color, finished=True): self._color = functions.mkColor(color) if finished: self.sigColorChanged.emit(self) else: self.sigColorChanging.emit(self) self.update()
def color(self): return functions.mkColor(self._color)