[Interest] setting a widget style for a particular widget class only?

René J.V. Bertin rjvbertin at gmail.com
Fri Sep 9 16:59:18 CEST 2016


Hi,

Is it possible to change the widget style for just a particular widget class? In stylesheet language,

QTabBar { style : Fusion }

This is also exactly what I'd like to accomplish, use the Fusion style for a QTabBar widget in a tabbed document editor, so it looks the same on all platforms, even on OS X with its QTabBar implementation that's appropriate only in dialogs with a few tabs.

Alternatively

Thanks,
René



More information about the Interest mailing list