mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 12:52:04 +08:00
完善设置中的亮色暗色设置与UI的集成
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user