File tree Expand file tree Collapse file tree 5 files changed +372
-53
lines changed
Expand file tree Collapse file tree 5 files changed +372
-53
lines changed Original file line number Diff line number Diff line change @@ -583,7 +583,9 @@ def update_episodic_colors(_theme_name: str = None):
583583 fuzzy_delegate .show_status_dot = True
584584 fuzzy_delegate .show_status_label = True
585585 fuzzy_tree .tree_view .setItemDelegate (fuzzy_delegate )
586- fxwidgets .FXThumbnailDelegate .apply_transparent_selection (fuzzy_tree .tree_view )
586+ fxwidgets .FXThumbnailDelegate .apply_transparent_selection (
587+ fuzzy_tree .tree_view
588+ )
587589
588590 # Role for storing icon name for theme-aware updates
589591 FUZZY_ICON_NAME_ROLE = Qt .UserRole + 301
Original file line number Diff line number Diff line change 5656from fxgui .fxwidgets ._tag_input import FXTagChip , FXTagInput
5757from fxgui .fxwidgets ._timeline_slider import FXTimelineSlider
5858from fxgui .fxwidgets ._toggle_switch import FXToggleSwitch
59- from fxgui .fxwidgets ._tooltip import FXTooltip , FXTooltipManager , FXTooltipPosition
59+ from fxgui .fxwidgets ._tooltip import (
60+ FXTooltip ,
61+ FXTooltipManager ,
62+ FXTooltipPosition ,
63+ set_tooltip ,
64+ )
6065from fxgui .fxwidgets ._tree_items import FXSortedTreeWidgetItem
6166from fxgui .fxwidgets ._validators import (
6267 FXCamelCaseValidator ,
119124 "FXTooltip" ,
120125 "FXTooltipManager" ,
121126 "FXTooltipPosition" ,
127+ "set_tooltip" ,
122128 "FXValidatedLineEdit" ,
123129 "FXWidget" ,
124130 "theme_manager" ,
Original file line number Diff line number Diff line change 3232 from qtpy .QtWidgets import QDesktopWidget
3333
3434from fxgui import fxicons , fxstyle , fxutils
35+ from fxgui .fxwidgets ._tooltip import FXTooltipManager
3536from fxgui .fxwidgets ._constants import (
3637 CRITICAL ,
3738 ERROR ,
@@ -131,6 +132,10 @@ def __init__(
131132 if self ._set_stylesheet :
132133 self .setStyleSheet (fxstyle .load_stylesheet ())
133134
135+ # Install the global FXTooltip manager for rich tooltips
136+ # This replaces standard Qt tooltips with FXTooltip for all widgets
137+ FXTooltipManager .install ()
138+
134139 # Private methods
135140 def _load_ui (self ) -> None :
136141 """Load the UI from the specified UI file.
You can’t perform that action at this time.
0 commit comments