]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/viewwidget.hpp
Add generic "Create marker here" context menu entry
[pulseview.git] / pv / views / trace / viewwidget.hpp
index e4fb73c8255debedb73963acddc0984e635a0433..f4928e67f885bcd948c10ae0b72a7da03bff5d5b 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <memory>
 
+#include <QPoint>
 #include <QWidget>
 
 using std::shared_ptr;
@@ -49,7 +50,7 @@ protected:
         * if no view item is being hovered over.
         * @remarks the default implementation does nothing.
         */
-       virtual void item_hover(const shared_ptr<ViewItem> &item);
+       virtual void item_hover(const shared_ptr<ViewItem> &item, QPoint pos);
 
        /**
         * Indicates the event an a view item has been clicked.