From 19c5938da4832fc5a92d55e69c201b408a329517 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 20 Jul 2009 15:28:22 +0200 Subject: Doc: Make QAction::priority/Priority documentation clearer --- src/gui/kernel/qaction.cpp | 18 +++++++++--------- 1 file 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) { -- cgit v0.12