From 75cb2fede949410a95e6dc9a8bbd9b9d7b83445b Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Wed, 13 Mar 2013 12:10:50 +0100 Subject: 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 Reviewed-by: J-P Nurmi --- src/controls/Menu.qml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'src/controls/Menu.qml') 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 */ -- cgit v1.2.1