]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/timemarker.hpp
trace: Whitespace fix
[pulseview.git] / pv / views / trace / timemarker.hpp
index 040a29ea78605fadcd5c2723ac37019b9691cca9..f67a0f17a1e36567bb050afa23d6ecedaccdbb2c 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;
 
@@ -122,6 +128,8 @@ public:
        virtual pv::widgets::Popup* create_popup(QWidget *parent) override;
 
 private Q_SLOTS:
+       void on_popup_closed();
+
        void on_value_changed(const pv::util::Timestamp& value);
 
 protected: