18 Q_PROPERTY(Direction arrowDirection READ arrowDirection WRITE setArrowDirection NOTIFY arrowDirectionChanged)
19 Q_PROPERTY(qreal width READ width WRITE setWidth NOTIFY widthChanged)
20 Q_PROPERTY(qreal height READ height WRITE setHeight NOTIFY heightChanged)
21 Q_PROPERTY(qreal arrowX READ arrowX WRITE setArrowX NOTIFY arrowXChanged)
22 Q_PROPERTY(qreal arrowY READ arrowY WRITE setArrowY NOTIFY arrowYChanged)
23 Q_PROPERTY(qreal arrowWidth READ arrowWidth WRITE setArrowWidth NOTIFY arrowWidthChanged)
24 Q_PROPERTY(qreal arrowHeight READ arrowHeight WRITE setArrowHeight NOTIFY arrowHeightChanged)
25 Q_PROPERTY(qreal roundedRadius READ roundedRadius WRITE setRoundedRadius NOTIFY roundedRadiusChanged)
26 Q_PROPERTY(qreal spread READ spread WRITE setSpread NOTIFY spreadChanged)
27#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
28 QML_NAMED_ELEMENT(ArrowBoxPath)
43 void setWidth(qreal newWidth);
46 void setHeight(qreal newHeight);
48 const Direction &arrowDirection()
const;
49 void setArrowDirection(
const Direction &newArrowDirection);
52 void setArrowX(qreal newArrowX);
55 void setArrowY(qreal newArrowY);
57 qreal arrowWidth()
const;
58 void setArrowWidth(qreal newArrowWidth);
60 qreal arrowHeight()
const;
61 void setArrowHeight(qreal newArrowHeight);
63 qreal roundedRadius()
const;
64 void setRoundedRadius(qreal newRoundedRadius);
67 void setSpread(qreal newSpread);
72 void arrowDirectionChanged();
75 void arrowWidthChanged();
76 void arrowHeightChanged();
77 void roundedRadiusChanged();
82 void addToPath(QPainterPath &path,
const QQuickPathData &)
override;
84 Direction m_arrowDirection;
91 qreal m_roundedRadius;