DtkWidget 5.6.0.2
DTK Widget module
|
DSwitchHeaderLine 类用于提供 DSwitchLineExpand 的标题栏. 更多...
信号 | |
void | checkedChanged (bool arg) |
信号在控件开关状态发生改变时触发. arg checked状态 | |
Public 成员函数 | |
DSwitchHeaderLine (QWidget *parent=0) | |
DSwitchHeaderLine::DSwitchHeaderLine 为 DSwitchHeaderLine 的构造函数. parent 指定了控件的父控件。 更多... | |
void | setExpand (bool value) |
DSwitchHeaderLine::setExpand 用于设置控件的开关状态. value 为指定的开关状态,true 为开, false 为关。 | |
![]() | |
DHeaderLine (QWidget *parent=0) | |
void | setTitle (const QString &title) |
Set the title of the header line. 更多... | |
void | setContent (QWidget *content) |
Set the content widget of the header line. 更多... | |
QString | title () const |
Title of the header line. 更多... | |
![]() | |
DBaseLine (QWidget *parent=0) | |
void | setLeftContent (QWidget *content) |
set left content widget 更多... | |
void | setRightContent (QWidget *content) |
set right content widget 更多... | |
QBoxLayout * | leftLayout () |
get left layout 更多... | |
QBoxLayout * | rightLayout () |
get right layout 更多... | |
void | setLeftMargin (int margin) |
set left margin 更多... | |
void | setRightMargin (int margin) |
set right margin 更多... | |
int | leftMargin () const |
get left margin 更多... | |
int | rightMargin () const |
get right margin 更多... | |
Protected 成员函数 | |
void | mousePressEvent (QMouseEvent *) |
DSwitchHeaderLine 类用于提供 DSwitchLineExpand 的标题栏.
\inmodule dtkwidget
Dtk::Widget::DSwitchHeaderLine::DSwitchHeaderLine | ( | QWidget * | parent = 0 | ) |
DSwitchHeaderLine::DSwitchHeaderLine 为 DSwitchHeaderLine 的构造函数. parent 指定了控件的父控件。
一般情况下,无需手动创建 DSwitchHeaderLine 对象。