X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=b2b3626ed05febc0e7c7b51c9491a75aa826a496;hb=28ceff251c776bcf99eafae691e70a521af15957;hp=45247377391267eada5bb5438ce841870022c3ee;hpb=6f925ba9d6faf1077b73c5a5808259576081716a;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index 4524737..b2b3626 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -39,13 +39,18 @@ class GlobalSettings : public QSettings public: static const QString Key_View_AlwaysZoomToFit; + static const QString Key_View_ZoomToFitAfterAcq; static const QString Key_View_ColouredBG; static const QString Key_View_StickyScrolling; static const QString Key_View_ShowSamplingPoints; + static const QString Key_View_ShowAnalogMinorGrid; + static const QString Key_Dec_InitialStateConfigurable; public: GlobalSettings(); + void set_defaults_where_needed(); + static void register_change_handler(const QString key, function cb);