[Development] [OS X]: native classes (widgets) used for QTabBar and QTabWidget?

Olivier Goffart olivier at woboq.com
Tue Dec 8 22:03:06 CET 2015

On Tuesday 8. December 2015 21:38:10 René J. V. Bertin wrote:
> If I may, do you also know how it is determined whether or not push buttons
> should show icons or not? There's no equivalent to
> Qt::AA_DontShowIconsInMenus and I'm also trying to understand why certain
> KF5 applications (using kdelibs4support) always show icons in buttons when
> the KdePlatformTheme is used (on Mac and Linux), but not when the native
> Mac style is used. It's not directly caused by KdePlatformTheme, because
> otherwise all applications using it would always show icons in buttons,
> which is not the case (and the theme actually sets a theme hint which
> should lead to disabling the icon display).

I believe you are looking for QStyle::SH_DialogButtonBox_ButtonsHaveIcons, 
which is false for mac.


Woboq - Qt services and support - http://woboq.com - http://code.woboq.org

More information about the Development mailing list