populate transition for positioners
authorBea Lam <bea.lam@nokia.com>
Tue, 17 Apr 2012 01:35:14 +0000 (11:35 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 1 May 2012 00:53:21 +0000 (02:53 +0200)
commit0795351f7c252f1eed97253f64e2d5839ad8a975
treea19a42df0c551bbbbc78bee4505a32107d5a6f32
parent6a7084fed1ba94ce135330f35677f71a985df9a3
populate transition for positioners

Fix positioners to apply a "populate" transition for initially added
items. This is consistent with ListView and GridView and also fixes the
behaviour from QtQuick 1.x where the positioners were instead running
the "move" transition for initially added items.

Change-Id: Ib43f1141ce3e7379df085c178b684f89b8567403
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
examples/quick/positioners/positioners-transitions.qml
examples/quick/positioners/positioners.qml
src/quick/items/qquickitemviewtransition.cpp
src/quick/items/qquickpositioners.cpp
src/quick/items/qquickpositioners_p.h
tests/auto/quick/qquickpositioners/data/grid-animated.qml
tests/auto/quick/qquickpositioners/data/horizontal-animated.qml
tests/auto/quick/qquickpositioners/data/transitions.qml
tests/auto/quick/qquickpositioners/data/vertical-animated.qml
tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp