X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fsignal.hpp;h=2cc49a77d1962499c8bece819c5a0824485bf543;hp=7f88720f7943904142008b82d88f8103caefa464;hb=526c8c00a61aa5f6ac7e3ee56991db957b45828d;hpb=7f9654641c096b303fc30b710335e235b9738ce9 diff --git a/pv/views/trace/signal.hpp b/pv/views/trace/signal.hpp index 7f88720..2cc49a7 100644 --- a/pv/views/trace/signal.hpp +++ b/pv/views/trace/signal.hpp @@ -75,6 +75,10 @@ public: shared_ptr base() const; + void set_current_segment(const int segment); + + int get_current_segment() const; + virtual void save_settings(QSettings &settings) const; virtual void restore_settings(QSettings &settings); @@ -98,6 +102,9 @@ protected: pv::Session &session_; QComboBox *name_widget_; + + /// The ID of the currently displayed segment + int current_segment_; }; } // namespace trace