(self)
| 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() |