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

Method set_reset

QtWinExtras/TaskbarProgress.py:135–141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 self.sender().setText('恢复')
134
135 def set_reset(self):
136 # 重置
137 self.taskProgress.reset()
138 paused = self.taskProgress.isPaused()
139 if not paused:
140 self.timerProgress.stop()
141 self.timerProgress.start(100)
142
143 def set_stop(self):
144 # 停止

Callers

nothing calls this directly

Calls 3

resetMethod · 0.80
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected