(self)
| 23 | bgChanged = pyqtSignal(str, str) |
| 24 | |
| 25 | def __init__(self): |
| 26 | super(Window, self).__init__("QSS") |
| 27 | self._textColor = "" |
| 28 | self._backgroundColor = "" |
| 29 | self.clicked.connect(self.onClick) |
| 30 | self.bgChanged.connect(lambda old, new: print( |
| 31 | "old bg color", old, "new bg color", new)) |
| 32 | |
| 33 | def onClick(self): |
| 34 | print("textColor", self._textColor) |
nothing calls this directly
no outgoing calls
no test coverage detected