Style in-window tooltips as glass instead of the stock Basic look

Dock items, the launcher mode button and the settings hints used the attached
ToolTip, which only gets the Basic style. GlassToolTip wraps ToolTip with a
GlassPanel background, theme text and a Theme.duration fade, matching the
bar's tooltip popout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 23:50:24 +02:00
1 parent b3076a4cde
commit d6a6cf69f4
6 files changed
+67 -19

No files matched your search

+5 -3
View File
@@ -258,9 +258,11 @@ PanelWindow {
cursorShape: Qt.PointingHandCursor
onClicked: root.toggleBrowse()
}
ToolTip.visible: browseArea.containsMouse
ToolTip.delay: 600
ToolTip.text: root.clipboardMode || root.emojiMode ? "Back to search" : root.browsing ? "Hide applications" : "All applications"
GlassToolTip {
visible: browseArea.containsMouse
delay: 600
text: root.clipboardMode || root.emojiMode ? "Back to search" : root.browsing ? "Hide applications" : "All applications"
}
}
TextField {
id: search