summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-03-15 15:09:06 +0100
committerFabien Freling <fabien.freling@nokia.com>2011-03-15 15:09:06 +0100
commitb36f947147e3f5acf444c94d6e2a608506b7e753 (patch)
treea0bf253b8e315305cfada01871f3a1cbf54aef43 /tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml
parentd524e983c60ba59f3c65d811ec92f02c97d1a8ab (diff)
parentc0cd8db0498daaa8151d1f80143b6849016bdc7c (diff)
downloadqt4-tools-b36f947147e3f5acf444c94d6e2a608506b7e753.tar.gz
Merge remote branch 'mainline/master' into merge_raster
Diffstat (limited to 'tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml')
-rw-r--r--tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml b/tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml
index 5719f43672..69eaa4774c 100644
--- a/tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml
+++ b/tests/auto/declarative/qdeclarativegridview/data/gridview-enforcerange.qml
@@ -1,4 +1,4 @@
-import QtQuick 1.0
+import QtQuick 1.1
Rectangle {
width: 240
@@ -48,6 +48,8 @@ Rectangle {
model: testModel
delegate: myDelegate
highlight: myHighlight
+ flow: (testTopToBottom == true) ? GridView.TopToBottom : GridView.LeftToRight
+ layoutDirection: (testRightToLeft == true) ? Qt.RightToLeft : Qt.LeftToRight
preferredHighlightBegin: 100
preferredHighlightEnd: 100
highlightRangeMode: "StrictlyEnforceRange"