add theme setup wizard

Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
Tayou
2022-10-22 19:43:04 +02:00
parent 61144f7a21
commit 1b80ae0fca
18 changed files with 982 additions and 288 deletions

View File

@ -41,11 +41,12 @@ class ThemeManager {
QList<ITheme*> getValidApplicationThemes();
void setIconTheme(const QString& name);
void applyCurrentlySelectedTheme();
void setApplicationTheme(const QString& name, bool initial);
void setApplicationTheme(const QString& name);
private:
std::map<QString, std::unique_ptr<ITheme>> m_themes;
MainWindow* m_mainWindow;
bool m_firstThemeInitialized;
QString AddTheme(std::unique_ptr<ITheme> theme);
ITheme* GetTheme(QString themeId);