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

Method updateValue

QProgressBar/WaterProgressBar.py:115–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113 self.bar.setValue(randint(0, 100))
114
115 def updateValue(self):
116 value = self.bar.value() + 1
117 if value > self.bar.maximum():
118 value = 0
119 self.bar.setValue(value)
120
121
122if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

valueMethod · 0.80
setValueMethod · 0.80

Tested by

no test coverage detected