summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-20 13:28:22 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-20 15:31:48 (GMT)
commit19c5938da4832fc5a92d55e69c201b408a329517 (patch)
tree845f37a19b7d09eb6d6b6e1495256664474b03ef /src/gui
parentc1ae1c566bc78faae2c7861c4c6c0a7a341d034f (diff)
downloadQt-19c5938da4832fc5a92d55e69c201b408a329517.zip
Qt-19c5938da4832fc5a92d55e69c201b408a329517.tar.gz
Qt-19c5938da4832fc5a92d55e69c201b408a329517.tar.bz2
Doc: Make QAction::priority/Priority documentation clearer
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qaction.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/kernel/qaction.cpp b/src/gui/kernel/qaction.cpp
index 5952320..e7cb5c2 100644
--- a/src/gui/kernel/qaction.cpp
+++ b/src/gui/kernel/qaction.cpp
@@ -915,15 +915,13 @@ QString QAction::whatsThis() const
This enum defines priorities for actions in user interface.
- \value LowPriority The action will not be prioritized in
- collapsible layouts when not enough space for all actions is
- available.
+ \value LowPriority The action should not be prioritized in
+ the user interface.
\value NormalPriority
- \value HighPriority The action will be prioritized by
- collapsible layouts when not enough space for all actions is
- available.
+ \value HighPriority The action should be prioritized in
+ the user interface.
\sa priority
*/
@@ -936,9 +934,11 @@ QString QAction::whatsThis() const
\brief the actions's priority in the user interface.
This property can be set to indicate how the action should be prioritized
- in a collapsible layout. For instance, when toolbars have the Qt::ToolButtonTextBesideIcon
- mode set, then lower priority actions will hide text labels to preserve
- horizontal space if necessary.
+ in the user interface.
+
+ For instance, when toolbars have the Qt::ToolButtonTextBesideIcon
+ mode set, then actions with LowPriority will not show the text
+ labels.
*/
void QAction::setPriority(Priority priority)
{