MCPcopy
hub / github.com/PyQt5/PyQt / __init__

Method __init__

Demo/WindowNotify.py:27–32  ·  view source on GitHub ↗
(self, title="", content="", timeout=5000, *args, **kwargs)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 4

setTitleMethod · 0.95
_initMethod · 0.95
setContentMethod · 0.80
setupUiMethod · 0.45

Tested by

no test coverage detected