summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-18 04:24:56 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-18 04:24:56 (GMT)
commiteb58c6b1448eb39cb762bdbcc7fc006057bba325 (patch)
tree3bb4ade7d535619ffe485674d8c4184d88f461a5 /src/declarative/graphicsitems/qmlgraphicsgridview.cpp
parentee5d533bfa7b07927a6c62182f0a0377503c0f2b (diff)
downloadQt-eb58c6b1448eb39cb762bdbcc7fc006057bba325.zip
Qt-eb58c6b1448eb39cb762bdbcc7fc006057bba325.tar.gz
Qt-eb58c6b1448eb39cb762bdbcc7fc006057bba325.tar.bz2
Doc.
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsgridview.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsgridview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsgridview.cpp b/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
index 9465c4c..5ce2836 100644
--- a/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
@@ -824,7 +824,9 @@ void QmlGraphicsGridView::setModel(const QVariant &model)
/*!
\qmlproperty component GridView::delegate
- The delegate provides a template describing what each item in the view should look and act like.
+ The delegate provides a template defining each item instantiated by the view.
+ The index is exposed as an accessible \c index property. Properties of the
+ model are also available depending upon the type of \l {qmlmodels}{Data Model}.
Here is an example delegate:
\snippet doc/src/snippets/declarative/gridview/gridview.qml 0