summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-05 23:46:49 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-05 23:46:49 (GMT)
commitac0b3eec9fbf25fb72d5368fa7ba31b58bb7ed30 (patch)
tree7046129a3a90bd966eb39963a10f0bcabd2a7d93 /src
parent2df39e548264617b8e10fae32bdafbfe2edcd895 (diff)
downloadQt-ac0b3eec9fbf25fb72d5368fa7ba31b58bb7ed30.zip
Qt-ac0b3eec9fbf25fb72d5368fa7ba31b58bb7ed30.tar.gz
Qt-ac0b3eec9fbf25fb72d5368fa7ba31b58bb7ed30.tar.bz2
Doc: more clarification of cacheBuffer
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativegridview.cpp3
-rw-r--r--src/declarative/graphicsitems/qdeclarativelistview.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp
index ef6d3df..869826c 100644
--- a/src/declarative/graphicsitems/qdeclarativegridview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp
@@ -1415,6 +1415,9 @@ void QDeclarativeGridView::setWrapEnabled(bool wrap)
set to 40, then up to 2 delegates above and 2 delegates below the visible
area may be retained.
+ Note that cacheBuffer is not a pixel buffer - it only maintains additional
+ instantiated delegates.
+
Setting this value can make scrolling the list smoother at the expense
of additional memory usage. It is not a substitute for creating efficient
delegates; the fewer elements in a delegate, the faster a view may be
diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp
index 8485071..0811278 100644
--- a/src/declarative/graphicsitems/qdeclarativelistview.cpp
+++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp
@@ -1848,6 +1848,9 @@ void QDeclarativeListView::setWrapEnabled(bool wrap)
set to 40, then up to 2 delegates above and 2 delegates below the visible
area may be retained.
+ Note that cacheBuffer is not a pixel buffer - it only maintains additional
+ instantiated delegates.
+
Setting this value can make scrolling the list smoother at the expense
of additional memory usage. It is not a substitute for creating efficient
delegates; the fewer elements in a delegate, the faster a view may be