Look at the demos using those widgets. In their main() there is something like this:
QStyle *arthurStyle
= new ArthurStyle
();
compWidget.setStyle(arthurStyle);
QList<QWidget *> widgets = qFindChildren<QWidget *>(&compWidget);
w->setStyle(arthurStyle);
QStyle *arthurStyle = new ArthurStyle();
compWidget.setStyle(arthurStyle);
QList<QWidget *> widgets = qFindChildren<QWidget *>(&compWidget);
foreach (QWidget *w, widgets)
w->setStyle(arthurStyle);
To copy to clipboard, switch view to plain text mode
The first line does most of the magic (loads the style). Then this code sets the style to some widgets in the application. If you want to set the style for all widgets in an application, you can use QApplication::setStyle instead.
The style is defined in demos/shared/arthurstyle.{h,cpp} in your QTDIR.
Bookmarks