mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 23:16:53 +08:00
28 lines
608 B
C++
28 lines
608 B
C++
#ifndef FLUACCENTCOLOR_H
|
|
#define FLUACCENTCOLOR_H
|
|
|
|
#include <QObject>
|
|
#include <QtQml/qqml.h>
|
|
#include <QColor>
|
|
#include "stdafx.h"
|
|
|
|
/**
|
|
* @brief The FluAccentColor class
|
|
*/
|
|
class FluAccentColor : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY_AUTO(QColor,darkest)
|
|
Q_PROPERTY_AUTO(QColor,darker)
|
|
Q_PROPERTY_AUTO(QColor,dark)
|
|
Q_PROPERTY_AUTO(QColor,normal)
|
|
Q_PROPERTY_AUTO(QColor,light)
|
|
Q_PROPERTY_AUTO(QColor,lighter)
|
|
Q_PROPERTY_AUTO(QColor,lightest)
|
|
QML_NAMED_ELEMENT(FluAccentColor)
|
|
public:
|
|
explicit FluAccentColor(QObject *parent = nullptr);
|
|
};
|
|
|
|
#endif // FLUACCENTCOLOR_H
|