DtkWidget
DTK Widget module
|
Dtk::Widget::DLineEdit使用的样式配置. 更多...
Public 类型 | |
enum | LineEditFeature { None = 0x0 , Alert = 0x1 , IconButton = 0x2 } |
Public 类型 继承自 Dtk::Widget::DStyleOption | |
enum | OptionType { SO_HighlightButton = QStyleOption::SO_CustomBase + 1 , SO_CustomBase = QStyleOption::SO_CustomBase << 2 } |
Public 成员函数 | |
void | init (const QWidget *widget) override |
DStyleOptionSuggestButton::init set style option for Dtk::Widget::DLineEdit. | |
Public 成员函数 继承自 Dtk::Widget::DStyleOption | |
virtual void | init (QWidget *widget) |
Init style with widget. | |
Public 属性 | |
LineEditFeatures | features = None |
QRect | iconButtonRect |
Public 属性 继承自 Dtk::Widget::DStyleOption | |
DPalette | dpalette |
Dtk::Widget::DLineEdit使用的样式配置.
\inmodule dtkwidget
DStyleOptionLineEdit handle the style option of Dtk::Widget::DLineEdit.
widget
|
overridevirtual |
DStyleOptionSuggestButton::init set style option for Dtk::Widget::DLineEdit.
根据Dtk::Widget::DLineEdit控件状态初始化样式.
widget