Flesh out segment display mode handling
[pulseview.git] / pv / views / trace / standardbar.hpp
index 8640b4c9520ae01b0f41a2721a8cd4da8261a13a..a6e8606e132831044de132780cfecdd677167e8c 100644 (file)
@@ -75,6 +75,9 @@ protected:
 
        QSpinBox *segment_selector_;
 
+Q_SIGNALS:
+       void segment_selected(int segment_id);
+
 protected Q_SLOTS:
        void on_actionViewZoomIn_triggered();
 
@@ -89,6 +92,9 @@ protected Q_SLOTS:
        void on_always_zoom_to_fit_changed(bool state);
 
        void on_new_segment(int new_segment_id);
+       void on_segment_changed(int segment_id);
+       void on_segment_selected(int ui_segment_id);
+       void on_segment_display_mode_changed(bool segment_selectable);
 
 private:
        vector<QAction*> multi_segment_actions_;