Python-FastUI-Widgets 1.0.0__py3-none-any.whl → 1.0.2__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.
- fastuiwidgets/__init__.py +1 -1
- fastuiwidgets/_rc/resource.py +1505 -1506
- fastuiwidgets/common/config.py +6 -9
- {python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/METADATA +2 -2
- {python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/RECORD +8 -8
- {python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/WHEEL +0 -0
- {python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/top_level.txt +0 -0
fastuiwidgets/common/config.py
CHANGED
@@ -12,9 +12,6 @@ from PySide6.QtGui import QColor
|
|
12
12
|
from .exception_handler import exceptionHandler
|
13
13
|
|
14
14
|
|
15
|
-
ALERT = "\n\033[1;33m📢 Tips:\033[0m QFluentWidgets Pro is now released. Click \033[1;96mhttps://fastuiwidgets.com/pages/pro\033[0m to learn more about it.\n"
|
16
|
-
|
17
|
-
|
18
15
|
class Theme(Enum):
|
19
16
|
""" Theme enumeration """
|
20
17
|
|
@@ -266,8 +263,8 @@ class QConfig(QObject):
|
|
266
263
|
themeColorChanged = Signal(QColor)
|
267
264
|
|
268
265
|
themeMode = OptionsConfigItem(
|
269
|
-
"
|
270
|
-
themeColor = ColorConfigItem("
|
266
|
+
"FASTUIWidgets", "ThemeMode", Theme.LIGHT, OptionsValidator(Theme), EnumSerializer(Theme))
|
267
|
+
themeColor = ColorConfigItem("FASTUIWidgets", "ThemeColor", '#009faa')
|
271
268
|
|
272
269
|
def __init__(self):
|
273
270
|
super().__init__()
|
@@ -404,10 +401,10 @@ class QConfig(QObject):
|
|
404
401
|
|
405
402
|
|
406
403
|
qconfig = QConfig()
|
407
|
-
try:
|
408
|
-
|
409
|
-
except UnicodeEncodeError:
|
410
|
-
|
404
|
+
# try:
|
405
|
+
# print(ALERT)
|
406
|
+
# except UnicodeEncodeError:
|
407
|
+
# print(ALERT.replace("📢", ""))
|
411
408
|
|
412
409
|
|
413
410
|
def isDarkTheme():
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Python-FastUI-Widgets
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.2
|
4
4
|
Summary: FastUI on PySide6
|
5
5
|
Author: NumBNN
|
6
6
|
Author-email: NumBNN@outlook.com
|
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
|
|
10
10
|
Description-Content-Type: text/markdown
|
11
11
|
License-File: LICENSE
|
12
12
|
Requires-Dist: PySide6>=6.4.2
|
13
|
-
Requires-Dist: Python-FastUI-Window>=1.0.
|
13
|
+
Requires-Dist: Python-FastUI-Window>=1.0.2
|
14
14
|
Requires-Dist: darkdetect
|
15
15
|
Provides-Extra: full
|
16
16
|
Requires-Dist: scipy; extra == "full"
|
@@ -1,11 +1,11 @@
|
|
1
|
-
fastuiwidgets/__init__.py,sha256=
|
1
|
+
fastuiwidgets/__init__.py,sha256=UiVJ3yY7BZ8uA7hYTmwhX6zY-Vp_JcbcrUQq0xIonIY,205
|
2
2
|
fastuiwidgets/_rc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
fastuiwidgets/_rc/resource.py,sha256=
|
3
|
+
fastuiwidgets/_rc/resource.py,sha256=GyjSNcXTZPzr9SknfZnv_3hkHSwswzjUpcwLjHTq3RQ,3298282
|
4
4
|
fastuiwidgets/common/__init__.py,sha256=ebfGCc2vr_z3mrEw3RnKUdQNSX6x3yIrLH8GqUX7pfk,752
|
5
5
|
fastuiwidgets/common/animation.py,sha256=SM95AwAfByBs208KLZgTSf7cK2hwfoos3yYeHF4kS38,15208
|
6
6
|
fastuiwidgets/common/auto_wrap.py,sha256=RZBeDQRf2lkUP4dB2qrcSWKZEyN8ODNTAahzFxC_iaQ,4742
|
7
7
|
fastuiwidgets/common/color.py,sha256=xRRGQIJG9q7IsaR-NY0kK6wJR6JmL75eAwnbwRebV-U,2537
|
8
|
-
fastuiwidgets/common/config.py,sha256=
|
8
|
+
fastuiwidgets/common/config.py,sha256=TgFZk9Sj-0WxER5gN7Svrm4vLyk3XrkYznhp9QSs428,11176
|
9
9
|
fastuiwidgets/common/exception_handler.py,sha256=2JmttjQTkzRBSvq5PEkiPt_l-svzqy666lZT5ZeaxRc,675
|
10
10
|
fastuiwidgets/common/font.py,sha256=J2ZDqTWpTppEJkPY-WD1OIRS27DClIaxE95eHQxPDMQ,807
|
11
11
|
fastuiwidgets/common/icon.py,sha256=-FCFdsUtGuJXUpX184HPvLhIpCkR4y-nVPilsQotUsc,19950
|
@@ -100,8 +100,8 @@ fastuiwidgets/window/__init__.py,sha256=dCblkYg5DWVcsUNGpwNVrqyy5QixsbXVVNa-w0if
|
|
100
100
|
fastuiwidgets/window/fluent_window.py,sha256=fG-5GNTUfydfSupSN_q9Ia5DP3_10FsIuhZwdROCT1E,14756
|
101
101
|
fastuiwidgets/window/splash_screen.py,sha256=5IA9ra2hpCUsnMOlUHgVrRATBBwFqIIUePz7NAXbLd0,2913
|
102
102
|
fastuiwidgets/window/stacked_widget.py,sha256=ZOganjayU0x4bcECl9plKXyeG5_V2juwIwMYDPbnFHw,2033
|
103
|
-
python_fastui_widgets-1.0.
|
104
|
-
python_fastui_widgets-1.0.
|
105
|
-
python_fastui_widgets-1.0.
|
106
|
-
python_fastui_widgets-1.0.
|
107
|
-
python_fastui_widgets-1.0.
|
103
|
+
python_fastui_widgets-1.0.2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
104
|
+
python_fastui_widgets-1.0.2.dist-info/METADATA,sha256=8iYvZAZSh-YXBgrxbuTBUl-M3CNnkmtQdHe2fiHRmyY,831
|
105
|
+
python_fastui_widgets-1.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
106
|
+
python_fastui_widgets-1.0.2.dist-info/top_level.txt,sha256=QDLqWF-f2nLkGyDmHLEX5Y-xfJjHjywJm0CXoYr_exY,14
|
107
|
+
python_fastui_widgets-1.0.2.dist-info/RECORD,,
|
File without changes
|
{python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{python_fastui_widgets-1.0.0.dist-info → python_fastui_widgets-1.0.2.dist-info}/top_level.txt
RENAMED
File without changes
|