Add cacheItemCount property to PathView
authorMartin Jones <martin.jones@nokia.com>
Tue, 21 Aug 2012 04:47:48 +0000 (14:47 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Aug 2012 02:32:48 +0000 (04:32 +0200)
commit4a4a08d61a9771b5f49d7377b48d821075df3d97
treec21f3d242a4a1d69f104efa41d66622ea119309f
parenta47597ea986e76cb6deeaaa64b3714add4688a01
Add cacheItemCount property to PathView

cacheItemCount specifies the number of items to cache off the path when
pathItemCount is specified.  This allows up to cacheItemCount items to be
kept alive when they move off the path, and also to asynchronously
create items off path in preparation for display when the path offset
changes.  This is the equivalent of cacheBuffer for other views.

Task-number: QTBUG-23931
Change-Id: I03497537d3f929e5e3579536850dd43eb2724c38
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickitem.cpp
src/quick/items/qquickpathview.cpp
src/quick/items/qquickpathview_p.h
src/quick/items/qquickpathview_p_p.h
src/quick/items/qquickwindow.cpp
tests/auto/quick/qquickpathview/data/pathview3.qml
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp