roundedrectangle.h
Go to the documentation of this file.
20 Q_PROPERTY(uint roundedSegments READ roundedSegments WRITE setRoundedSegments NOTIFY roundedSegmentsChanged)
virtual QSGNode * updatePaintNode(QSGNode *, UpdatePaintNodeData *) override
Override updatePaintNode and draw a magnificient rounded rectangle.
Definition: roundedrectangle.cpp:81
Definition: customshape.h:10
void topLeftChanged(bool value)
Definition: moc_roundedrectangle.cpp:238
void setBottomRight(bool value)
Definition: roundedrectangle.cpp:49
void setTopLeft(bool value)
Definition: roundedrectangle.cpp:22
int getNumberRoundedCorner() const
return the number of rounded corner
Definition: roundedrectangle.cpp:67
void setBottomLeft(bool value)
Definition: roundedrectangle.cpp:40
void topRightChanged(bool value)
Definition: moc_roundedrectangle.cpp:245
int roundedSegments() const
Definition: roundedrectangle.h:37
Definition: roundedrectangle.h:11
void setRoundedSegments(uint segments)
Definition: roundedrectangle.cpp:58
Definition: api.h:13
void bottomLeftChanged(bool value)
Definition: moc_roundedrectangle.cpp:252
bool bottomRight() const
Definition: roundedrectangle.h:35
void roundedSegmentsChanged(uint segments)
Definition: moc_roundedrectangle.cpp:266
void setTopRight(bool value)
Definition: roundedrectangle.cpp:31
void bottomRightChanged(bool value)
Definition: moc_roundedrectangle.cpp:259