20 Q_PROPERTY(QQuickItem *source READ source WRITE setSource NOTIFY sourceChanged)
21 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
22 Q_PROPERTY(
bool cached READ cached WRITE setCached NOTIFY cachedChanged)
23#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
31 void setColor(
const QColor &color);
33 QQuickItem *source()
const;
34 void setSource(QQuickItem *item);
36 void setCached(
bool cached);
46 QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *)
override;