X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fsettings.hpp;h=0ae98e002ca8af56a6a1b7f734ece4bad2875c1c;hp=741856fce758e3e67626ca094fad56627b0087f8;hb=72df22b8e67cd47cca3d55a52fd058d37460f1fe;hpb=051ba3b399abbd83fea8b7ef6f8876884ac0786c diff --git a/pv/dialogs/settings.hpp b/pv/dialogs/settings.hpp index 741856fc..0ae98e00 100644 --- a/pv/dialogs/settings.hpp +++ b/pv/dialogs/settings.hpp @@ -20,6 +20,7 @@ #ifndef PULSEVIEW_PV_SETTINGS_HPP #define PULSEVIEW_PV_SETTINGS_HPP +#include #include #include #include @@ -35,11 +36,13 @@ class Settings : public QDialog Q_OBJECT public: - Settings(DeviceManager &device_manager, QWidget *parent = 0); + Settings(DeviceManager &device_manager, QWidget *parent = nullptr); void create_pages(); + QCheckBox *create_checkbox(const QString& key, const char* slot) const; 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(); @@ -51,6 +54,8 @@ private Q_SLOTS: 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_;