diff --git a/src/controls/Menu.qml b/src/controls/Menu.qml index 7d872b23be5b92a380fd4d8ded57818b54dbcb6f..8b6a35b99c26637662936cae9e320edd9d24fdd6 100644 --- a/src/controls/Menu.qml +++ b/src/controls/Menu.qml @@ -106,7 +106,7 @@ MenuPrivate { /*! \internal \omit - Documented in qtmenu.cpp. + Documented in qqquickmenu.cpp. \endomit */ function addMenu(title) { @@ -115,7 +115,7 @@ MenuPrivate { /*! \internal \omit - Documented in qtmenu.cpp. + Documented in qquickmenu.cpp. \endomit */ function insertMenu(index, title) { diff --git a/src/controls/MenuBar.qml b/src/controls/MenuBar.qml index feb446adb30d2bbcec91d2d46a2e5c33172c851b..cee2139630f745bb07cc63e50c8928414959c733 100644 --- a/src/controls/MenuBar.qml +++ b/src/controls/MenuBar.qml @@ -47,7 +47,7 @@ import QtQuick.Controls.Private 1.0 \qmltype MenuBar \inqmlmodule QtQuick.Controls 1.0 \since QtQuick.Controls 1.0 - \ingroup menus + \ingroup applicationwindow \brief Provides a horizontal menu bar. \code diff --git a/src/controls/doc/src/indicators.qdoc b/src/controls/doc/src/indicators.qdoc deleted file mode 100644 index f31dec9e52cf83fd696696eeb8214a6e6cb88bb7..0000000000000000000000000000000000000000 --- a/src/controls/doc/src/indicators.qdoc +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \group indicators - \title Status Indicators -*/ diff --git a/src/controls/doc/src/menus.qdoc b/src/controls/doc/src/menus.qdoc index ae8554ea1e6e90839b2ee8483c0f39f217fa72e0..75f5ba2c69107c0a07eb4e2d8e7149cbfef5879b 100644 --- a/src/controls/doc/src/menus.qdoc +++ b/src/controls/doc/src/menus.qdoc @@ -27,5 +27,5 @@ /*! \group menus - \title Application Menus + \title Menus */ diff --git a/src/controls/doc/src/navigation.qdoc b/src/controls/doc/src/navigation.qdoc deleted file mode 100644 index b1bd8ef821cf4a54b201795f61ba4bbe0dd4c9d0..0000000000000000000000000000000000000000 --- a/src/controls/doc/src/navigation.qdoc +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \group navigation - \title Application Navigation -*/ diff --git a/src/controls/doc/src/qtquickcontrols-index.qdoc b/src/controls/doc/src/qtquickcontrols-index.qdoc index c349d02d4ec5fdea9320c7fd1e64a25fde64cf15..e9e4f708a4c0bfd8ed8b29369f8e6080504ed248 100644 --- a/src/controls/doc/src/qtquickcontrols-index.qdoc +++ b/src/controls/doc/src/qtquickcontrols-index.qdoc @@ -61,6 +61,10 @@ Controls are typically items that are used to present or receive input from the user. \annotatedlist controls + \section1 Menus + Types that can be used to build menus. + \annotatedlist menus + \section1 Related information \section2 Guides diff --git a/src/controls/qquickaction.cpp b/src/controls/qquickaction.cpp index dc1f7bb9ddffaaf4c201ad33e964ec0491e5b546..a597515f099a841442e66c7844b0a6cd1d0a49ac 100644 --- a/src/controls/qquickaction.cpp +++ b/src/controls/qquickaction.cpp @@ -53,6 +53,7 @@ QT_BEGIN_NAMESPACE /*! \qmltype Action \instantiates QQuickAction + \ingroup applicationwindow \inqmlmodule QtQuick.Controls 1.0 \brief Action provides an abstract user interface action that can be bound to items @@ -65,6 +66,19 @@ QT_BEGIN_NAMESPACE automatically be checked. QtQuick Controls supports actions in \l Button, \l ToolButton, and \l MenuItem. + + Example: + \qml + Action { + id: openAction + text: "&Open" + shortcut: "Ctrl+O" + iconSource: "images/document-open.png" + onTriggered: fileDialog.open() + tooltip: "Open an Image" + } + \endqml + */ /*! diff --git a/src/controls/qquickexclusivegroup.cpp b/src/controls/qquickexclusivegroup.cpp index e7ddb2d0bde2d9001b8c02f34a7201ae0a60db1d..eecff416982921c001f0c11f4eb5d468e79cad9e 100644 --- a/src/controls/qquickexclusivegroup.cpp +++ b/src/controls/qquickexclusivegroup.cpp @@ -66,6 +66,7 @@ static bool isChecked(const QObject *o) /*! \qmltype ExclusiveGroup \instantiates QQuickExclusiveGroup + \ingroup controls \inqmlmodule QtQuick.Controls 1.0 \brief ExclusiveGroup provides a way to declare several checkable controls as mutually exclusive.