26 QML_VALUE_TYPE(corners)
27 QML_CONSTRUCTIBLE_VALUE
45 qreal
radius() const noexcept;
60 Q_INVOKABLE QVector4D
toVector4D() const noexcept;
61 operator QVector4D() const noexcept;
Represents the corner radii for a rectangular material-design shape.
Definition cornersgroup.h:24
void setRadius(qreal) noexcept
Sets all four corner radii to the same value.
Definition cornersgroup.cpp:111
qreal topLeft
Definition cornersgroup.h:29
Q_INVOKABLE QVector4D toVector4D() const noexcept
Converts the corner radii to a QVector4D.
Definition cornersgroup.cpp:195
void setBottomLeft(qreal newBottomLeft) noexcept
Sets the bottom-left corner radius.
Definition cornersgroup.cpp:168
qreal bottomLeft
Definition cornersgroup.h:31
qreal bottomRight
Definition cornersgroup.h:32
void setBottomRight(qreal newBottomRight) noexcept
Sets the bottom-right corner radius.
Definition cornersgroup.cpp:186
void setTopLeft(qreal newTopLeft) noexcept
Sets the top-left corner radius.
Definition cornersgroup.cpp:132
qreal topRight
Definition cornersgroup.h:30
void setTopRight(qreal newTopRight) noexcept
Sets the top-right corner radius.
Definition cornersgroup.cpp:150
QML_CONSTRUCTIBLE_VALUEqreal radius
Definition cornersgroup.h:28
Definition rectangle.cpp:26