(self, title="", content="", timeout=5000, *args, **kwargs)
| 25 | SignalClosed = pyqtSignal() # 弹窗关闭信号 |
| 26 | |
| 27 | def __init__(self, title="", content="", timeout=5000, *args, **kwargs): |
| 28 | super(WindowNotify, self).__init__(*args, **kwargs) |
| 29 | self.setupUi(self) |
| 30 | self.setTitle(title).setContent(content) |
| 31 | self._timeout = timeout |
| 32 | self._init() |
| 33 | |
| 34 | def setTitle(self, title): |
| 35 | if title: |
nothing calls this directly
no test coverage detected