summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsgridview.cpp3
-rw-r--r--src/declarative/graphicsitems/qmlgraphicslistview.cpp3
-rw-r--r--src/declarative/graphicsitems/qmlgraphicspathview.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsgridview.cpp b/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
index 0ba1491..2fad3bb 100644
--- a/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsgridview.cpp
@@ -874,6 +874,9 @@ void QmlGraphicsGridView::setModel(const QVariant &model)
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}.
+ Note that the GridView will layout the items based on the size of the root item
+ in the delegate.
+
Here is an example delegate:
\snippet doc/src/snippets/declarative/gridview/gridview.qml 0
*/
diff --git a/src/declarative/graphicsitems/qmlgraphicslistview.cpp b/src/declarative/graphicsitems/qmlgraphicslistview.cpp
index 6460a69..3a59c6c 100644
--- a/src/declarative/graphicsitems/qmlgraphicslistview.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicslistview.cpp
@@ -1554,6 +1554,9 @@ void QmlGraphicsListView::setModel(const QVariant &model)
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}.
+ Note that the ListView will layout the items based on the size of the root item
+ in the delegate.
+
Here is an example delegate:
\snippet doc/src/snippets/declarative/listview/listview.qml 0
*/
diff --git a/src/declarative/graphicsitems/qmlgraphicspathview.cpp b/src/declarative/graphicsitems/qmlgraphicspathview.cpp
index b9c9e05..8ac57e0 100644
--- a/src/declarative/graphicsitems/qmlgraphicspathview.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicspathview.cpp
@@ -302,6 +302,9 @@ void QmlGraphicsPathView::setDragMargin(qreal dragMargin)
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}.
+ Note that the PathView will layout the items based on the size of the root
+ item in the delegate.
+
Here is an example delegate:
\snippet doc/src/snippets/declarative/pathview/pathview.qml 1
*/