Kylin/Fluent/AccentColor.h
2024-08-31 04:13:21 +08:00

23 lines
500 B
C++

#ifndef __ACCENTCOLOR_H__
#define __ACCENTCOLOR_H__
#include "Utilities.h"
#include <QObject>
class AccentColor : 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_ELEMENT
public:
AccentColor(QObject *parent = nullptr);
};
#endif // __ACCENTCOLOR_H__