19 Q_PROPERTY(qreal glowRadius READ glowRadius WRITE setGlowRadius NOTIFY glowRadiusChanged)
20 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
21 Q_PROPERTY(qreal spread READ spread WRITE setSpread NOTIFY spreadChanged)
22 Q_PROPERTY(qreal relativeSizeX READ relativeSizeX WRITE setRelativeSizeX NOTIFY relativeSizeXChanged)
23 Q_PROPERTY(qreal relativeSizeY READ relativeSizeY WRITE setRelativeSizeY NOTIFY relativeSizeYChangd)
24 Q_PROPERTY(
bool fill READ fill WRITE setFill NOTIFY fillChanged)
26#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
27 QML_NAMED_ELEMENT(GlowEffect)
30 explicit DQuickGlow(QQuickItem *parent =
nullptr);
32 qreal glowRadius()
const;
33 void setGlowRadius(qreal radius);
36 void setColor(
const QColor &);
39 void setSpread(qreal radius);
41 qreal relativeSizeX()
const;
42 void setRelativeSizeX(qreal x);
44 qreal relativeSizeY()
const;
45 void setRelativeSizeY(qreal y);
50 void glowRadiusChanged();
53 void relativeSizeXChanged();
54 void relativeSizeYChangd();
58 QSGNode *updatePaintNode(QSGNode *, UpdatePaintNodeData *)
override;