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

Method isUpdateNeeded

QProgressBar/Lib/QStyleAnimation.py:111–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109 self._speed = speed
110
111 def isUpdateNeeded(self):
112 if super(QProgressStyleAnimation, self).isUpdateNeeded():
113 current = self.animationStep()
114 if self._step == -1 or self._step != current:
115 self._step = current
116 return True
117 return False

Callers

nothing calls this directly

Calls 2

animationStepMethod · 0.95
isUpdateNeededMethod · 0.45

Tested by

no test coverage detected