MCPcopy Index your code
hub / github.com/PyQt5/PyQt / __init__

Method __init__

QPushButton/BottomLineProgress.py:53–59  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

51 lineColor = QColor(0, 150, 136)
52
53 def __init__(self, *args, **kwargs):
54 self._waitText = kwargs.pop("waitText", "等待中")
55 super(PushButtonLine, self).__init__(*args, **kwargs)
56 self._text = self.text()
57 self._percent = 0
58 self._timer = QTimer(self, timeout=self.update)
59 self.clicked.connect(self.start)
60
61 def __del__(self):
62 self.stop()

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
textMethod · 0.45

Tested by

no test coverage detected