#ifndef FLURECTANGLE_H #define FLURECTANGLE_H #include #include #include #include "stdafx.h" /** * @brief The FluRectangle class */ class FluRectangle : public QQuickPaintedItem { Q_OBJECT Q_PROPERTY_AUTO(QColor,color) Q_PROPERTY_AUTO(QList,radius) QML_NAMED_ELEMENT(FluRectangle) public: explicit FluRectangle(QQuickItem *parent = nullptr); void paint(QPainter* painter) override; }; #endif // FLURECTANGLE_H