add theme setup wizard
Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
parent
61144f7a21
commit
1b80ae0fca
18 changed files with 982 additions and 288 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue