DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
Dtk::Quick::DQuickRectangle类 参考
类 Dtk::Quick::DQuickRectangle 继承关系图:

Public 类型

enum  Corner {
  NoneCorner = 0x0 , TopLeftCorner = 0x1 , TopRightCorner = 0x2 , BottomLeftCorner = 0x4 ,
  BottomRightCorner = 0x8 , TopCorner = TopLeftCorner | TopRightCorner , BottomCorner = BottomLeftCorner| BottomRightCorner , LeftCorner = TopLeftCorner| BottomLeftCorner ,
  RightCorner = TopRightCorner| BottomRightCorner , AllCorner = TopCorner | BottomCorner
}
 

信号

void colorChanged ()
 
void radiusChanged ()
 
void cornersChanged ()
 

Public 成员函数

 DQuickRectangle (QQuickItem *parent=nullptr)
 
QColor color () const
 
void setColor (const QColor &color)
 
qreal radius () const
 
void setRadius (qreal radius)
 
DQuickRectangle::Corners corners () const
 
void setCorners (Corners corners)
 

Protected 成员函数

QSGNode * updatePaintNode (QSGNode *, UpdatePaintNodeData *) override
 
 DQuickRectangle (DQuickRectanglePrivate &dd, QQuickItem *parent=nullptr)
 

属性

QColor color
 
qreal radius
 
Corners corners
 

该类的文档由以下文件生成: