mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-27 05:38:37 +08:00
54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
#ifndef FLUCOLORS_H
|
|
#define FLUCOLORS_H
|
|
|
|
#include <QObject>
|
|
#include <QtQml/qqml.h>
|
|
#include "FluColorSet.h"
|
|
#include "stdafx.h"
|
|
|
|
/**
|
|
* @brief The FluColors class
|
|
*/
|
|
class FluColors : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY_AUTO(QString,Black);
|
|
Q_PROPERTY_AUTO(QString,White);
|
|
Q_PROPERTY_AUTO(QString,Grey10);
|
|
Q_PROPERTY_AUTO(QString,Grey20);
|
|
Q_PROPERTY_AUTO(QString,Grey30);
|
|
Q_PROPERTY_AUTO(QString,Grey40);
|
|
Q_PROPERTY_AUTO(QString,Grey50);
|
|
Q_PROPERTY_AUTO(QString,Grey60);
|
|
Q_PROPERTY_AUTO(QString,Grey70);
|
|
Q_PROPERTY_AUTO(QString,Grey80);
|
|
Q_PROPERTY_AUTO(QString,Grey90);
|
|
Q_PROPERTY_AUTO(QString,Grey100);
|
|
Q_PROPERTY_AUTO(QString,Grey110);
|
|
Q_PROPERTY_AUTO(QString,Grey120);
|
|
Q_PROPERTY_AUTO(QString,Grey130);
|
|
Q_PROPERTY_AUTO(QString,Grey140);
|
|
Q_PROPERTY_AUTO(QString,Grey150);
|
|
Q_PROPERTY_AUTO(QString,Grey160);
|
|
Q_PROPERTY_AUTO(QString,Grey170);
|
|
Q_PROPERTY_AUTO(QString,Grey180);
|
|
Q_PROPERTY_AUTO(QString,Grey190);
|
|
Q_PROPERTY_AUTO(QString,Grey200);
|
|
Q_PROPERTY_AUTO(QString,Grey210);
|
|
Q_PROPERTY_AUTO(QString,Grey220);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Yellow);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Orange);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Red);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Magenta);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Purple);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Blue);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Teal);
|
|
Q_PROPERTY_AUTO(FluColorSet*,Green);
|
|
QML_NAMED_ELEMENT(FluColors)
|
|
QML_SINGLETON
|
|
public:
|
|
explicit FluColors(QObject *parent = nullptr);
|
|
};
|
|
|
|
#endif // FLUCOLORS_H
|