Modified header guards to match file names
[pulseview.git] / pv / widgets / devicetoolbutton.hpp
index 1fb0a54486057cbcd776b3f782580d54f416ea43..af9e6e686da2a0dfe5662adf3a48d6d4b52b976e 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_H
-#define PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_H
+#ifndef PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_HPP
+#define PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_HPP
 
 #include <list>
 #include <memory>
@@ -79,6 +79,10 @@ private:
 private Q_SLOTS:
        void on_action(QObject *action);
 
+       void on_menu_hovered(QAction *action);
+
+       void on_menu_hover_timeout();
+
 Q_SIGNALS:
        void device_selected();
 
@@ -91,9 +95,11 @@ private:
 
        std::shared_ptr<sigrok::Device> selected_device_;
        std::vector< std::weak_ptr<sigrok::Device> > devices_;
+
+       QString device_tooltip_;
 };
 
 } // widgets
 } // pv
 
-#endif // PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_H
+#endif // PULSEVIEW_PV_WIDGETS_DEVICETOOLBUTTON_HPP