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.
*/
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.