X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=b2b3626ed05febc0e7c7b51c9491a75aa826a496;hb=28ceff251c776bcf99eafae691e70a521af15957;hp=1c07c308d71a5170e9c227a251fa14238aafde01;hpb=8ad61f4071a69445a6917d214b6592878447ddb1;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index 1c07c30..b2b3626 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -39,14 +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);