X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fsettings.hpp;h=c8ba8162e03a4c03313e72515e01ff08ccfe71cd;hb=cd38c84cb223ba9ecb01d9b0fc0ac11cd9e1d7a1;hp=9aff1f137f0a2bcac155e60c76c8bb2ac70cb35d;hpb=ab185f78707eb2800c8b9ea577412ea5f6319f22;p=pulseview.git diff --git a/pv/dialogs/settings.hpp b/pv/dialogs/settings.hpp index 9aff1f13..c8ba8162 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 @@ -53,19 +53,22 @@ public: 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_theme_changed_changed(int state); - void on_general_style_changed(int state); + 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); @@ -101,4 +104,4 @@ private: } // namespace dialogs } // namespace pv -#endif // PULSEVIEW_PV_SETTINGS_HPP +#endif // PULSEVIEW_PV_DIALOGS_SETTINGS_HPP