Flicking a pathview with large delegate spacing is inconsistent
authorMartin Jones <martin.jones@nokia.com>
Thu, 16 Feb 2012 05:54:09 +0000 (15:54 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 05:49:10 +0000 (06:49 +0100)
commitb672f1974d3291cd0ad56c3c54f5398accc392b8
treee467665ec54d650d0b5edb4ad01043f46003cecb
parenta37f19fa6d19e43b3a64587f224658a9fd63631a
Flicking a pathview with large delegate spacing is inconsistent

The deceleration is inconsistent and dragging slowly is jerky.
This was largely due to the poor resolution of the path points.
pointAt() now interpolates, and the dragging logic is more
accurate.  Also removed the rounding of item positioning so
that side-by-side items don't bounce around.

Task-number: QTBUG-24312
Change-Id: I956aff0b83c3c1211d5657159c3de1e4ef0b5171
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/quick/items/qquickpathview.cpp
src/quick/items/qquickpathview_p_p.h
src/quick/util/qdeclarativepath.cpp
tests/auto/qtquick2/qquickpathview/tst_qquickpathview.cpp