]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/viewitem.hpp
Implement expansion marker animation and its infrastructure
[pulseview.git] / pv / views / trace / viewitem.hpp
index c445f609063df6386579d6fa6cebf74fd4a11c19..423e75d2f313e38ec7cd156831c1119edaea47f8 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <list>
 
+#include <QMouseEvent>
 #include <QPen>
 #include <QPoint>
 
@@ -169,6 +170,12 @@ public:
 
        virtual void hover_point_changed(const QPoint &hp);
 
+       /**
+        * Handles left mouse button press events.
+        * @param event the mouse event that triggered this handler.
+        */
+       virtual void mouse_left_press_event(const QMouseEvent* event);
+
 protected:
        static QPen highlight_pen();