FluentUI/src/FluAccentColor.h

25 lines
551 B
C
Raw Normal View History

2024-04-11 14:51:43 +08:00
#pragma once
2024-03-07 13:58:23 +08:00
#include <QObject>
#include <QtQml/qqml.h>
#include <QColor>
#include "stdafx.h"
/**
* @brief The FluAccentColor class
*/
2024-04-11 14:51:43 +08:00
class FluAccentColor : public QObject {
2024-06-28 17:09:23 +08:00
Q_OBJECT
2024-04-11 14:51:43 +08:00
2024-06-28 17:09:23 +08:00
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)
2024-03-07 13:58:23 +08:00
QML_NAMED_ELEMENT(FluAccentColor)
public:
explicit FluAccentColor(QObject *parent = nullptr);
};