X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fstandardbar.hpp;h=94a6d81b3e3f9f0ac47c219bd9efea0cbd82d580;hp=09c7907f3da3f4fc5fdb55bfa548267bd0fbce28;hb=7f9654641c096b303fc30b710335e235b9738ce9;hpb=1becee23bdd2b44145b753edd05bf01f7fb0707e diff --git a/pv/views/trace/standardbar.hpp b/pv/views/trace/standardbar.hpp index 09c7907f..94a6d81b 100644 --- a/pv/views/trace/standardbar.hpp +++ b/pv/views/trace/standardbar.hpp @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -61,6 +62,8 @@ public: protected: virtual void add_toolbar_widgets(); + virtual void show_multi_segment_ui(const bool state); + Session &session_; trace::View *view_; @@ -70,6 +73,8 @@ protected: QAction *const action_view_zoom_one_to_one_; QAction *const action_view_show_cursors_; + QSpinBox *segment_selector_; + protected Q_SLOTS: void on_actionViewZoomIn_triggered(); @@ -82,6 +87,11 @@ protected Q_SLOTS: void on_actionViewShowCursors_triggered(); void on_always_zoom_to_fit_changed(bool state); + + void on_segment_added(); + +private: + vector multi_segment_actions_; }; } // namespace trace