#ifndef QYRCOMPONENTS_H #define QYRCOMPONENTS_H #include class QYRComponents : public QQuickPaintedItem { Q_OBJECT QML_ELEMENT Q_DISABLE_COPY(QYRComponents) public: explicit QYRComponents(QQuickItem *parent = nullptr); void paint(QPainter *painter) override; ~QYRComponents() override; }; #endif // QYRCOMPONENTS_H