Timer
Sub classes
| Name | Children | Inherits |
|---|---|---|
AnimationTimerprettyqt.animations.fx Timer with animation attached. |
Base classes
| Name | Children | Inherits |
|---|---|---|
| ObjectMixin prettyqt.core.object |
||
| QTimer PySide6.QtCore QTimer(self, /, parent: PySide6.QtCore.QObject | None \= None, *, singleShot: bool | None \= None, interval: int | None \= None, remainingTime: int | None \= None, timerType: PySide6.QtCore.Qt.TimerType | None \= None, active: bool | None \= None) -> None |
⋔ Inheritance diagram
graph TD
1921634693["core.Timer"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
1876392759["QtCore.QTimer"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
3227531497 --> 1921634693
2751680898 --> 3227531497
1876392759 --> 1921634693
3984060476 --> 1876392759
37984305 --> 3984060476
2751680898 --> 37984305
🛈 DocStrings
Bases: ObjectMixin, QTimer
Repetitive and single-shot timers.
Source code in prettyqt/core/timer.py
get_type() -> constants.TimerTypeStr
set_type(typ: constants.TimerTypeStr | constants.TimerType)
Set the timer type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
typ
|
TimerTypeStr | TimerType
|
timer type |
required |