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

Method _onClick

QPushButton/FontRotate.py:70–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 painter.restore()
69
70 def _onClick(self):
71 if self._rotateAnimationStarted:
72 self._rotateAnimationStarted = False
73 self._rotateAnimation.stop()
74 return
75 self._rotateAnimationStarted = True
76 self._rotateAnimation.start()
77
78 def update(self, _=None):
79 super(PushButtonFont, self).update()

Callers

nothing calls this directly

Calls 2

stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected