X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdialogs%2Fsettings.hpp;h=c8ba8162e03a4c03313e72515e01ff08ccfe71cd;hp=f5efe35342b5e35ac82fb0786d66b4328b64b97a;hb=HEAD;hpb=4521022bf4ea07aff38bfa09fe0f7d5702b26475 diff --git a/pv/dialogs/settings.hpp b/pv/dialogs/settings.hpp index f5efe353..bd3572ff 100644 --- a/pv/dialogs/settings.hpp +++ b/pv/dialogs/settings.hpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_SETTINGS_HPP -#define PULSEVIEW_PV_SETTINGS_HPP +#ifndef PULSEVIEW_PV_DIALOGS_SETTINGS_HPP +#define PULSEVIEW_PV_DIALOGS_SETTINGS_HPP #include #include @@ -47,33 +47,43 @@ public: QCheckBox *create_checkbox(const QString& key, const char* slot) const; QPlainTextEdit *create_log_view() const; + QWidget *get_general_settings_form(QWidget *parent) const; QWidget *get_view_settings_form(QWidget *parent) const; QWidget *get_decoder_settings_form(QWidget *parent); QWidget *get_about_page(QWidget *parent) const; QWidget *get_logging_page(QWidget *parent) const; +private Q_SLOTS: void accept(); void reject(); -private Q_SLOTS: void on_page_changed(QListWidgetItem *current, QListWidgetItem *previous); + void on_general_language_changed(const QString &text); + void on_general_theme_changed(int value); + void on_general_style_changed(int value); + void on_general_save_with_setup_changed(int state); + void on_general_start_all_sessions_changed(int state); void on_view_zoomToFitDuringAcq_changed(int state); void on_view_zoomToFitAfterAcq_changed(int state); void on_view_triggerIsZero_changed(int state); void on_view_coloredBG_changed(int state); void on_view_stickyScrolling_changed(int state); + void on_view_allowVerticalDragging_changed(int state); void on_view_showSamplingPoints_changed(int state); void on_view_fillSignalHighAreas_changed(int state); void on_view_fillSignalHighAreaColor_changed(QColor color); void on_view_showAnalogMinorGrid_changed(int state); void on_view_showHoverMarker_changed(int state); + void on_view_keepRulerItemSelected_changed(int state); void on_view_snapDistance_changed(int value); + void on_view_cursorFillColor_changed(QColor color); void on_view_conversionThresholdDispMode_changed(int state); void on_view_defaultDivHeight_changed(int value); void on_view_defaultLogicHeight_changed(int value); #ifdef ENABLE_DECODE void on_dec_initialStateConfigurable_changed(int state); void on_dec_exportFormat_changed(const QString &text); + void on_dec_alwaysshowallrows_changed(int state); #endif void on_log_logLevel_changed(int value); void on_log_bufferSize_changed(int value); @@ -95,4 +105,4 @@ private: } // namespace dialogs } // namespace pv -#endif // PULSEVIEW_PV_SETTINGS_HPP +#endif // PULSEVIEW_PV_DIALOGS_SETTINGS_HPP