From 969afac696540fb00de3065563df074b4b591e10 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 12 Oct 2018 19:41:20 -0700 Subject: [PATCH] Add tool tips to app grid --- app/gui/AppView.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/gui/AppView.qml b/app/gui/AppView.qml index a9ca7478..cbd19f1b 100644 --- a/app/gui/AppView.qml +++ b/app/gui/AppView.qml @@ -133,6 +133,16 @@ GridView { } } + ToolTip { + // We don't use the shared tooltip because then the tooltip + // would follow the mouse cursor while visible rather than + // resetting to invisible as it should + text: model.name + delay: 1000 + timeout: 5000 + visible: parent.hovered + } + Keys.onMenuPressed: { // We must use open() here so the menu is positioned on // the ItemDelegate and not where the mouse cursor is