]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/timemarker.hpp
DecodeTrace: Allow row hiding
[pulseview.git] / pv / views / trace / timemarker.hpp
index 327a498ffe964295d876eb6ea40d38ddb50557f4..cd7c84d279747cddf13fb0a6fd58c11af5292b3f 100644 (file)
@@ -74,8 +74,6 @@ public:
 
        float get_x() const override;
 
-       virtual const pv::util::Timestamp delta(const pv::util::Timestamp& other) const override;
-
        /**
         * Gets the arrow-tip point of the time marker.
         * @param rect the rectangle of the ruler area.
@@ -101,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.