Issue #181: where is the dark mode?

This commit is contained in:
Jakub Melka
2024-06-27 14:15:05 +02:00
parent 625a4307d0
commit 3a57bc6de5
2 changed files with 19 additions and 6 deletions

View File

@ -60,8 +60,10 @@ public:
/// Apply style to the widget
static void style(QWidget* widget);
/// Vrátí true, pokud je aktuálně nastavená dark theme
/// pro aplikaci.
/// Overrides automatically detected dark theme / light theme settings
static void overrideDarkTheme(bool isDarkTheme);
/// Returns true if the dark theme is currently set for the application.
static bool isDarkTheme();
/// Converts an action's icon for use in a dark theme.