summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-18 11:21:25 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-18 11:21:25 (GMT)
commit50624a969d130ec55a6fd8e908b5b5e4e17636fb (patch)
treeb0d752a6177cfa83b43bce846aca32b10d38e5c0 /src/gui/widgets
parent3338292e48671a71c8edb69626df13ae615901c0 (diff)
downloadQt-50624a969d130ec55a6fd8e908b5b5e4e17636fb.zip
Qt-50624a969d130ec55a6fd8e908b5b5e4e17636fb.tar.gz
Qt-50624a969d130ec55a6fd8e908b5b5e4e17636fb.tar.bz2
Doc: Document QAction::Priority and Qt::ToolButtonFollowStyle.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qtoolbutton.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/widgets/qtoolbutton.cpp b/src/gui/widgets/qtoolbutton.cpp
index 3901245..2c85dc5 100644
--- a/src/gui/widgets/qtoolbutton.cpp
+++ b/src/gui/widgets/qtoolbutton.cpp
@@ -486,9 +486,8 @@ QSize QToolButton::minimumSizeHint() const
The default is Qt::ToolButtonIconOnly.
- If you want your toolbars to depend on system settings,
- as is possible in GNOME and KDE desktop environments you should
- use the ToolButtonFollowStyle.
+ To have the style of toolbuttons follow the system settings (as available
+ in GNOME and KDE desktop environments), set this property to Qt::ToolButtonFollowStyle.
QToolButton automatically connects this slot to the relevant
signal in the QMainWindow in which is resides.