summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativegridview/data/gridview.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-18 01:10:05 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-18 01:10:05 (GMT)
commit19988e1a2b81ae4a54edb6fec1f489326ae39089 (patch)
tree2b993201c0e91ea4c037ac879c1558a3bc25b04e /tests/auto/declarative/qdeclarativegridview/data/gridview.qml
parent4b4e9be3ea5a267c8fc05d6ff5aca972d64eb705 (diff)
downloadQt-19988e1a2b81ae4a54edb6fec1f489326ae39089.zip
Qt-19988e1a2b81ae4a54edb6fec1f489326ae39089.tar.gz
Qt-19988e1a2b81ae4a54edb6fec1f489326ae39089.tar.bz2
Fix tests after 47fb07c9fdf47584ae55f3412102bbeef5576b04.
The import order has changed, so test files that mirror element names needed to be renamed (or they would resolve as the type).
Diffstat (limited to 'tests/auto/declarative/qdeclarativegridview/data/gridview.qml')
-rw-r--r--tests/auto/declarative/qdeclarativegridview/data/gridview.qml56
1 files changed, 0 insertions, 56 deletions
diff --git a/tests/auto/declarative/qdeclarativegridview/data/gridview.qml b/tests/auto/declarative/qdeclarativegridview/data/gridview.qml
deleted file mode 100644
index ba6b807..0000000
--- a/tests/auto/declarative/qdeclarativegridview/data/gridview.qml
+++ /dev/null
@@ -1,56 +0,0 @@
-import Qt 4.6
-
-Rectangle {
- id: root
- property int added: -1
- property var removed
-
- width: 240
- height: 320
- color: "#ffffff"
- resources: [
- Component {
- id: myDelegate
- Rectangle {
- id: wrapper
- objectName: "wrapper"
- width: 80
- height: 60
- border.color: "blue"
- Text {
- text: index
- }
- Text {
- x: 40
- text: wrapper.x + ", " + wrapper.y
- }
- Text {
- y: 20
- id: textName
- objectName: "textName"
- text: name
- }
- Text {
- y: 40
- id: textNumber
- objectName: "textNumber"
- text: number
- }
- color: GridView.isCurrentItem ? "lightsteelblue" : "white"
- GridView.onAdd: root.added = index
- GridView.onRemove: root.removed = name
- }
- }
- ]
- GridView {
- id: grid
- objectName: "grid"
- width: 240
- height: 320
- cellWidth: 80
- cellHeight: 60
- flow: (testTopToBottom == false) ? "LeftToRight" : "TopToBottom"
- model: testModel
- delegate: myDelegate
- }
-}