summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativelistview.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-30 01:40:06 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-30 01:40:06 (GMT)
commit1b39890940ce8ea4298a1af16ba220f65f365e7e (patch)
tree305d552edda1af9cb687bc7b780f0c2531532db7 /src/declarative/graphicsitems/qdeclarativelistview.cpp
parent62d4b6c36a916291cab91344c5a9fda4c4b2b490 (diff)
downloadQt-1b39890940ce8ea4298a1af16ba220f65f365e7e.zip
Qt-1b39890940ce8ea4298a1af16ba220f65f365e7e.tar.gz
Qt-1b39890940ce8ea4298a1af16ba220f65f365e7e.tar.bz2
Doc: mention that size of delegate affects flicking performance.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativelistview.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativelistview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp
index d50e734..0f3ee61 100644
--- a/src/declarative/graphicsitems/qdeclarativelistview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp
@@ -1490,6 +1490,11 @@ void QDeclarativeListView::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}.
+ The number of elements in the delegate has a direct effect on the
+ flicking performance of the view. If at all possible, place functionality
+ that is not needed for the normal display of the delegate in a \l Loader which
+ can load additional elements when needed.
+
Note that the ListView will layout the items based on the size of the root item
in the delegate.