mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-02 16:15:28 +08:00
update
This commit is contained in:
21
src/FluTheme.h
Normal file
21
src/FluTheme.h
Normal file
@ -0,0 +1,21 @@
|
||||
#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
|
Reference in New Issue
Block a user