DtkWidget 5.6.0.2
DTK Widget module
Public 成员函数 | 所有成员列表
Dtk::Widget::DKeyLabel类 参考
类 Dtk::Widget::DKeyLabel 继承关系图:
Inheritance graph
[图例]
Dtk::Widget::DKeyLabel 的协作图:
Collaboration graph
[图例]

Public 成员函数

 DKeyLabel (QString text, QWidget *parent=nullptr)
 
void paintEvent (QPaintEvent *event)
 
void drawShadow (QPainter *p, const QRect &rect, const QColor &color) const
 
- Public 成员函数 继承自 Dtk::Widget::DFrame
 DFrame (QWidget *parent=nullptr)
 DFrame::DFrame 用于其他需要边框的widget的基类 parent
 
void setFrameRounded (bool on)
 DFrame::setFrameRounded设置边框圆角是否开启 on true开启 false关闭
 
void setBackgroundRole (DGUI_NAMESPACE::DPalette::ColorType type)
 DFrame::setBackgroundRole 设置边框背景画刷的角色类型 type 背景画刷的角色类型
 

额外继承的成员函数

- Protected 成员函数 继承自 Dtk::Widget::DFrame
 DFrame (DFramePrivate &dd, QWidget *parent=nullptr)
 
void paintEvent (QPaintEvent *event) override
 

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