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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.13.0
3
+ Version: 0.13.1
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.13.0"
3
+ version = "0.13.1"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -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, QTimer.TimerType.PreciseTimer)
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, QTimer.TimerType.CoarseTimer)
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