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

Method updateTarget

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

Source from the content-addressed store, hash-verified

64 self._fps = fps
65
66 def updateTarget(self):
67 event = QEvent(QEvent.Type(StyleAnimationUpdate))
68 event.setAccepted(False)
69 QCoreApplication.sendEvent(self.target(), event)
70 if not event.isAccepted():
71 self.stop()
72
73 def start(self):
74 self._skip = 0

Callers 1

updateCurrentTimeMethod · 0.95

Calls 2

targetMethod · 0.95
stopMethod · 0.45

Tested by

no test coverage detected