]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.h
Added get_context_bar_actions
[pulseview.git] / pv / view / timemarker.h
index 2536db75b649694a05a3fe919c3eb7dd524fef27..8d8ae162e909c3738e628477fbdc327b77f59bc0 100644 (file)
@@ -82,6 +82,12 @@ public:
        virtual void paint_label(QPainter &p, const QRect &rect,
                unsigned int prefix) = 0;
 
+       /**
+        * Returns a list of context menu items to show in the context
+        * bar.
+        */
+       const std::list<QAction*> get_context_bar_actions();
+
 signals:
        void time_changed();