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;
static const QString Key_View_DefaultLogicHeight;
static const QString Key_View_ShowHoverMarker;
static const QString Key_View_SnapDistance;
+ static const QString Key_View_CursorFillColor;
static const QString Key_Dec_InitialStateConfigurable;
static const QString Key_Dec_ExportFormat;
static const QString Key_Log_BufferSize;
public:
GlobalSettings();
+ void save_internal_defaults();
void set_defaults_where_needed();
+ void set_bright_theme_default_colors();
+ void set_dark_theme_default_colors();
- void save_default_palette();
+ bool current_theme_is_dark();
void apply_theme();
static void add_change_handler(GlobalSettingsInterface *cb);
static bool tracking_;
static map<QString, QVariant> tracked_changes_;
+ static QString default_style_;
static QPalette default_palette_;
+
+ bool is_dark_theme_;
};
} // namespace pv