Python-FastUI-Widgets 1.0.2__tar.gz → 1.0.3__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.
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/PKG-INFO +1 -1
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/Python_FastUI_Widgets.egg-info/PKG-INFO +1 -1
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/__init__.py +2 -1
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/_rc/resource.py +96 -97
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/navigation_interface.py +2 -2
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/navigation_panel.py +24 -19
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/navigation_widget.py +42 -22
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/tab_view.py +35 -34
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/fluent_window.py +12 -8
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/stacked_widget.py +2 -2
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/setup.py +1 -1
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/LICENSE +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/Python_FastUI_Widgets.egg-info/SOURCES.txt +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/Python_FastUI_Widgets.egg-info/dependency_links.txt +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/Python_FastUI_Widgets.egg-info/requires.txt +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/Python_FastUI_Widgets.egg-info/top_level.txt +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/README.md +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/_rc/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/animation.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/auto_wrap.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/color.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/config.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/exception_handler.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/font.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/icon.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/image_utils.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/overload.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/router.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/screen.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/smooth_scroll.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/style_sheet.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/theme_listener.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/translator.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/calendar_picker.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/calendar_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/date_picker.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/fast_calendar_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/picker_base.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/date_time/time_picker.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/color_dialog.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/dialog.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/folder_list_dialog.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/mask_dialog_base.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/message_box_base.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/dialog_box/message_dialog.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/layout/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/layout/expand_layout.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/layout/flow_layout.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/layout/v_box_layout.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_combo_box.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_flyout.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_line_edit.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_menu.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_tool_tip.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/material/acrylic_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/breadcrumb.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/navigation_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/pivot.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/navigation/segmented_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/custom_color_setting_card.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/expand_setting_card.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/folder_list_setting_card.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/options_setting_card.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/setting_card.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/settings/setting_card_group.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/acrylic_label.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/button.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/card_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/check_box.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/combo_box.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/command_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/cycle_list_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/flip_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/flyout.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/frameless_window.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/icon_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/info_badge.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/info_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/label.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/line_edit.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/list_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/menu.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/pips_pager.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/progress_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/progress_ring.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/scroll_area.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/scroll_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/separator.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/slider.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/spin_box.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/stacked_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/state_tool_tip.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/switch_button.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/table_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/teaching_tip.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/tool_tip.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/tree_view.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/media_play_bar.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/media_player.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/video_widget.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/__init__.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/splash_screen.py +0 -0
- {python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/setup.cfg +0 -0
|
@@ -94025,35 +94025,35 @@ Ro\xdb\xd7~\x97m\xef\xce\x87\x83\x17U\x0e\x84\xb4\
|
|
|
94025
94025
|
\xa4\xf2\xdf\x9fH1Rt\xd8FKD\x0b\xd35t\
|
|
94026
94026
|
Y\xf0%\xd9\x0d\xc6\x99\xec\xd6\x8b\xed\xee\xdfI\xe8\xe9\
|
|
94027
94027
|
\xbb\
|
|
94028
|
-
\x00\x00\x01\
|
|
94028
|
+
\x00\x00\x01\xa4\
|
|
94029
94029
|
\x00\
|
|
94030
|
-
\x00\x06\
|
|
94031
|
-
\
|
|
94032
|
-
|
|
94033
|
-
f\
|
|
94034
|
-
|
|
94035
|
-
\
|
|
94036
|
-
\
|
|
94037
|
-
|
|
94038
|
-
|
|
94039
|
-
|
|
94040
|
-
\
|
|
94041
|
-
\
|
|
94042
|
-
\
|
|
94043
|
-
\
|
|
94044
|
-
\
|
|
94045
|
-
\
|
|
94046
|
-
\
|
|
94047
|
-
|
|
94048
|
-
\
|
|
94049
|
-
\
|
|
94050
|
-
\
|
|
94051
|
-
\
|
|
94052
|
-
|
|
94053
|
-
|
|
94054
|
-
\
|
|
94055
|
-
|
|
94056
|
-
|
|
94030
|
+
\x00\x06\x0cx\xda\xedS]K\xc30\x14}\x1f\xec?\
|
|
94031
|
+
\x04|\x98\x83V\xbaIE6\xdc\xc3\x06CAA\xa9\
|
|
94032
|
+
2D|H\x97\xbb\x1a\xccrc\x92\xeaT\xf6\xdf\xcd\
|
|
94033
|
+
f\xbbuv_ \xbeYJ\xc9\xc79\xe7\x9e{\x9a\
|
|
94034
|
+
D\x96\x0e\x9f\x81\x0d8K\xc0\x92\xcfj\x85\xb8'F\
|
|
94035
|
+
\xcd@\xb7HCM\x88A\xc1\x19\xd1IL\x0f\x03\x8f\
|
|
94036
|
+
d\xefQprZo\x17\xc1\xbe\xe6\xc9\x93m\x11\x89\
|
|
94037
|
+
\x12V7b\xb4\x16\xc7\xebv,*_\xc0\xc8\xfa\x9a\
|
|
94038
|
+
2\x9e\x9a\x16\x09\xd4$G8W\x89\xc6T2\x7f\x88\
|
|
94039
|
+
\x02\x9d\x97\xb9\x83f\x18zd\xf9\x09\x8e\xc2\x99\x8bi\
|
|
94040
|
+
\xb5R\xadD\xc5F\x1e\xb8\xb9\xd5T\x1aE5H{\
|
|
94041
|
+
fu\x0a\x8f\x8b\xe6J\xd2v\x09m\xaf\x06\x90y\xfe\
|
|
94042
|
+
.\xa0\x04\xb7}\x91:\xd4\x80K\x86o\x9dhsv\
|
|
94043
|
+
[{[ V\x0b\x14\xb5\xbb\xd4\xc0\xbe\x86\x0b\xe4[\
|
|
94044
|
+
n\x05t\xa9\xf6\xc8\xdcm>\xfd\x85R\xe7\xe6\x92\xc6\
|
|
94045
|
+
\x0e\xecl>\x1fzY\x14\x9b\x11y\xb9\xacF,\
|
|
94046
|
+
\x5c\xd9\xd2\x7f]\x17\xfb\x08\xa5;B\x8dcw\xecj\
|
|
94047
|
+
\x11$\x08\xe4\xee\xa2\xe6\x91\xda\x15\x1fj48\xb2\xe4\
|
|
94048
|
+
\x9e\x9e\x03\x9f-]s\x99\xf4\xa9LH\xd4\xabel\
|
|
94049
|
+
E\x19s\xab.j\xd2T\x93\xac\x9b\xabhW?\xb9\
|
|
94050
|
+
\xdb\x02\xbd\x11,\xf8{\xb6Z \x87\xcb\xda\x5c\xf21\
|
|
94051
|
+
\xff\x80n\xean\x80\xcc\xa1/J\xa3\x02m\xdf}\x89\
|
|
94052
|
+
zLE\xaf\x9c\xd2OHw\x91Zo\xd3\x89]R\
|
|
94053
|
+
\x9e\xf0\x15\xf4V\xd19\xa2\xa4\xb9z\xc5\x9b'\xf5\x12\
|
|
94054
|
+
Oi0\x06\xd8V\xed\x0c\xb3C=l\xd4\xb3\x8c\x5c\
|
|
94055
|
+
Jt\xf2\x9f\xd2\x8e\x94z\x02\xcd\x9f\x074\xfd\x02\xe0\
|
|
94056
|
+
&\xef\xbb\
|
|
94057
94057
|
\x00\x00\x01\xd5\
|
|
94058
94058
|
F\
|
|
94059
94059
|
luentLabelBase {\
|
|
@@ -95293,36 +95293,35 @@ D\x7f\x16\xfe\x95\x1c\xaf*\xbe!z\xa2\xb1g\xd1\x09\
|
|
|
95293
95293
|
T\xcf\xbd\xaf\xff\xcbl{\xd5\x8d\xb2\x02Q\xc3b[\
|
|
95294
95294
|
Hw>:~\xf3\xe6;\xbfm7\xdb\xdcg\xcf\x07\
|
|
95295
95295
|
\xee_\
|
|
95296
|
-
\x00\x00\x01\
|
|
95296
|
+
\x00\x00\x01\xaf\
|
|
95297
95297
|
\x00\
|
|
95298
|
-
\x00\x06
|
|
95299
|
-
\x16<\xd4B\
|
|
95300
|
-
|
|
95298
|
+
\x00\x06)x\xda\xedTMK\xc3@\x10\xbd\x17\xfa\x1f\
|
|
95299
|
+
\x16<\xd4B\x22IkE*\xf6\xd0BQ\xb0\xa0\xa4\
|
|
95300
|
+
\x22\x22\x1e\xb6\xddi\xba\xb8\xddYw7\xb6*\xfew\
|
|
95301
95301
|
\xb7m\x1aS\x12k=x3\x84\xb0\x1fof\xde\xbc\
|
|
95302
|
-
0\xaf
|
|
95302
|
+
0\xaf/\x12\x90v\xc8\xad\x80.\xd5\x1e\x89\x94\xe0\xd9\
|
|
95303
95303
|
\x96\xbcW+\xc4=#:~\x8a5&\x92\xf9c\x14\
|
|
95304
|
-
\xa8
|
|
95305
|
-
\
|
|
95306
|
-
\
|
|
95307
|
-
|
|
95308
|
-
|
|
95309
|
-
\
|
|
95310
|
-
|
|
95311
|
-
\
|
|
95312
|
-
v\
|
|
95313
|
-
\xd7\
|
|
95314
|
-
\xd0g\xa5Q\x81\xb6\xaf\xbeD=\xa3\xa2\
|
|
95315
|
-
\xd2\
|
|
95316
|
-
\xa2\x90S\xc7#
|
|
95317
|
-
\
|
|
95318
|
-
|
|
95319
|
-
\
|
|
95320
|
-
\
|
|
95321
|
-
\
|
|
95322
|
-
\
|
|
95323
|
-
\
|
|
95324
|
-
|
|
95325
|
-
\
|
|
95304
|
+
\xa8\xdb\xc4j*\x8d\xa2\xda\xc5\x9eU+\x1f\xd5J\xb5\
|
|
95305
|
+
\x12Y\x87\x02v\xc7Y\x0c\xf6\x81\x9b\xe1\x17\xe4\xdc\xea\
|
|
95306
|
+
\x04\x1e\xf7\xcd\xb6\xc2\xa0f\xe0n$J\xd8\x14\xe8o\
|
|
95307
|
+
Q\xed\xdc\x5c\xd1\x11\x88\x03\xbb\xdc\xaf\x96\x9e\xe3\x90g\
|
|
95308
|
+
_D\x14\x19\x94\xd5\x9e\xa0\xb4m\x126\xd5\x82\xd4\x22\
|
|
95309
|
+
\x88\x11\xc8\xede\xcd#\xb5\x01\x1fk48\xb1\xe4\x9e\
|
|
95310
|
+
^\x00_\x1e]s\x19\xf7\xa9\x8cI\xd4\xab\xa5\xd1\x8a\
|
|
95311
|
+
2\xe6N\xdb$ \x0d\xb5H\x0f\xd3>\xe7Sn\xb3\
|
|
95312
|
+
v\x06\xd1O\x0dm\xe8\xe6R\x86\x81Zl\xf4\xde\xaf\
|
|
95313
|
+
\xd7\x5cp+\x8b\x1dp\xc9g\xfc\x0d\xba\x89\xb5(7\
|
|
95314
|
+
\xd0g\xa5Q\x81\xb6\xaf\xbeD=\xa3\xa2\xb7\xcd\xba\x0c\
|
|
95315
|
+
\xd2\xcd\x94\xec}\xf7+\xbfB\xa6\xf8\x02zg\xd2\x15\
|
|
95316
|
+
\xa2\x90S\xc7#z\xd8h\xb5<\x92\xfb\x9c\xd4\x0b\xd1\
|
|
95317
|
+
J\x831\xc0vVH1{\xd5h\x85\xf5T/\xa7\
|
|
95318
|
+
\x18]\xfc+\xf6\x0b\xc5z\x02\xcd\x9f\x8bU\xf4\x9dl\
|
|
95319
|
+
\xc2S\xff\x08\xdd\x10\x1b\x14\x9c\xad\xe9\x06\x1eI\xdf\xa3\
|
|
95320
|
+
\xf0\xb4\xbe\xe55\xbe\xe6\xf1\xd4f\x8e\x93\xbb\x18\xa1\xeb\
|
|
95321
|
+
bVvcQ\xf9\x02&\xd6\xd7\x94\xf1\xc4\xb8\x19\xcb\
|
|
95322
|
+
&\xbehrez\x05GA3<\xae\x9f\xe5Gz\
|
|
95323
|
+
\xed\x0aw\x5c2\x9c\x93\x0e\xd9\xd1\xde\xce\xfa\x19\xa2\xcc\
|
|
95324
|
+
D\xd7\xd9\xbb\xd4\xc0\xde\x16\xff\x09\x86y\xf6\xc4\
|
|
95326
95325
|
\x00\x00\x01\xd5\
|
|
95327
95326
|
F\
|
|
95328
95327
|
luentLabelBase {\
|
|
@@ -98694,7 +98693,7 @@ qt_resource_struct = b"\
|
|
|
98694
98693
|
\x00\x00I\xba\x00\x00\x00\x00\x00\x01\x00\x16\x96e\
|
|
98695
98694
|
\x00\x00\x01\x986WqR\
|
|
98696
98695
|
\x00\x00K\xe4\x00\x01\x00\x00\x00\x01\x00\x16\xb0]\
|
|
98697
|
-
\x00\x00\x01\
|
|
98696
|
+
\x00\x00\x01\x98;R\x0f\x81\
|
|
98698
98697
|
\x00\x00J\x00\x00\x01\x00\x00\x00\x01\x00\x16\x97\x1b\
|
|
98699
98698
|
\x00\x00\x01\x986WqL\
|
|
98700
98699
|
\x00\x00J4\x00\x00\x00\x00\x00\x01\x00\x16\x9a\xd3\
|
|
@@ -98711,9 +98710,9 @@ qt_resource_struct = b"\
|
|
|
98711
98710
|
\x00\x00\x01\x986WqO\
|
|
98712
98711
|
\x00\x00JV\x00\x01\x00\x00\x00\x01\x00\x16\x9b\x17\
|
|
98713
98712
|
\x00\x00\x01\x986WqY\
|
|
98714
|
-
\x00\x00LD\x00\x01\x00\x00\x00\x01\x00\x16\xb5\
|
|
98713
|
+
\x00\x00LD\x00\x01\x00\x00\x00\x01\x00\x16\xb5\x8a\
|
|
98715
98714
|
\x00\x00\x01\x986WqJ\
|
|
98716
|
-
\x00\x00L\x0c\x00\x00\x00\x00\x00\x01\x00\x16\xb2\
|
|
98715
|
+
\x00\x00L\x0c\x00\x00\x00\x00\x00\x01\x00\x16\xb2\x05\
|
|
98717
98716
|
\x00\x00\x01\x986WqO\
|
|
98718
98717
|
\x00\x00H\xc8\x00\x00\x00\x00\x00\x01\x00\x16\x89\x1f\
|
|
98719
98718
|
\x00\x00\x01\x986WqX\
|
|
@@ -98725,7 +98724,7 @@ qt_resource_struct = b"\
|
|
|
98725
98724
|
\x00\x00\x01\x986WqR\
|
|
98726
98725
|
\x00\x00J\xee\x00\x00\x00\x00\x00\x01\x00\x16\xa6 \
|
|
98727
98726
|
\x00\x00\x01\x986WqW\
|
|
98728
|
-
\x00\x00L$\x00\x00\x00\x00\x00\x01\x00\x16\xb3\
|
|
98727
|
+
\x00\x00L$\x00\x00\x00\x00\x00\x01\x00\x16\xb3\xde\
|
|
98729
98728
|
\x00\x00\x01\x986WqK\
|
|
98730
98729
|
\x00\x00J\x1a\x00\x01\x00\x00\x00\x01\x00\x16\x99\x1c\
|
|
98731
98730
|
\x00\x00\x01\x986WqV\
|
|
@@ -98745,83 +98744,83 @@ qt_resource_struct = b"\
|
|
|
98745
98744
|
\x00\x00\x01\x986WqN\
|
|
98746
98745
|
\x00\x00Hf\x00\x00\x00\x00\x00\x01\x00\x16\x81\xf3\
|
|
98747
98746
|
\x00\x00\x01\x986WqT\
|
|
98748
|
-
\x00\x00L\x96\x00\x01\x00\x00\x00\x01\x00\x16\xba\
|
|
98747
|
+
\x00\x00L\x96\x00\x01\x00\x00\x00\x01\x00\x16\xba\x80\
|
|
98749
98748
|
\x00\x00\x01\x986WqT\
|
|
98750
98749
|
\x00\x00IX\x00\x00\x00\x00\x00\x01\x00\x16\x90=\
|
|
98751
98750
|
\x00\x00\x01\x986WqL\
|
|
98752
98751
|
\x00\x00I\x22\x00\x00\x00\x00\x00\x01\x00\x16\x8d\xd1\
|
|
98753
|
-
\x00\x00\x01\
|
|
98754
|
-
\x00\x00Lp\x00\x01\x00\x00\x00\x01\x00\x16\xb7\
|
|
98752
|
+
\x00\x00\x01\x98;,PA\
|
|
98753
|
+
\x00\x00Lp\x00\x01\x00\x00\x00\x01\x00\x16\xb7\x8e\
|
|
98755
98754
|
\x00\x00\x01\x986WqK\
|
|
98756
98755
|
\x00\x00H\xa2\x00\x01\x00\x00\x00\x01\x00\x16\x87'\
|
|
98757
98756
|
\x00\x00\x01\x986WqU\
|
|
98758
|
-
\x00\x00KH\x00\x00\x00\x00\x00\x01\x00\x16\xf2\
|
|
98757
|
+
\x00\x00KH\x00\x00\x00\x00\x00\x01\x00\x16\xf2\xa9\
|
|
98759
98758
|
\x00\x00\x01\x986WqF\
|
|
98760
|
-
\x00\x00Jz\x00\x01\x00\x00\x00\x01\x00\x16\xe7\
|
|
98759
|
+
\x00\x00Jz\x00\x01\x00\x00\x00\x01\x00\x16\xe7\x8b\
|
|
98761
98760
|
\x00\x00\x01\x986\x8b\xb1\x8f\
|
|
98762
|
-
\x00\x00I\xba\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98761
|
+
\x00\x00I\xba\x00\x00\x00\x00\x00\x01\x00\x16\xdb\xfe\
|
|
98763
98762
|
\x00\x00\x01\x986Wq?\
|
|
98764
|
-
\x00\x00K\xe4\x00\x01\x00\x00\x00\x01\x00\x16\xfa\
|
|
98765
|
-
\x00\x00\x01\
|
|
98766
|
-
\x00\x00J\x00\x00\x00\x00\x00\x00\x01\x00\x16\xdc\
|
|
98763
|
+
\x00\x00K\xe4\x00\x01\x00\x00\x00\x01\x00\x16\xfa\xd9\
|
|
98764
|
+
\x00\x00\x01\x98;Q\xfc\xf8\
|
|
98765
|
+
\x00\x00J\x00\x00\x00\x00\x00\x00\x01\x00\x16\xdc\xb4\
|
|
98767
98766
|
\x00\x00\x01\x986Wq9\
|
|
98768
|
-
\x00\x00J4\x00\x00\x00\x00\x00\x01\x00\x16\xe4\
|
|
98767
|
+
\x00\x00J4\x00\x00\x00\x00\x00\x01\x00\x16\xe4\xf8\
|
|
98769
98768
|
\x00\x00\x01\x986Wq<\
|
|
98770
|
-
\x00\x00I\x04\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98769
|
+
\x00\x00I\x04\x00\x00\x00\x00\x00\x01\x00\x16\xd11\
|
|
98771
98770
|
\x00\x00\x01\x986WqG\
|
|
98772
|
-
\x00\x00Kf\x00\x00\x00\x00\x00\x01\x00\x16\xf3
|
|
98771
|
+
\x00\x00Kf\x00\x00\x00\x00\x00\x01\x00\x16\xf3!\
|
|
98773
98772
|
\x00\x00\x01\x986Wq@\
|
|
98774
|
-
\x00\x00I\xe0\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98773
|
+
\x00\x00I\xe0\x00\x00\x00\x00\x00\x01\x00\x16\xdcl\
|
|
98775
98774
|
\x00\x00\x01\x986Wq:\
|
|
98776
|
-
\x00\x00Ix\x00\x01\x00\x00\x00\x01\x00\x16\xd8\
|
|
98775
|
+
\x00\x00Ix\x00\x01\x00\x00\x00\x01\x00\x16\xd8\xe5\
|
|
98777
98776
|
\x00\x00\x01\x986WqE\
|
|
98778
|
-
\x00\x00G\xfe\x00\x00\x00\x00\x00\x01\x00\x16\xbc\
|
|
98777
|
+
\x00\x00G\xfe\x00\x00\x00\x00\x00\x01\x00\x16\xbc\x1a\
|
|
98779
98778
|
\x00\x00\x01\x986Wq<\
|
|
98780
|
-
\x00\x00JV\x00\x01\x00\x00\x00\x01\x00\x16\xe5
|
|
98779
|
+
\x00\x00JV\x00\x01\x00\x00\x00\x01\x00\x16\xe5<\
|
|
98781
98780
|
\x00\x00\x01\x986WqG\
|
|
98782
|
-
\x00\x00LD\x00\x01\x00\x00\x00\x01\x00\x17\x00\
|
|
98781
|
+
\x00\x00LD\x00\x01\x00\x00\x00\x01\x00\x17\x00\x17\
|
|
98783
98782
|
\x00\x00\x01\x986Wq7\
|
|
98784
|
-
\x00\x00L\x0c\x00\x00\x00\x00\x00\x01\x00\x16\xfc\
|
|
98783
|
+
\x00\x00L\x0c\x00\x00\x00\x00\x00\x01\x00\x16\xfc\x8c\
|
|
98785
98784
|
\x00\x00\x01\x986Wq>\
|
|
98786
|
-
\x00\x00H\xc8\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98785
|
+
\x00\x00H\xc8\x00\x00\x00\x00\x00\x01\x00\x16\xce/\
|
|
98787
98786
|
\x00\x00\x01\x986WqF\
|
|
98788
|
-
\x00\x00H<\x00\x00\x00\x00\x00\x01\x00\x16\xc5\
|
|
98787
|
+
\x00\x00H<\x00\x00\x00\x00\x00\x01\x00\x16\xc5\xa3\
|
|
98789
98788
|
\x00\x00\x01\x986WqE\
|
|
98790
|
-
\x00\x00K\x90\x00\x01\x00\x00\x00\x01\x00\x16\
|
|
98789
|
+
\x00\x00K\x90\x00\x01\x00\x00\x00\x01\x00\x16\xf6p\
|
|
98791
98790
|
\x00\x00\x01\x986\x8b\xb1\x8f\
|
|
98792
|
-
\x00\x00J\x9c\x00\x00\x00\x00\x00\x01\x00\x16\xe9\
|
|
98791
|
+
\x00\x00J\x9c\x00\x00\x00\x00\x00\x01\x00\x16\xe9\xa7\
|
|
98793
98792
|
\x00\x00\x01\x986Wq?\
|
|
98794
|
-
\x00\x00J\xee\x00\x00\x00\x00\x00\x01\x00\x16\xf0\
|
|
98793
|
+
\x00\x00J\xee\x00\x00\x00\x00\x00\x01\x00\x16\xf0\x83\
|
|
98795
98794
|
\x00\x00\x01\x986WqE\
|
|
98796
|
-
\x00\x00L$\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98795
|
+
\x00\x00L$\x00\x00\x00\x00\x00\x01\x00\x16\xfee\
|
|
98797
98796
|
\x00\x00\x01\x986Wq8\
|
|
98798
|
-
\x00\x00J\x1a\x00\x01\x00\x00\x00\x01\x00\x16\
|
|
98797
|
+
\x00\x00J\x1a\x00\x01\x00\x00\x00\x01\x00\x16\xe3Y\
|
|
98799
98798
|
\x00\x00\x01\x986WqD\
|
|
98800
|
-
\x00\x00H\x88\x00\x01\x00\x00\x00\x01\x00\x16\
|
|
98799
|
+
\x00\x00H\x88\x00\x01\x00\x00\x00\x01\x00\x16\xc7b\
|
|
98801
98800
|
\x00\x00\x01\x986Wq5\
|
|
98802
|
-
\x00\x00K\x16\x00\x00\x00\x00\x00\x01\x00\x16\xf2\
|
|
98801
|
+
\x00\x00K\x16\x00\x00\x00\x00\x00\x01\x00\x16\xf2\x00\
|
|
98803
98802
|
\x00\x00\x01\x986WqC\
|
|
98804
|
-
\x00\x00H\xee\x00\x01\x00\x00\x00\x01\x00\x16\xcf
|
|
98803
|
+
\x00\x00H\xee\x00\x01\x00\x00\x00\x01\x00\x16\xcf[\
|
|
98805
98804
|
\x00\x00\x01\x986Wq?\
|
|
98806
|
-
\x00\x00I\x96\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98805
|
+
\x00\x00I\x96\x00\x00\x00\x00\x00\x01\x00\x16\xdb_\
|
|
98807
98806
|
\x00\x00\x01\x986Wq7\
|
|
98808
|
-
\x00\x00K\xb0\x00\x01\x00\x00\x00\x01\x00\x16\xf9\
|
|
98807
|
+
\x00\x00K\xb0\x00\x01\x00\x00\x00\x01\x00\x16\xf9\x02\
|
|
98809
98808
|
\x00\x00\x01\x986Wq:\
|
|
98810
|
-
\x00\x00H\x1c\x00\x00\x00\x00\x00\x01\x00\x16\xbf\
|
|
98809
|
+
\x00\x00H\x1c\x00\x00\x00\x00\x00\x01\x00\x16\xbf\xd4\
|
|
98811
98810
|
\x00\x00\x01\x986Wq>\
|
|
98812
|
-
\x00\x00J\xbc\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98811
|
+
\x00\x00J\xbc\x00\x00\x00\x00\x00\x01\x00\x16\xec/\
|
|
98813
98812
|
\x00\x00\x01\x986Wq<\
|
|
98814
|
-
\x00\x00Hf\x00\x00\x00\x00\x00\x01\x00\x16\xc7\
|
|
98813
|
+
\x00\x00Hf\x00\x00\x00\x00\x00\x01\x00\x16\xc7\x19\
|
|
98815
98814
|
\x00\x00\x01\x986WqB\
|
|
98816
|
-
\x00\x00L\x96\x00\x01\x00\x00\x00\x01\x00\x17\x05\
|
|
98815
|
+
\x00\x00L\x96\x00\x01\x00\x00\x00\x01\x00\x17\x05\x07\
|
|
98817
98816
|
\x00\x00\x01\x986WqB\
|
|
98818
|
-
\x00\x00IX\x00\x00\x00\x00\x00\x01\x00\x16\
|
|
98817
|
+
\x00\x00IX\x00\x00\x00\x00\x00\x01\x00\x16\xd5X\
|
|
98819
98818
|
\x00\x00\x01\x986Wq9\
|
|
98820
|
-
\x00\x00I\x22\x00\x00\x00\x00\x00\x01\x00\x16\xd2\
|
|
98819
|
+
\x00\x00I\x22\x00\x00\x00\x00\x00\x01\x00\x16\xd2\xf4\
|
|
98821
98820
|
\x00\x00\x01\x986Wq@\
|
|
98822
|
-
\x00\x00Lp\x00\x01\x00\x00\x00\x01\x00\x17\x02\
|
|
98821
|
+
\x00\x00Lp\x00\x01\x00\x00\x00\x01\x00\x17\x02\x1b\
|
|
98823
98822
|
\x00\x00\x01\x986Wq8\
|
|
98824
|
-
\x00\x00H\xa2\x00\x01\x00\x00\x00\x01\x00\x16\
|
|
98823
|
+
\x00\x00H\xa2\x00\x01\x00\x00\x00\x01\x00\x16\xcc9\
|
|
98825
98824
|
\x00\x00\x01\x986WqC\
|
|
98826
98825
|
"
|
|
98827
98826
|
|
|
@@ -16,7 +16,7 @@ class NavigationInterface(QWidget):
|
|
|
16
16
|
|
|
17
17
|
displayModeChanged = Signal(NavigationDisplayMode)
|
|
18
18
|
|
|
19
|
-
def __init__(self, parent=None, showMenuButton=True, showReturnButton=False, collapsible=True):
|
|
19
|
+
def __init__(self, parent=None, showMenuButton=True, showReturnButton=False, collapsible=True, icon_path: str = None):
|
|
20
20
|
"""
|
|
21
21
|
Parameters
|
|
22
22
|
----------
|
|
@@ -33,7 +33,7 @@ class NavigationInterface(QWidget):
|
|
|
33
33
|
Is the navigation interface collapsible
|
|
34
34
|
"""
|
|
35
35
|
super().__init__(parent=parent)
|
|
36
|
-
self.panel = NavigationPanel(self)
|
|
36
|
+
self.panel = NavigationPanel(self, icon_path=icon_path)
|
|
37
37
|
self.panel.setMenuButtonVisible(showMenuButton and collapsible)
|
|
38
38
|
self.panel.setReturnButtonVisible(showReturnButton)
|
|
39
39
|
self.panel.setCollapsible(collapsible)
|
|
@@ -3,8 +3,8 @@ from enum import Enum
|
|
|
3
3
|
from typing import Dict, Union
|
|
4
4
|
|
|
5
5
|
from PySide6.QtCore import Qt, QPropertyAnimation, QRect, QSize, QEvent, QEasingCurve, Signal, QPoint
|
|
6
|
-
from PySide6.QtGui import QResizeEvent, QIcon, QColor, QPainterPath
|
|
7
|
-
from PySide6.QtWidgets import QWidget, QVBoxLayout, QFrame, QApplication, QHBoxLayout
|
|
6
|
+
from PySide6.QtGui import QResizeEvent, QIcon, QColor, QPainterPath, QPixmap
|
|
7
|
+
from PySide6.QtWidgets import QWidget, QVBoxLayout, QFrame, QApplication, QHBoxLayout, QLabel
|
|
8
8
|
|
|
9
9
|
from .navigation_widget import (NavigationTreeWidgetBase, NavigationToolButton, NavigationWidget, NavigationSeparator,
|
|
10
10
|
NavigationTreeWidget, NavigationFlyoutMenu)
|
|
@@ -61,21 +61,21 @@ class NavigationPanel(QFrame):
|
|
|
61
61
|
|
|
62
62
|
displayModeChanged = Signal(NavigationDisplayMode)
|
|
63
63
|
|
|
64
|
-
def __init__(self, parent=None, isMinimalEnabled=False):
|
|
64
|
+
def __init__(self, parent=None, isMinimalEnabled=False, icon_path: str = None):
|
|
65
65
|
super().__init__(parent=parent)
|
|
66
66
|
self._parent = parent # type: QWidget
|
|
67
67
|
self._isMenuButtonVisible = True
|
|
68
68
|
self._isReturnButtonVisible = False
|
|
69
69
|
self._isCollapsible = True
|
|
70
70
|
self._isAcrylicEnabled = False
|
|
71
|
-
|
|
71
|
+
self._icon_path = icon_path
|
|
72
72
|
self.acrylicBrush = AcrylicBrush(self, 30)
|
|
73
73
|
|
|
74
74
|
self.scrollArea = ScrollArea(self)
|
|
75
75
|
self.scrollWidget = QWidget()
|
|
76
76
|
|
|
77
|
-
self.menuButton = NavigationToolButton(FIF.MENU, self)
|
|
78
|
-
self.returnButton = NavigationToolButton(FIF.RETURN, self)
|
|
77
|
+
# self.menuButton = NavigationToolButton(FIF.MENU, self)
|
|
78
|
+
# self.returnButton = NavigationToolButton(FIF.RETURN, self)
|
|
79
79
|
|
|
80
80
|
self.vBoxLayout = NavigationItemLayout(self)
|
|
81
81
|
self.topLayout = NavigationItemLayout()
|
|
@@ -102,8 +102,8 @@ class NavigationPanel(QFrame):
|
|
|
102
102
|
self.setAttribute(Qt.WA_StyledBackground)
|
|
103
103
|
self.window().installEventFilter(self)
|
|
104
104
|
|
|
105
|
-
self.returnButton.hide()
|
|
106
|
-
self.returnButton.setDisabled(True)
|
|
105
|
+
# self.returnButton.hide()
|
|
106
|
+
# self.returnButton.setDisabled(True)
|
|
107
107
|
|
|
108
108
|
self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
|
109
109
|
self.scrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
|
@@ -114,17 +114,17 @@ class NavigationPanel(QFrame):
|
|
|
114
114
|
self.expandAni.setEasingCurve(QEasingCurve.OutQuad)
|
|
115
115
|
self.expandAni.setDuration(150)
|
|
116
116
|
|
|
117
|
-
self.menuButton.clicked.connect(self.toggle)
|
|
117
|
+
# self.menuButton.clicked.connect(self.toggle)
|
|
118
118
|
self.expandAni.finished.connect(self._onExpandAniFinished)
|
|
119
|
-
self.history.emptyChanged.connect(self.returnButton.setDisabled)
|
|
120
|
-
self.returnButton.clicked.connect(self.history.pop)
|
|
119
|
+
# self.history.emptyChanged.connect(self.returnButton.setDisabled)
|
|
120
|
+
# self.returnButton.clicked.connect(self.history.pop)
|
|
121
121
|
|
|
122
122
|
# add tool tip
|
|
123
|
-
self.returnButton.installEventFilter(ToolTipFilter(self.returnButton, 1000))
|
|
124
|
-
self.returnButton.setToolTip(self.tr('Back'))
|
|
123
|
+
# self.returnButton.installEventFilter(ToolTipFilter(self.returnButton, 1000))
|
|
124
|
+
# self.returnButton.setToolTip(self.tr('Back'))
|
|
125
125
|
|
|
126
|
-
self.menuButton.installEventFilter(ToolTipFilter(self.menuButton, 1000))
|
|
127
|
-
self.menuButton.setToolTip(self.tr('Open Navigation'))
|
|
126
|
+
# self.menuButton.installEventFilter(ToolTipFilter(self.menuButton, 1000))
|
|
127
|
+
# self.menuButton.setToolTip(self.tr('Open Navigation'))
|
|
128
128
|
|
|
129
129
|
self.scrollWidget.setObjectName('scrollWidget')
|
|
130
130
|
self.setProperty('menu', False)
|
|
@@ -151,8 +151,13 @@ class NavigationPanel(QFrame):
|
|
|
151
151
|
self.scrollLayout.setAlignment(Qt.AlignTop)
|
|
152
152
|
self.bottomLayout.setAlignment(Qt.AlignBottom)
|
|
153
153
|
|
|
154
|
-
self.
|
|
155
|
-
self.
|
|
154
|
+
self.iconLabel = QLabel()
|
|
155
|
+
self.iconLabel.setFixedSize(40, 25)
|
|
156
|
+
self.iconLabel.setAlignment(Qt.AlignCenter)
|
|
157
|
+
if self._icon_path:
|
|
158
|
+
self.iconLabel.setPixmap(QPixmap(self._icon_path).scaled(24, 24))
|
|
159
|
+
self.topLayout.addWidget(self.iconLabel, 0, Qt.AlignTop)
|
|
160
|
+
# self.topLayout.addWidget(self.returnButton, 0, Qt.AlignTop)
|
|
156
161
|
|
|
157
162
|
def _updateAcrylicColor(self):
|
|
158
163
|
if isDarkTheme():
|
|
@@ -393,12 +398,12 @@ class NavigationPanel(QFrame):
|
|
|
393
398
|
def setMenuButtonVisible(self, isVisible: bool):
|
|
394
399
|
""" set whether the menu button is visible """
|
|
395
400
|
self._isMenuButtonVisible = isVisible
|
|
396
|
-
self.menuButton.setVisible(isVisible)
|
|
401
|
+
# self.menuButton.setVisible(isVisible)
|
|
397
402
|
|
|
398
403
|
def setReturnButtonVisible(self, isVisible: bool):
|
|
399
404
|
""" set whether the return button is visible """
|
|
400
405
|
self._isReturnButtonVisible = isVisible
|
|
401
|
-
self.returnButton.setVisible(isVisible)
|
|
406
|
+
# self.returnButton.setVisible(isVisible)
|
|
402
407
|
|
|
403
408
|
def setCollapsible(self, on: bool):
|
|
404
409
|
self._isCollapsible = on
|
|
@@ -39,7 +39,7 @@ class NavigationWidget(QWidget):
|
|
|
39
39
|
self.lightTextColor = QColor(0, 0, 0)
|
|
40
40
|
self.darkTextColor = QColor(255, 255, 255)
|
|
41
41
|
|
|
42
|
-
self.setFixedSize(40,
|
|
42
|
+
self.setFixedSize(40, 45)
|
|
43
43
|
|
|
44
44
|
def enterEvent(self, e):
|
|
45
45
|
self.isEnter = True
|
|
@@ -71,9 +71,9 @@ class NavigationWidget(QWidget):
|
|
|
71
71
|
|
|
72
72
|
self.isCompacted = isCompacted
|
|
73
73
|
if isCompacted:
|
|
74
|
-
self.setFixedSize(40,
|
|
74
|
+
self.setFixedSize(40, 45)
|
|
75
75
|
else:
|
|
76
|
-
self.setFixedSize(self.EXPAND_WIDTH,
|
|
76
|
+
self.setFixedSize(self.EXPAND_WIDTH, 45)
|
|
77
77
|
|
|
78
78
|
self.update()
|
|
79
79
|
|
|
@@ -176,27 +176,47 @@ class NavigationPushButton(NavigationWidget):
|
|
|
176
176
|
globalRect = QRect(self.mapToGlobal(QPoint()), self.size())
|
|
177
177
|
|
|
178
178
|
if self._canDrawIndicator():
|
|
179
|
-
painter.setBrush(QColor(c, c, c,
|
|
180
|
-
painter.drawRoundedRect(self.rect(),
|
|
179
|
+
painter.setBrush(QColor(c, c, c, 20 if self.isEnter else 25))
|
|
180
|
+
painter.drawRoundedRect(self.rect(), 3, 3)
|
|
181
181
|
|
|
182
182
|
# draw indicator
|
|
183
|
-
painter.setBrush(autoFallbackThemeColor(self.lightIndicatorColor, self.darkIndicatorColor))
|
|
184
|
-
painter.drawRoundedRect(pl, 10, 3, 16, 1.5, 1.5)
|
|
183
|
+
# painter.setBrush(autoFallbackThemeColor(self.lightIndicatorColor, self.darkIndicatorColor))
|
|
184
|
+
# painter.drawRoundedRect(pl, 10, 3, 16, 1.5, 1.5)
|
|
185
185
|
elif self.isEnter and self.isEnabled() and globalRect.contains(QCursor.pos()):
|
|
186
|
-
painter.setBrush(QColor(c, c, c,
|
|
187
|
-
painter.drawRoundedRect(self.rect(),
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
186
|
+
painter.setBrush(QColor(c, c, c, 25))
|
|
187
|
+
painter.drawRoundedRect(self.rect(), 3, 3)
|
|
188
|
+
|
|
189
|
+
# 绘制icon和文字,格式为icon在上方居中,文字在下方居中
|
|
190
|
+
icon_height = 20
|
|
191
|
+
text_height = 14
|
|
192
|
+
spacing = 3
|
|
193
|
+
total_height = icon_height + spacing + text_height
|
|
194
|
+
top_margin = (self.height() - total_height) // 2
|
|
195
|
+
|
|
196
|
+
# icon区域:上方居中
|
|
197
|
+
icon_rect = QRectF(
|
|
198
|
+
(self.width() - icon_height) / 2,
|
|
199
|
+
top_margin,
|
|
200
|
+
icon_height,
|
|
201
|
+
icon_height
|
|
202
|
+
)
|
|
203
|
+
drawIcon(self._icon, painter, icon_rect)
|
|
204
|
+
|
|
205
|
+
# 文字区域:下方居中
|
|
206
|
+
# if self.isCompacted:
|
|
207
|
+
# return
|
|
208
|
+
|
|
209
|
+
font = self.font()
|
|
210
|
+
font.setPointSize(max(font.pointSize() - 1, 8)) # 比默认小2号,最小8号
|
|
211
|
+
painter.setFont(font)
|
|
196
212
|
painter.setPen(self.textColor())
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
213
|
+
text_rect = QRectF(
|
|
214
|
+
0,
|
|
215
|
+
icon_rect.bottom() + spacing,
|
|
216
|
+
self.width(),
|
|
217
|
+
text_height
|
|
218
|
+
)
|
|
219
|
+
painter.drawText(text_rect, Qt.AlignHCenter | Qt.AlignVCenter, self.text())
|
|
200
220
|
|
|
201
221
|
|
|
202
222
|
class NavigationToolButton(NavigationPushButton):
|
|
@@ -206,7 +226,7 @@ class NavigationToolButton(NavigationPushButton):
|
|
|
206
226
|
super().__init__(icon, '', False, parent)
|
|
207
227
|
|
|
208
228
|
def setCompacted(self, isCompacted: bool):
|
|
209
|
-
self.setFixedSize(40,
|
|
229
|
+
self.setFixedSize(40, 45)
|
|
210
230
|
|
|
211
231
|
|
|
212
232
|
class NavigationSeparator(NavigationWidget):
|
|
@@ -570,7 +590,7 @@ class NavigationAvatarWidget(NavigationWidget):
|
|
|
570
590
|
if not self.isCompacted:
|
|
571
591
|
painter.setPen(self.textColor())
|
|
572
592
|
painter.setFont(self.font())
|
|
573
|
-
painter.drawText(QRect(44, 0, 255,
|
|
593
|
+
painter.drawText(QRect(44, 0, 255, 60), Qt.AlignVCenter, self.name)
|
|
574
594
|
|
|
575
595
|
|
|
576
596
|
@InfoBadgeManager.register(InfoBadgePosition.NAVIGATION_ITEM)
|
|
@@ -229,46 +229,47 @@ class TabItem(PushButton):
|
|
|
229
229
|
isDark = isDarkTheme()
|
|
230
230
|
|
|
231
231
|
# draw top border
|
|
232
|
-
path = QPainterPath()
|
|
233
|
-
path.arcMoveTo(1, h - d - 1, d, d, 225)
|
|
234
|
-
path.arcTo(1, h - d - 1, d, d, 225, -45)
|
|
235
|
-
path.lineTo(1, r)
|
|
236
|
-
path.arcTo(1, 1, d, d, -180, -90)
|
|
237
|
-
path.lineTo(w - r, 1)
|
|
238
|
-
path.arcTo(w - d - 1, 1, d, d, 90, -90)
|
|
239
|
-
path.lineTo(w - 1, h - r)
|
|
240
|
-
path.arcTo(w - d - 1, h - d - 1, d, d, 0, -45)
|
|
241
|
-
|
|
242
|
-
topBorderColor = QColor(0, 0, 0, 20)
|
|
243
|
-
if isDark:
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
else:
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
painter.strokePath(path, topBorderColor)
|
|
252
|
-
|
|
253
|
-
# draw bottom border
|
|
254
|
-
path = QPainterPath()
|
|
255
|
-
path.arcMoveTo(1, h - d - 1, d, d, 225)
|
|
256
|
-
path.arcTo(1, h - d - 1, d, d, 225, 45)
|
|
257
|
-
path.lineTo(w - r - 1, h - 1)
|
|
258
|
-
path.arcTo(w - d - 1, h - d - 1, d, d, 270, 45)
|
|
259
|
-
|
|
260
|
-
bottomBorderColor = topBorderColor
|
|
261
|
-
if not isDark:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
painter.strokePath(path, bottomBorderColor)
|
|
232
|
+
# path = QPainterPath()
|
|
233
|
+
# path.arcMoveTo(1, h - d - 1, d, d, 225)
|
|
234
|
+
# path.arcTo(1, h - d - 1, d, d, 225, -45)
|
|
235
|
+
# path.lineTo(1, r)
|
|
236
|
+
# path.arcTo(1, 1, d, d, -180, -90)
|
|
237
|
+
# path.lineTo(w - r, 1)
|
|
238
|
+
# path.arcTo(w - d - 1, 1, d, d, 90, -90)
|
|
239
|
+
# path.lineTo(w - 1, h - r)
|
|
240
|
+
# path.arcTo(w - d - 1, h - d - 1, d, d, 0, -45)
|
|
241
|
+
|
|
242
|
+
# topBorderColor = QColor(0, 0, 0, 20)
|
|
243
|
+
# if isDark:
|
|
244
|
+
# if self.isPressed:
|
|
245
|
+
# topBorderColor = QColor(255, 255, 255, 18)
|
|
246
|
+
# elif self.isHover:
|
|
247
|
+
# topBorderColor = QColor(255, 255, 255, 13)
|
|
248
|
+
# else:
|
|
249
|
+
# topBorderColor = QColor(0, 0, 0, 16)
|
|
250
|
+
|
|
251
|
+
# painter.strokePath(path, topBorderColor)
|
|
252
|
+
|
|
253
|
+
# # draw bottom border
|
|
254
|
+
# path = QPainterPath()
|
|
255
|
+
# path.arcMoveTo(1, h - d - 1, d, d, 225)
|
|
256
|
+
# path.arcTo(1, h - d - 1, d, d, 225, 45)
|
|
257
|
+
# path.lineTo(w - r - 1, h - 1)
|
|
258
|
+
# path.arcTo(w - d - 1, h - d - 1, d, d, 270, 45)
|
|
259
|
+
|
|
260
|
+
# bottomBorderColor = topBorderColor
|
|
261
|
+
# if not isDark:
|
|
262
|
+
# bottomBorderColor = QColor(0, 0, 0, 63)
|
|
263
|
+
|
|
264
|
+
# painter.strokePath(path, bottomBorderColor)
|
|
265
265
|
|
|
266
266
|
# draw background
|
|
267
267
|
painter.setPen(Qt.NoPen)
|
|
268
268
|
rect = self.rect().adjusted(1, 1, -1, -1)
|
|
269
269
|
painter.setBrush(
|
|
270
270
|
self.darkSelectedBackgroundColor if isDark else self.lightSelectedBackgroundColor)
|
|
271
|
-
painter.drawRoundedRect(rect, r, r)
|
|
271
|
+
# painter.drawRoundedRect(rect, r, r)
|
|
272
|
+
painter.drawRect(rect)
|
|
272
273
|
|
|
273
274
|
def _drawNotSelectedBackground(self, painter: QPainter):
|
|
274
275
|
if not (self.isPressed or self.isHover):
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/fluent_window.py
RENAMED
|
@@ -4,7 +4,7 @@ import sys
|
|
|
4
4
|
|
|
5
5
|
from PySide6.QtCore import Qt, QSize, QRect
|
|
6
6
|
from PySide6.QtGui import QIcon, QPainter, QColor
|
|
7
|
-
from PySide6.QtWidgets import QWidget, QHBoxLayout, QVBoxLayout, QLabel, QApplication
|
|
7
|
+
from PySide6.QtWidgets import QWidget, QHBoxLayout, QVBoxLayout, QLabel, QApplication,QSpacerItem,QSizePolicy
|
|
8
8
|
|
|
9
9
|
from ..common.config import qconfig
|
|
10
10
|
from ..common.icon import FluentIconBase
|
|
@@ -154,20 +154,23 @@ class FluentTitleBar(TitleBar):
|
|
|
154
154
|
|
|
155
155
|
def __init__(self, parent):
|
|
156
156
|
super().__init__(parent)
|
|
157
|
-
self.setFixedHeight(
|
|
157
|
+
self.setFixedHeight(35)
|
|
158
158
|
self.hBoxLayout.removeWidget(self.minBtn)
|
|
159
159
|
self.hBoxLayout.removeWidget(self.maxBtn)
|
|
160
160
|
self.hBoxLayout.removeWidget(self.closeBtn)
|
|
161
161
|
|
|
162
|
+
# self.hBoxLayout.insertSpacerItem(0, QSpacerItem(-5, 0, QSizePolicy.Fixed, QSizePolicy.Minimum))
|
|
163
|
+
|
|
162
164
|
# add window icon
|
|
163
165
|
self.iconLabel = QLabel(self)
|
|
164
166
|
self.iconLabel.setFixedSize(18, 18)
|
|
165
|
-
self.hBoxLayout.insertWidget(
|
|
167
|
+
# self.hBoxLayout.insertWidget(1, self.iconLabel, 0, Qt.AlignLeft | Qt.AlignVCenter)
|
|
166
168
|
self.window().windowIconChanged.connect(self.setIcon)
|
|
167
169
|
|
|
168
170
|
# add title label
|
|
169
171
|
self.titleLabel = QLabel(self)
|
|
170
|
-
self.hBoxLayout.insertWidget(
|
|
172
|
+
self.hBoxLayout.insertWidget(0, self.titleLabel, 0, Qt.AlignLeft | Qt.AlignVCenter)
|
|
173
|
+
# self.titleLabel.setFixedHeight(35)
|
|
171
174
|
self.titleLabel.setObjectName('titleLabel')
|
|
172
175
|
self.window().windowTitleChanged.connect(self.setTitle)
|
|
173
176
|
|
|
@@ -190,17 +193,18 @@ class FluentTitleBar(TitleBar):
|
|
|
190
193
|
self.titleLabel.adjustSize()
|
|
191
194
|
|
|
192
195
|
def setIcon(self, icon):
|
|
193
|
-
self.iconLabel.setPixmap(QIcon(icon).pixmap(18, 18))
|
|
196
|
+
# self.iconLabel.setPixmap(QIcon(icon).pixmap(18, 18))
|
|
197
|
+
pass
|
|
194
198
|
|
|
195
199
|
|
|
196
200
|
class FluentWindow(FluentWindowBase):
|
|
197
201
|
""" Fluent window """
|
|
198
202
|
|
|
199
|
-
def __init__(self, parent=None):
|
|
203
|
+
def __init__(self, parent=None, icon_path: str = None):
|
|
200
204
|
super().__init__(parent)
|
|
201
205
|
self.setTitleBar(FluentTitleBar(self))
|
|
202
206
|
|
|
203
|
-
self.navigationInterface = NavigationInterface(self, showReturnButton=True)
|
|
207
|
+
self.navigationInterface = NavigationInterface(self, showReturnButton=True, icon_path=icon_path)
|
|
204
208
|
self.widgetLayout = QHBoxLayout()
|
|
205
209
|
|
|
206
210
|
# initialize layout
|
|
@@ -209,7 +213,7 @@ class FluentWindow(FluentWindowBase):
|
|
|
209
213
|
self.hBoxLayout.setStretchFactor(self.widgetLayout, 1)
|
|
210
214
|
|
|
211
215
|
self.widgetLayout.addWidget(self.stackedWidget)
|
|
212
|
-
self.widgetLayout.setContentsMargins(0,
|
|
216
|
+
self.widgetLayout.setContentsMargins(0, 35, 0, 0)
|
|
213
217
|
|
|
214
218
|
self.navigationInterface.displayModeChanged.connect(self.titleBar.raise_)
|
|
215
219
|
self.titleBar.raise_()
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/stacked_widget.py
RENAMED
|
@@ -45,10 +45,10 @@ class StackedWidget(QFrame):
|
|
|
45
45
|
widget.verticalScrollBar().setValue(0)
|
|
46
46
|
|
|
47
47
|
if not popOut:
|
|
48
|
-
self.view.setCurrentWidget(widget, duration=
|
|
48
|
+
self.view.setCurrentWidget(widget, duration=0)
|
|
49
49
|
else:
|
|
50
50
|
self.view.setCurrentWidget(
|
|
51
|
-
widget, True, False,
|
|
51
|
+
widget, True, False, 0, QEasingCurve.InQuad)
|
|
52
52
|
|
|
53
53
|
def setCurrentIndex(self, index, popOut=True):
|
|
54
54
|
self.setCurrentWidget(self.view.widget(index), popOut)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/__init__.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/animation.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/auto_wrap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/image_utils.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/overload.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/smooth_scroll.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/style_sheet.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/theme_listener.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/common/translator.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/__init__.py
RENAMED
|
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
|
|
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
|
|
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
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/components/widgets/menu.py
RENAMED
|
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
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/media_player.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/multimedia/video_widget.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/__init__.py
RENAMED
|
File without changes
|
{python_fastui_widgets-1.0.2 → python_fastui_widgets-1.0.3}/fastuiwidgets/window/splash_screen.py
RENAMED
|
File without changes
|
|
File without changes
|