mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 19:20:59 +08:00
22 lines
397 B
C
22 lines
397 B
C
|
#ifndef FLUTHEME_H
|
|||
|
#define FLUTHEME_H
|
|||
|
|
|||
|
#include <QObject>
|
|||
|
#include "FluColorSet.h"
|
|||
|
#include "stdafx.h"
|
|||
|
|
|||
|
class FluTheme : public QObject
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
Q_PROPERTY_AUTO(FluColorSet*,primaryColor)
|
|||
|
Q_PROPERTY_AUTO(bool,isDark);
|
|||
|
public:
|
|||
|
explicit FluTheme(QObject *parent = nullptr);
|
|||
|
static FluTheme *getInstance();
|
|||
|
private:
|
|||
|
static FluTheme* m_instance;
|
|||
|
|
|||
|
};
|
|||
|
|
|||
|
#endif // FLUTHEME_H
|