DtkWidget
DTK Widget module
|
Dtk 样式统一的按钮样式配置. 更多...
Public 类型 | |
enum | ButtonFeature { SuggestButton = (CommandLinkButton << 1) , WarningButton = (SuggestButton << 1) , FloatingButton = (WarningButton << 1) , TitleBarButton = (FloatingButton << 1) , CircleButton = (TitleBarButton << 1) , HasDciIcon = (CircleButton << 1) } |
Public 类型 继承自 Dtk::Widget::DStyleOption | |
enum | OptionType { SO_HighlightButton = QStyleOption::SO_CustomBase + 1 , SO_CustomBase = QStyleOption::SO_CustomBase << 2 } |
Public 成员函数 | |
DStyleOptionButton () | |
DStyleOptionSuggestButton::init set style option for Dtk::Widget::DSuggestButton. | |
DStyleOptionButton (const DStyleOptionButton &other) | |
DStyleOptionButton::DStyleOptionButton Custom copy constructor | |
DStyleOptionButton & | operator= (const DStyleOptionButton &other) |
DStyleOptionButton::operator = Custom assignment constructor | |
void | init (const QWidget *widget) override |
Public 成员函数 继承自 Dtk::Widget::DStyleOption | |
virtual void | init (QWidget *widget) |
Init style with widget. | |
Public 属性 | |
DDciIcon | dciIcon |
Public 属性 继承自 Dtk::Widget::DStyleOption | |
DPalette | dpalette |
Dtk 样式统一的按钮样式配置.
\inmodule dtkwidget
|
explicit |
DStyleOptionSuggestButton::init set style option for Dtk::Widget::DSuggestButton.
初始化Dtk::Widget::DSuggestButton样式,设置为 DStyleOptionSuggestButton::SuggestButton.
widget
Dtk::Widget::DStyleOptionButton::DStyleOptionButton | ( | const DStyleOptionButton & | other | ) |
DStyleOptionButton::DStyleOptionButton Custom copy constructor
other | Source object |
|
overridevirtual |
DStyleOptionButton & Dtk::Widget::DStyleOptionButton::operator= | ( | const DStyleOptionButton & | other | ) |