X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimemarker.hpp;h=cd7c84d279747cddf13fb0a6fd58c11af5292b3f;hb=e887fe9e6ede73b9fe9ace9c6bfd4f6a096eb3b2;hp=99c56d34beedad769a7b4e988b456178210fa412;hpb=9f094349d415a37ec30fa2aa2bb6c979c03d6bc1;p=pulseview.git diff --git a/pv/views/trace/timemarker.hpp b/pv/views/trace/timemarker.hpp index 99c56d34..cd7c84d2 100644 --- a/pv/views/trace/timemarker.hpp +++ b/pv/views/trace/timemarker.hpp @@ -99,6 +99,11 @@ public: */ virtual QString get_text() const = 0; + /** + * Sets the text to show in the marker. + */ + virtual void set_text(const QString &text); + /** * Paints the marker's label to the ruler. * @param p The painter to draw with.