(self, *args, **kwargs)
| 188 | """Subclass of `.TimerBase` using QTimer events.""" |
| 189 | |
| 190 | def __init__(self, *args, **kwargs): |
| 191 | # Create a new timer and connect the timeout() signal to the |
| 192 | # _on_timer method. |
| 193 | self._timer = QtCore.QTimer() |
| 194 | self._timer.timeout.connect(self._on_timer) |
| 195 | super().__init__(*args, **kwargs) |
| 196 | |
| 197 | def __del__(self): |
| 198 | # The check for deletedness is needed to avoid an error at animation |