pyloid 0.13.0__tar.gz → 0.13.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyloid-0.13.0 → pyloid-0.13.1}/PKG-INFO +1 -1
- {pyloid-0.13.0 → pyloid-0.13.1}/pyproject.toml +1 -1
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/timer.py +3 -3
- {pyloid-0.13.0 → pyloid-0.13.1}/LICENSE +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/README.md +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/__init__.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/api.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/autostart.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/monitor.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/tray.py +0 -0
- {pyloid-0.13.0 → pyloid-0.13.1}/src/pyloid/utils.py +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
from PySide6.QtCore import QTimer, QObject
|
1
|
+
from PySide6.QtCore import QTimer, QObject, Qt
|
2
2
|
|
3
3
|
class PyloidTimer(QObject):
|
4
4
|
def __init__(self):
|
@@ -94,7 +94,7 @@ class PyloidTimer(QObject):
|
|
94
94
|
:param callback: 실행할 콜백 함수
|
95
95
|
:return: 타이머 ID
|
96
96
|
"""
|
97
|
-
return self._create_timer_with_type(interval, callback,
|
97
|
+
return self._create_timer_with_type(interval, callback, Qt.TimerType.PreciseTimer)
|
98
98
|
|
99
99
|
def start_coarse_periodic_timer(self, interval, callback):
|
100
100
|
"""
|
@@ -104,7 +104,7 @@ class PyloidTimer(QObject):
|
|
104
104
|
:param callback: 실행할 콜백 함수
|
105
105
|
:return: 타이머 ID
|
106
106
|
"""
|
107
|
-
return self._create_timer_with_type(interval, callback,
|
107
|
+
return self._create_timer_with_type(interval, callback, Qt.TimerType.CoarseTimer)
|
108
108
|
|
109
109
|
def _create_timer_with_type(self, interval, callback, timer_type, auto_remove=False):
|
110
110
|
timer = QTimer(self)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|