summaryrefslogtreecommitdiffstats
path: root/src/controls/qtmenu.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2013-03-01 11:17:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-01 12:39:16 +0100
commit784f04c9fde300e62398d116f3072f66ca3b64bf (patch)
tree94ea39ac787bbbe31938648a925d51e3b7d5bcc0 /src/controls/qtmenu.cpp
parent850124ff583414bef8ec969e34f6667740509781 (diff)
Menus: Doc, manual test fixes
Change-Id: I98c4c6aa39f9a947f0610ac976ed74447252d06b Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/qtmenu.cpp')
-rw-r--r--src/controls/qtmenu.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/controls/qtmenu.cpp b/src/controls/qtmenu.cpp
index c7281774f..00bf11129 100644
--- a/src/controls/qtmenu.cpp
+++ b/src/controls/qtmenu.cpp
@@ -83,8 +83,11 @@ QT_BEGIN_NAMESPACE
/*!
\qmlproperty string Menu::text
- Text for the menu, whether in a \l MenuBar or as a submenu.
- Accelerators are supported with the usual \& convention.
+ Text for the menu as a submenu or in a menubar.
+
+ Mnemonics are supported by prefixing the shortcut letter with \&.
+ For instance, \c "\&File" will bind the \c Alt-F shortcut to the
+ \c "File" menu. Note that not all platforms support mnemonics.
*/
/*!
@@ -113,13 +116,13 @@ QT_BEGIN_NAMESPACE
/*!
\qmlproperty int Menu::selectedIndex
- The index for the last selected item in the menu.
+ The index of the last selected item in the menu.
*/
/*!
\qmlmethod void Menu::popup()
- Pops up this menu under the mouse cursor.
+ Opens this menu under the mouse cursor.
It can block on some platforms, so test it accordingly.
*/