X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=6902a097406edb187c53c5effc7c550aa26e4165;hb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a;hp=a65a723c0c0e85f4704fa38bb712a8e68276c0ba;hpb=8962d7b3b640b5f07f26a4b4ebee839c4880b69d;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index a65a723c..6902a097 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -71,6 +71,7 @@ public: static const QString Key_View_CursorFillColor; static const QString Key_Dec_InitialStateConfigurable; static const QString Key_Dec_ExportFormat; + static const QString Key_Dec_AlwaysShowAllRows; static const QString Key_Log_BufferSize; static const QString Key_Log_NotifyOfStacktrace; @@ -88,7 +89,7 @@ public: void set_bright_theme_default_colors(); void set_dark_theme_default_colors(); - bool current_theme_is_dark(); + static bool current_theme_is_dark(); void apply_theme(); static void add_change_handler(GlobalSettingsInterface *cb); @@ -131,7 +132,7 @@ private: static QString default_style_; static QPalette default_palette_; - bool is_dark_theme_; + static bool is_dark_theme_; }; } // namespace pv