]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinview.h
DolphinView: Allow to have tootips on columns headers
[dolphin.git] / src / views / dolphinview.h
index fc5fd52ff935a3343610a2204ab192a7345156ee..cb8953579d8ea6c1d1ed0b54a77401a6174cc652 100644 (file)
@@ -886,7 +886,7 @@ private:
 
     void updatePlaceholderLabel();
 
-    void tryShowNameToolTip(QHelpEvent *event);
+    bool tryShowNameToolTip(QHelpEvent *event);
 
 private:
     void updatePalette();
@@ -939,6 +939,9 @@ private:
     QLabel *m_placeholderLabel;
     QTimer *m_showLoadingPlaceholderTimer;
 
+    /// The information roleIndex of the list column header currently hovered
+    int m_hoveredColumnHearderRoleIndex;
+
     /// Used for selection mode. @see setSelectionMode()
     std::unique_ptr<QProxyStyle> m_proxyStyle;