diff options
Diffstat (limited to 'src/widgets/widgets/qtoolbar.cpp')
-rw-r--r-- | src/widgets/widgets/qtoolbar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/widgets/qtoolbar.cpp b/src/widgets/widgets/qtoolbar.cpp index 1c05529cd6..834c2fe56b 100644 --- a/src/widgets/widgets/qtoolbar.cpp +++ b/src/widgets/widgets/qtoolbar.cpp @@ -720,6 +720,10 @@ void QToolBar::setIconSize(const QSize &iconSize) as \l{QAction}s. Note that if you add a QToolButton with the addWidget() method, it will not get this button style. + To have the style of toolbuttons follow the system settings, set this property to Qt::ToolButtonFollowStyle. + On Unix, the user settings from the desktop environment will be used. + On other platforms, Qt::ToolButtonFollowStyle means icon only. + The default is Qt::ToolButtonIconOnly. */ |