25 lines
568 B
C++
25 lines
568 B
C++
#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
|