pyloid 0.13.0__py3-none-any.whl → 0.13.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
pyloid/timer.py
CHANGED
@@ -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)
|
@@ -5,10 +5,10 @@ pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,389
|
|
5
5
|
pyloid/filewatcher.py,sha256=n8N56D65le5TpsgxXb7z-FO_0lqv4UYD4yGq_UuMrAs,1285
|
6
6
|
pyloid/monitor.py,sha256=fqDnZ_7dpxVZLVJ5gCluDRY2USrQ5YL_fw1AnYivhsk,12741
|
7
7
|
pyloid/pyloid.py,sha256=Fj60bHP6x9_GPCxWSB97t21VwzdDjQmhf_RIWzc4_k0,53585
|
8
|
-
pyloid/timer.py,sha256=
|
8
|
+
pyloid/timer.py,sha256=ol4Pg9zj4-6F1QrsUac4hQU8U-vEgGvNhRAlauo3xlE,4356
|
9
9
|
pyloid/tray.py,sha256=rXgdkvzGxtie_EIcTSA7fjuta4nJk5THhNkGFcfv5Ew,634
|
10
10
|
pyloid/utils.py,sha256=DQerZWU_0o8dHcJ5y3yXf9i5OXn7KQZqU-hVBq3uPUA,711
|
11
|
-
pyloid-0.13.
|
12
|
-
pyloid-0.13.
|
13
|
-
pyloid-0.13.
|
14
|
-
pyloid-0.13.
|
11
|
+
pyloid-0.13.1.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
12
|
+
pyloid-0.13.1.dist-info/METADATA,sha256=huXfCWoT2qB6Krd0c5CfqbIuRXyGOsKOdNKU3_M-FVg,3634
|
13
|
+
pyloid-0.13.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
14
|
+
pyloid-0.13.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|