#include <roundedrectangle.h>
dnai::views::RoundedRectangle::RoundedRectangle |
( |
QQuickItem * |
parent = nullptr | ) |
|
bool dnai::views::RoundedRectangle::bottomLeft |
( |
| ) |
const |
|
inline |
void dnai::views::RoundedRectangle::bottomLeftChanged |
( |
bool |
value | ) |
|
|
signal |
bool dnai::views::RoundedRectangle::bottomRight |
( |
| ) |
const |
|
inline |
void dnai::views::RoundedRectangle::bottomRightChanged |
( |
bool |
value | ) |
|
|
signal |
int dnai::views::RoundedRectangle::getNumberRoundedCorner |
( |
| ) |
const |
|
private |
return the number of rounded corner
- Returns
- int
int dnai::views::RoundedRectangle::roundedSegments |
( |
| ) |
const |
|
inline |
void dnai::views::RoundedRectangle::roundedSegmentsChanged |
( |
uint |
segments | ) |
|
|
signal |
void dnai::views::RoundedRectangle::setBottomLeft |
( |
bool |
value | ) |
|
void dnai::views::RoundedRectangle::setBottomRight |
( |
bool |
value | ) |
|
void dnai::views::RoundedRectangle::setRoundedSegments |
( |
uint |
segments | ) |
|
void dnai::views::RoundedRectangle::setTopLeft |
( |
bool |
value | ) |
|
void dnai::views::RoundedRectangle::setTopRight |
( |
bool |
value | ) |
|
bool dnai::views::RoundedRectangle::topLeft |
( |
| ) |
const |
|
inline |
void dnai::views::RoundedRectangle::topLeftChanged |
( |
bool |
value | ) |
|
|
signal |
bool dnai::views::RoundedRectangle::topRight |
( |
| ) |
const |
|
inline |
void dnai::views::RoundedRectangle::topRightChanged |
( |
bool |
value | ) |
|
|
signal |
QSGNode * dnai::views::RoundedRectangle::updatePaintNode |
( |
QSGNode * |
oldNode, |
|
|
UpdatePaintNodeData * |
data |
|
) |
| |
|
overridevirtual |
Override updatePaintNode and draw a magnificient rounded rectangle.
- Returns
- QSGNode *
Reimplemented from dnai::views::CustomShape.
bool dnai::views::RoundedRectangle::m_bottomLeft |
|
private |
bool dnai::views::RoundedRectangle::m_bottomRight |
|
private |
uint dnai::views::RoundedRectangle::m_nbSegments |
|
private |
bool dnai::views::RoundedRectangle::m_topLeft |
|
private |
bool dnai::views::RoundedRectangle::m_topRight |
|
private |
bool dnai::views::RoundedRectangle::bottomLeft |
|
readwrite |
bool dnai::views::RoundedRectangle::bottomRight |
|
readwrite |
uint dnai::views::RoundedRectangle::roundedSegments |
|
readwrite |
bool dnai::views::RoundedRectangle::topLeft |
|
readwrite |
bool dnai::views::RoundedRectangle::topRight |
|
readwrite |
The documentation for this class was generated from the following files: