summaryrefslogtreecommitdiff
path: root/src/controls/Menu.qml
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2013-03-13 12:10:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-14 18:23:52 +0100
commit75cb2fede949410a95e6dc9a8bbd9b9d7b83445b (patch)
tree03004ac97d91287551db35d1754646bec0576af8 /src/controls/Menu.qml
parent693cc7c041e1fb7f44628ee1e8a1a64bf999195d (diff)
downloadqtquickcontrols-75cb2fede949410a95e6dc9a8bbd9b9d7b83445b.tar.gz
Doc: adapted Menu.qml to the Writing Guidelines
- minor change to Brief statement - reword options for use context for menu - removed spaces at end of some lines - replaced "like" with "such as" Change-Id: Ib529c03da12d0a463a72ebf0e7a9e311ff3ba29e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Menu.qml')
-rw-r--r--src/controls/Menu.qml19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/controls/Menu.qml b/src/controls/Menu.qml
index ddbef1ae..9ee03e46 100644
--- a/src/controls/Menu.qml
+++ b/src/controls/Menu.qml
@@ -47,7 +47,8 @@ import "Styles/Settings.js" as Settings
\qmltype Menu
\inqmlmodule QtQuick.Controls 1.0
\ingroup applicationwindow
- \brief Menu provides a menu component for use in menu bars, context menus, and other popup menus.
+ \brief Provides a menu component for use in menu bars, context menus,
+ and other popup menus.
\code
Menu {
@@ -83,10 +84,18 @@ import "Styles/Settings.js" as Settings
}
\endcode
- Note that some properties, like \c enabled, \c text, or \c iconSource, only make sense
- depending on the context in which the menu is being used. The three main use cases are
- as a \l MenuBar top-level menu, as a submenu inside another menu, or as a standalone,
- or context, menu.
+ The main uses for menus:
+ \table
+ \row
+ as a \e top-level menu in a \l MenuBar
+ \row
+ as a \e submenu inside another menu
+ \row
+ as a standalone or \e context menu
+ \endtable
+
+ Note that some properties, such as \c enabled, \c text, or \c iconSource,
+ only make sense in a particular use case of the menu.
\sa MenuBar, MenuItem, MenuSeparator
*/