diff options
author | Michael Brasser <michael.brasser@live.com> | 2014-07-23 19:39:26 -0500 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2014-07-24 15:40:09 +0200 |
commit | 2c80968d21ff15f574cbbfd93ce4409cda7eeebf (patch) | |
tree | e3c0ee8a353b65e4a8a796c2d310df4866f79c28 /tests/auto/quick/qquicklistview/data | |
parent | 36a179e8faa572544b9e8a9442f8c679a9509423 (diff) |
Improve programmatic flicking of ListView (and Flickable).
Fix bug when programmatically flicking ListView after a real flick in the
opposite direction. Also ensure a programmatic flick can flick past
bounds when situated at the bounds and DragAndOvershootBounds is set.
Task-number: QTBUG-38209
Change-Id: If4a2f65d0e7cb620b9af21f8a25a8a8797976125
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'tests/auto/quick/qquicklistview/data')
-rw-r--r-- | tests/auto/quick/qquicklistview/data/simplelistview.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicklistview/data/simplelistview.qml b/tests/auto/quick/qquicklistview/data/simplelistview.qml new file mode 100644 index 0000000000..56a96150c5 --- /dev/null +++ b/tests/auto/quick/qquicklistview/data/simplelistview.qml @@ -0,0 +1,11 @@ +import QtQuick 2.0 + +ListView { + width: 400 + height: 400 + model: 100 + delegate: Rectangle { + height: 40; width: 400 + color: index % 2 ? "lightsteelblue" : "lightgray" + } +} |