jbqt 0.1.10__tar.gz → 0.1.11__tar.gz
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-0.1.10 → jbqt-0.1.11}/PKG-INFO +2 -2
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/common/consts.py +6 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/pyproject.toml +2 -2
- {jbqt-0.1.10 → jbqt-0.1.11}/README.md +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/common/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/common/qt_utils.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/dialogs/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/dialogs/file_dialog.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/dialogs/input_form.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/dialogs/text_preview.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/models/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/models/chip_button.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/models/chips.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/types/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/view_icons.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/__init__.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/chip_button.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/chips.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/multiselect.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/simple.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/toast.py +0 -0
- {jbqt-0.1.10 → jbqt-0.1.11}/jbqt/widgets/widget_utils.py +0 -0
|
@@ -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
|
|
@@ -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:
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "jbqt"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.11"
|
|
8
8
|
description = ""
|
|
9
9
|
authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
|
|
10
10
|
readme = "README.md"
|
|
@@ -14,4 +14,4 @@ python = "^3.12"
|
|
|
14
14
|
pyqt6 = "^6.9.0"
|
|
15
15
|
fuzzywuzzy = "^0.18.0"
|
|
16
16
|
python-levenshtein = "^0.27.1"
|
|
17
|
-
jbutils = "^0.1.
|
|
17
|
+
jbutils = "^0.1.21"
|
|
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
|
|
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
|