feat: 添加ElaWidgetTool库
This commit is contained in:
25
ElaWidgetTools/private/ElaThemePrivate.h
Normal file
25
ElaWidgetTools/private/ElaThemePrivate.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef ELATHEMEPRIVATE_H
|
||||
#define ELATHEMEPRIVATE_H
|
||||
|
||||
#include <QColor>
|
||||
#include <QMap>
|
||||
#include <QObject>
|
||||
|
||||
#include "ElaDef.h"
|
||||
class ElaTheme;
|
||||
class ElaThemePrivate : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_D_CREATE(ElaTheme)
|
||||
public:
|
||||
explicit ElaThemePrivate(QObject* parent = nullptr);
|
||||
~ElaThemePrivate();
|
||||
|
||||
private:
|
||||
ElaThemeType::ThemeMode _themeMode{ElaThemeType::Light};
|
||||
QColor _lightThemeColorList[42];
|
||||
QColor _darkThemeColorList[42];
|
||||
void _initThemeColor();
|
||||
};
|
||||
|
||||
#endif // ELATHEMEPRIVATE_H
|
||||
Reference in New Issue
Block a user