MCPcopy Create free account
hub / github.com/PyQt5/PyQt / updateCurrentTime

Method updateCurrentTime

QProgressBar/Lib/QStyleAnimation.py:80–85  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

78 return self.currentTime() > self._delay
79
80 def updateCurrentTime(self, _):
81 self._skip += 1
82 if self._skip >= self._fps:
83 self._skip = 0
84 if self.parent() and self.isUpdateNeeded():
85 self.updateTarget()
86
87
88class QProgressStyleAnimation(QStyleAnimation):

Callers

nothing calls this directly

Calls 2

isUpdateNeededMethod · 0.95
updateTargetMethod · 0.95

Tested by

no test coverage detected