X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fviews%2Ftrace%2Fflag.hpp;h=4c4c977f0d19254bf17b199c6ede54e688a2d60a;hb=8ff61402dc4ac33630deeb077e8a744a7daba6a4;hp=5edf90b01ef63997595415d32e0fc6faea35c0d3;hpb=710c2a1896fbac968c82f2d1257aaabd10a48cc8;p=pulseview.git
diff --git a/pv/views/trace/flag.hpp b/pv/views/trace/flag.hpp
index 5edf90b0..4c4c977f 100644
--- a/pv/views/trace/flag.hpp
+++ b/pv/views/trace/flag.hpp
@@ -17,8 +17,8 @@
* along with this program; if not, see .
*/
-#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
-#define PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACE_FLAG_HPP
+#define PULSEVIEW_PV_VIEWS_TRACE_FLAG_HPP
#include
@@ -67,6 +67,11 @@ public:
*/
virtual QString get_text() const override;
+ /**
+ * Sets the text to show in the marker.
+ */
+ virtual void set_text(const QString &text) override;
+
virtual pv::widgets::Popup* create_popup(QWidget *parent) override;
virtual QMenu* create_header_context_menu(QWidget *parent) override;
@@ -88,4 +93,4 @@ private:
} // namespace views
} // namespace pv
-#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_FLAG_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACE_FLAG_HPP