X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Ftimemarker.hpp;fp=pv%2Fviews%2Ftrace%2Ftimemarker.hpp;h=00998462513f41c576f2e5e25f477308bc861c0e;hp=040a29ea78605fadcd5c2723ac37019b9691cca9;hb=ef6cbaa21144ff25a74d5940bbe1c11ab2717e42;hpb=3d396c8e797847eb0bcc3fc6901837c32acb2e7d diff --git a/pv/views/trace/timemarker.hpp b/pv/views/trace/timemarker.hpp index 040a29ea..00998462 100644 --- a/pv/views/trace/timemarker.hpp +++ b/pv/views/trace/timemarker.hpp @@ -95,7 +95,13 @@ public: QRectF hit_box_rect(const ViewItemPaintParams &pp) const override; /** - * Gets the text to show in the marker. + * Gets the current text to show in the marker - this may be dynamic. + */ + virtual QString get_display_text() const; + + /** + * Gets the default text used to show the marker - e.g. the user-editable + * name. */ virtual QString get_text() const = 0;