mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 15:06:52 +08:00
25 lines
551 B
C++
25 lines
551 B
C++
#pragma once
|
|
|
|
#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);
|
|
};
|