summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-05-19 14:37:46 +0200
committerTopi Reiniƶ <topi.reinio@theqtcompany.com>2016-06-17 11:56:06 +0000
commit85c29330678dc5d8e51b006f51cc39706ab1abab (patch)
tree7185173baa5265f2034aa636844f1fb6ac965e88
parente888ebd35bbaa236dd186b545400aaad0f2e14cf (diff)
downloadqtquickcontrols-85c29330678dc5d8e51b006f51cc39706ab1abab.tar.gz
Doc: Fix documentation warnings
src/controls/doc/src/qtquickcontrols-examples.qdoc:90: warning: Unable to parse QML snippet: "Expected token `{'" at line 1, column 10 src/controls/doc/src/qtquickcontrols-examples.qdoc:116: warning: Unable to parse QML snippet: "Expected a qualified name id" at line 1, column 1 src/controls/doc/src/qtquickcontrols-tableview.qdoc:299: warning: Unrecognizable QML module/component qualifier for TableView::section src/controls/doc/src/qtquickcontrols-treeview.qdoc:138: warning: Unrecognizable QML module/component qualifier for TreeView::section (multiple) warning: Can't link to 'DropShadow' Change-Id: Ic5e2dcbe9810486290e164f561ecba969f57df78 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r--src/controls/doc/qtquickcontrols.qdocconf2
-rw-r--r--src/controls/doc/src/qtquickcontrols-examples.qdoc8
-rw-r--r--src/controls/doc/src/qtquickcontrols-tableview.qdoc4
-rw-r--r--src/controls/doc/src/qtquickcontrols-treeview.qdoc5
4 files changed, 10 insertions, 9 deletions
diff --git a/src/controls/doc/qtquickcontrols.qdocconf b/src/controls/doc/qtquickcontrols.qdocconf
index 9aada9f6..e81777e0 100644
--- a/src/controls/doc/qtquickcontrols.qdocconf
+++ b/src/controls/doc/qtquickcontrols.qdocconf
@@ -34,7 +34,7 @@ qhp.QtQuickControls.subprojects.qqcexamples.indexTitle = Qt Quick Controls Examp
qhp.QtQuickControls.subprojects.qqcexamples.selectors = doc:example group:stylingtutorials
qhp.QtQuickControls.subprojects.qqcexamples.sortpages = true
-depends = qtcore qtdoc qtgui qtwidgets qtqml qtquick qtquicklayouts qtquickdialogs qtquickextras
+depends = qtcore qtdoc qtgui qtwidgets qtqml qtquick qtquicklayouts qtquickdialogs qtquickextras qtgraphicaleffects
# Specify the install path under QT_INSTALL_EXAMPLES
# Examples will be installed under quick/controls - 'controls' subdirectory
diff --git a/src/controls/doc/src/qtquickcontrols-examples.qdoc b/src/controls/doc/src/qtquickcontrols-examples.qdoc
index bc82349e..7ad34a30 100644
--- a/src/controls/doc/src/qtquickcontrols-examples.qdoc
+++ b/src/controls/doc/src/qtquickcontrols-examples.qdoc
@@ -83,16 +83,16 @@
In all forms, items that are supposed to interact with the application logic are exported:
- \qml
+ \code
property alias cancel: cancel
property alias save: save
property alias textArea: textArea
- \endqml
+ \endcode
This is the way the items are exported in \e NotesForm.ui.qml, so they can be used in
\e Notes.ui.qml to implement the logic as follows:
- \qml
+ \code
function readData() {
CustomerModel.selection.forEach(function (rowIndex) {
form.textArea.text = CustomerModel.model.get(rowIndex).notes
@@ -113,7 +113,7 @@
cancel.onClicked: readData()
save.onClicked: writeData()
- \endqml
+ \endcode
\section1 Implementing the Backend in a Singleton
diff --git a/src/controls/doc/src/qtquickcontrols-tableview.qdoc b/src/controls/doc/src/qtquickcontrols-tableview.qdoc
index 48546e5b..e188ac9e 100644
--- a/src/controls/doc/src/qtquickcontrols-tableview.qdoc
+++ b/src/controls/doc/src/qtquickcontrols-tableview.qdoc
@@ -288,12 +288,12 @@
*/
/*!
- \qmlpropertygroup TableView::section
+ \qmlpropertygroup QtQuick.Controls::TableView::section
\qmlproperty string TableView::section.property
\qmlproperty enumeration TableView::section.criteria
\qmlproperty Component TableView::section.delegate
\qmlproperty enumeration TableView::section.labelPositioning
These properties determine the section labels.
- \sa ListView::section
+ \sa {QtQuick::ListView::section}{ListView.section}
*/
diff --git a/src/controls/doc/src/qtquickcontrols-treeview.qdoc b/src/controls/doc/src/qtquickcontrols-treeview.qdoc
index bcfbad7b..b5ea0051 100644
--- a/src/controls/doc/src/qtquickcontrols-treeview.qdoc
+++ b/src/controls/doc/src/qtquickcontrols-treeview.qdoc
@@ -125,14 +125,15 @@
*/
/*!
- \qmlpropertygroup TreeView::section
+ \qmlpropertygroup QtQuick.Controls::TreeView::section
\qmlproperty string TreeView::section.property
\qmlproperty enumeration TreeView::section.criteria
\qmlproperty Component TreeView::section.delegate
\qmlproperty enumeration TreeView::section.labelPositioning
These properties determine the section labels.
- \sa ListView::section
+
+ \sa {QtQuick::ListView::section}{ListView.section}
*/
/*!