]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/timemarker.hpp
Flags: Always save raw text, not display text in session setup
[pulseview.git] / pv / views / trace / timemarker.hpp
index 040a29ea78605fadcd5c2723ac37019b9691cca9..00998462513f41c576f2e5e25f477308bc861c0e 100644 (file)
@@ -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;