X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=adb9168a1fbc3be027db6f7ee16df0930b501de4;hb=3d6ff1cd;hp=6902a097406edb187c53c5effc7c550aa26e4165;hpb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index 6902a097..adb9168a 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -51,6 +51,7 @@ class GlobalSettings : public QSettings Q_OBJECT public: + static const QString Key_General_Language; static const QString Key_General_Theme; static const QString Key_General_Style; static const QString Key_General_SaveWithSetup; @@ -69,6 +70,9 @@ public: static const QString Key_View_ShowHoverMarker; static const QString Key_View_SnapDistance; static const QString Key_View_CursorFillColor; + static const QString Key_View_CursorShowInterval; + static const QString Key_View_CursorShowFrequency; + static const QString Key_View_CursorShowSamples; static const QString Key_Dec_InitialStateConfigurable; static const QString Key_Dec_ExportFormat; static const QString Key_Dec_AlwaysShowAllRows; @@ -92,6 +96,8 @@ public: static bool current_theme_is_dark(); void apply_theme(); + void apply_language(); + static void add_change_handler(GlobalSettingsInterface *cb); static void remove_change_handler(GlobalSettingsInterface *cb);