Change-Id: Ib3a8efdc4447712f9877b70338027efcceff558f
Reviewed-by: Bea Lam <bea.lam@nokia.com>
cellWidth: 80
cellHeight: 60
delegate: myDelegate
+ highlightMoveDuration: 400
model: testModel
header: root.showHeader ? headerFooter : null
footer: root.showFooter ? headerFooter : null
gridview->moveCurrentIndexLeft();
QCOMPARE(gridview->currentIndex(), 35);
+ // wait until motion stops
+ QTRY_VERIFY(gridview->verticalVelocity() == 0.0);
+
// no wrap
gridview->setCurrentIndex(0);
QCOMPARE(gridview->currentIndex(), 0);