]> sigrok.org Git - pulseview.git/blobdiff - pv/dialogs/settings.hpp
Fix a few #include guard inconsistencies.
[pulseview.git] / pv / dialogs / settings.hpp
index a51bc97a93de5f8ddc5d8248d6ecda6b03866d56..157fa6ba1de7881a3c265ffa4b7790af957b56be 100644 (file)
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_SETTINGS_HPP
-#define PULSEVIEW_PV_SETTINGS_HPP
+#ifndef PULSEVIEW_PV_DIALOGS_SETTINGS_HPP
+#define PULSEVIEW_PV_DIALOGS_SETTINGS_HPP
 
 #include <QCheckBox>
+#include <QColor>
 #include <QDialog>
 #include <QListWidget>
 #include <QPlainTextEdit>
@@ -46,6 +47,7 @@ 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;
@@ -56,20 +58,29 @@ public:
 
 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_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_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_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);
@@ -91,4 +102,4 @@ private:
 } // namespace dialogs
 } // namespace pv
 
-#endif // PULSEVIEW_PV_SETTINGS_HPP
+#endif // PULSEVIEW_PV_DIALOGS_SETTINGS_HPP