完善设置中的亮色暗色设置与UI的集成

This commit is contained in:
RigoLigoRLC
2022-02-17 18:16:41 +08:00
parent 2481adf29c
commit 8f8f479873
6 changed files with 73 additions and 6 deletions

View File

@@ -34,6 +34,8 @@ namespace SpkUi
public slots:
void SetAccentColor(QColor);
void SetDarkLightTheme(bool isDark);
signals:
void SetThemeButtonVisible(bool);
};
extern UiMetaObject SpkUiMetaObject;
@@ -52,6 +54,11 @@ namespace SpkUi
namespace States
{
extern bool IsDDE, IsUsingDtkPlugin;
extern bool DoRespondAutoTheme;
extern int LightDarkMode; ///< Tied to settings UI value
bool ThemeConfigCallback();
}
namespace Priv