X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=d8374a354ff432c3d2edbfff810e6fb909c3389c;hp=d23bf637153a093b277671aad684d506ec31a561;hb=374c697f74ba8abbfe2a014416eb398bb460d1c3;hpb=528a195cc11e21affe35c923f42893d74031387a diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index d23bf63..d8374a3 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -52,6 +52,7 @@ class GlobalSettings : public QSettings public: static const QString Key_General_Theme; + static const QString Key_General_Style; static const QString Key_View_ZoomToFitDuringAcq; static const QString Key_View_ZoomToFitAfterAcq; static const QString Key_View_TriggerIsZeroTime; @@ -81,8 +82,8 @@ public: GlobalSettings(); void set_defaults_where_needed(); + void save_internal_defaults(); - void save_default_palette(); void apply_theme(); static void add_change_handler(GlobalSettingsInterface *cb); @@ -122,6 +123,7 @@ private: static bool tracking_; static map tracked_changes_; + static QString default_style_; static QPalette default_palette_; };