jbqt 0.1.10__py3-none-any.whl → 0.1.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jbqt might be problematic. Click here for more details.
jbqt/common/consts.py
CHANGED
|
@@ -86,6 +86,12 @@ class SIZES:
|
|
|
86
86
|
ICON_XL = QSize(32, 32)
|
|
87
87
|
ICON_XXL = QSize(48, 48)
|
|
88
88
|
|
|
89
|
+
@classmethod
|
|
90
|
+
def get(cls, key: str, default: QSize | None = None) -> QSize:
|
|
91
|
+
if hasattr(cls, key):
|
|
92
|
+
return getattr(cls, key)
|
|
93
|
+
return default or cls.ICON_MD
|
|
94
|
+
|
|
89
95
|
|
|
90
96
|
def icon_dir(file_name: str) -> str:
|
|
91
97
|
if QtPaths.icon_dir:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: jbqt
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.11
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Joseph Bochinski
|
|
6
6
|
Author-email: stirgejr@gmail.com
|
|
@@ -8,7 +8,7 @@ Requires-Python: >=3.12,<4.0
|
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
10
|
Requires-Dist: fuzzywuzzy (>=0.18.0,<0.19.0)
|
|
11
|
-
Requires-Dist: jbutils (>=0.1.
|
|
11
|
+
Requires-Dist: jbutils (>=0.1.21,<0.2.0)
|
|
12
12
|
Requires-Dist: pyqt6 (>=6.9.0,<7.0.0)
|
|
13
13
|
Requires-Dist: python-levenshtein (>=0.27.1,<0.28.0)
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
jbqt/__init__.py,sha256=JThPqSDraggKWluruHIXeE1-Kzgu6zJin-IXxX1GnLg,243
|
|
2
2
|
jbqt/common/__init__.py,sha256=WkP7IRKAuScLZpGP3AgARlegLke714OlrgihUVHMHMs,317
|
|
3
|
-
jbqt/common/consts.py,sha256=
|
|
3
|
+
jbqt/common/consts.py,sha256=fidWeNfILH9VFrWWFi38oviMSqTrTuIPPxv3vQFCyWg,5860
|
|
4
4
|
jbqt/common/qt_utils.py,sha256=d81MXUIs7JTpXOaPIoGHTLZYwhry7xhCWRy9BxitlzA,2297
|
|
5
5
|
jbqt/dialogs/__init__.py,sha256=DZi-qwW75JKfTLk33bowjt9Nhn1mpOO6kmP7mSMGz0o,245
|
|
6
6
|
jbqt/dialogs/file_dialog.py,sha256=QMUxgSNt1IGLqgPgKqrEwlPjKIQ7D5qrY2cJCXmW654,1830
|
|
@@ -18,6 +18,6 @@ jbqt/widgets/multiselect.py,sha256=84DYA12FBZvBBsPqlxiWMjY8lsQN0MkpJwqYN3nyz8Y,6
|
|
|
18
18
|
jbqt/widgets/simple.py,sha256=-JVvNYiL05Ip7qSkt9rRFbdb-Jff6AbnuXPXOXdXoUw,1750
|
|
19
19
|
jbqt/widgets/toast.py,sha256=S85PgcydbmICnjSY5VR6KUG_UZv4UERjvE_mP_zE9GA,1179
|
|
20
20
|
jbqt/widgets/widget_utils.py,sha256=W8HkKJvTjGOB6wRR2D1sFzd673yEpPHNn-njjkM-1HE,2225
|
|
21
|
-
jbqt-0.1.
|
|
22
|
-
jbqt-0.1.
|
|
23
|
-
jbqt-0.1.
|
|
21
|
+
jbqt-0.1.11.dist-info/METADATA,sha256=60IcQvijSls3zLkRIuW-Ihv_Gj8UK57BiFiY80EMRrw,464
|
|
22
|
+
jbqt-0.1.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
23
|
+
jbqt-0.1.11.dist-info/RECORD,,
|
|
File without changes
|