* 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>
private Q_SLOTS:
void on_action(QObject *action);
+ void on_menu_hovered(QAction *action);
+
+ void on_menu_hover_timeout();
+
Q_SIGNALS:
void device_selected();
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