这是一个针对单个部件或样式单规则的样式类。
你可以使用WWidget::decorationStyle()来操作某个部件的装饰样式,或者你可以使用 WCssStyleSheet::addRule(const std::string&, const WCssDecorationStyle& style, const std::string&) 来利用 WCssDecorationStyle 将一条规则添加到内联样式 单中。
使用示例:
Wt::WWidget *widget = ...
widget->decorationStyle().setCursor(PointingHandCursor);
HxLauncher: Launch Android applications by voice commands