Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ updateProgress
Method
updateProgress
QProgressBar/WaterProgress.py:40–45 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
38
self.timer.start(50)
39
40
def
updateProgress(self):
41
value = self.progress.value()
42
if
value == 100:
43
self.progress.setValue(0)
44
else
:
45
self.progress.setValue(value + 1)
46
47
48
if
__name__ ==
'__main__'
:
Callers
nothing calls this directly
Calls
2
value
Method · 0.80
setValue
Method · 0.80
Tested by
no test coverage detected