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

Method __init__

QProgressBar/Lib/QStyleAnimation.py:90–93  ·  view source on GitHub ↗
(self, speed, *args, **kwargs)

Source from the content-addressed store, hash-verified

88class QProgressStyleAnimation(QStyleAnimation):
89
90 def __init__(self, speed, *args, **kwargs):
91 super(QProgressStyleAnimation, self).__init__(*args, **kwargs)
92 self._speed = speed
93 self._step = -1
94
95 def animationStep(self):
96 return self.currentTime() / (1000.0 / self._speed)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected