Settings: Only show initial pin config UI elements if enabled
[pulseview.git] / pv / dialogs / settings.hpp
index b204d683ad24829edcfa6f94084206d7bf289d86..bc6542d3e4243f5b90eccebcf5df9754b1418c66 100644 (file)
@@ -35,11 +35,12 @@ class Settings : public QDialog
        Q_OBJECT
 
 public:
-       Settings(DeviceManager &device_manager, QWidget *parent = 0);
+       Settings(DeviceManager &device_manager, QWidget *parent = nullptr);
 
        void create_pages();
 
        QWidget *get_view_settings_form(QWidget *parent) const;
+       QWidget *get_decoder_settings_form(QWidget *parent) const;
        QWidget *get_about_page(QWidget *parent) const;
 
        void accept();
@@ -50,6 +51,9 @@ private Q_SLOTS:
        void on_view_alwaysZoomToFit_changed(int state);
        void on_view_colouredBG_changed(int state);
        void on_view_stickyScrolling_changed(int state);
+       void on_view_showSamplingPoints_changed(int state);
+       void on_view_showAnalogMinorGrid_changed(int state);
+       void on_dec_initialStateConfigurable_changed(int state);
 
 private:
        DeviceManager &device_manager_;