]> sigrok.org Git - pulseview.git/blobdiff - pv/globalsettings.hpp
Rename "always zoom-to-fit" to "zoom-to-fit during acquisition"
[pulseview.git] / pv / globalsettings.hpp
index 930bb5bbfcceee55f7fdea1cf9cab54831208901..eb964fa2c677b802fe077e2da34de722328d6328 100644 (file)
@@ -38,7 +38,8 @@ class GlobalSettings : public QSettings
        Q_OBJECT
 
 public:
-       static const QString Key_View_AlwaysZoomToFit;
+       static const QString Key_View_ZoomToFitDuringAcq;
+       static const QString Key_View_ZoomToFitAfterAcq;
        static const QString Key_View_ColouredBG;
        static const QString Key_View_StickyScrolling;
        static const QString Key_View_ShowSamplingPoints;
@@ -48,6 +49,8 @@ public:
 public:
        GlobalSettings();
 
+       void set_defaults_where_needed();
+
        static void register_change_handler(const QString key,
                function<void(QVariant)> cb);