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

Method start

QPushButton/BottomLineProgress.py:76–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 * self._percent, self.height())
75
76 def start(self):
77 if hasattr(self, "loadingThread"):
78 return self.stop()
79 self.loadingThread = LoadingThread(self)
80 self.loadingThread.valueChanged.connect(self.setPercent)
81 self._timer.start(100) # 100ms
82 self.loadingThread.start()
83 self.setText(self._waitText)
84
85 def stop(self):
86 try:

Callers 15

__init__Method · 0.45
__init__Method · 0.45
_setValueMethod · 0.45
_setDataMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
__init__Method · 0.45
QuitThread.pyFile · 0.45
onStartMethod · 0.45
enterEventMethod · 0.45
enterEventMethod · 0.45
leaveEventMethod · 0.45

Calls 3

stopMethod · 0.95
LoadingThreadClass · 0.85
setTextMethod · 0.45

Tested by

no test coverage detected