9 QML_VALUE_TYPE(corners)
10 QML_CONSTRUCTIBLE_VALUE
12 Q_PROPERTY(qreal topLeft READ topLeft WRITE setTopLeft FINAL)
13 Q_PROPERTY(qreal topRight READ topRight WRITE setTopRight FINAL)
14 Q_PROPERTY(qreal bottomLeft READ bottomLeft WRITE setBottomLeft FINAL)
15 Q_PROPERTY(qreal bottomRight READ bottomRight WRITE setBottomRight FINAL)
18 Q_INVOKABLE CornersGroup() noexcept;
19 Q_INVOKABLE CornersGroup(qreal) noexcept;
20 Q_INVOKABLE CornersGroup(qreal bottomRight, qreal topRight, qreal bottomLeft,
21 qreal topLeft) noexcept;
24 CornersGroup(const CornersGroup&) = default;
25 CornersGroup(CornersGroup&&) = default;
26 CornersGroup& operator=(const CornersGroup&) = default;
27 CornersGroup& operator=(CornersGroup&&) = default;
29 Q_INVOKABLE qreal radius() const noexcept;
30 void setRadius(qreal) noexcept;
32 qreal topLeft() const noexcept;
33 void setTopLeft(qreal newTopLeft) noexcept;
35 qreal topRight() const noexcept;
36 void setTopRight(qreal newTopRight) noexcept;
38 qreal bottomLeft() const noexcept;
39 void setBottomLeft(qreal newBottomLeft) noexcept;
41 qreal bottomRight() const noexcept;
42 void setBottomRight(qreal newBottomRight) noexcept;
44 Q_INVOKABLE QVector4D toVector4D() const noexcept;
45 operator QVector4D() const noexcept;