aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativepositioners/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativepositioners/data')
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/flow-testimplicitsize.qml19
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/flowtest-toptobottom.qml44
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/flowtest.qml43
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/grid-animated.qml64
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/grid-spacing.qml41
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/grid-toptobottom.qml41
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/gridtest.qml42
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/gridzerocolumns.qml40
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-animated.qml44
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-spacing.qml31
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/horizontal.qml29
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/propertychangestest.qml39
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/repeatertest.qml38
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/vertical-animated.qml41
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/vertical-spacing.qml28
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/vertical.qml27
-rw-r--r--tests/auto/qtquick1/qdeclarativepositioners/data/verticalqgraphicswidget.qml24
17 files changed, 0 insertions, 635 deletions
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/flow-testimplicitsize.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/flow-testimplicitsize.qml
deleted file mode 100644
index ee4e1048a2..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/flow-testimplicitsize.qml
+++ /dev/null
@@ -1,19 +0,0 @@
-import QtQuick 1.1
-
-Rectangle {
- width: 300; height: 200;
-
- property int flowLayout: 1
-
- Flow {
- objectName: "flow"
- layoutDirection: (flowLayout == 2) ? Qt.RightToLeft : Qt.LeftToRight
- flow: (flowLayout == 1) ? Flow.TopToBottom : Flow.LeftToRight;
-
- spacing: 20
- anchors.horizontalCenter: parent.horizontalCenter
- Rectangle { color: "red"; width: 100; height: 50 }
- Rectangle { color: "blue"; width: 100; height: 50 }
- }
-}
-
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest-toptobottom.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest-toptobottom.qml
deleted file mode 100644
index ec1d6660c3..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest-toptobottom.qml
+++ /dev/null
@@ -1,44 +0,0 @@
-import QtQuick 1.1
-
-Item {
- height: 90
- width: 480
- property bool testRightToLeft: false
-
- Flow {
- objectName: "flow"
- height: parent.height
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- flow: Flow.TopToBottom
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 50
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest.qml
deleted file mode 100644
index 7c124a3d44..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/flowtest.qml
+++ /dev/null
@@ -1,43 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 90
- height: 480
- property bool testRightToLeft: false
-
- Flow {
- objectName: "flow"
- width: parent.width
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 50
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-animated.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/grid-animated.qml
deleted file mode 100644
index 3dcbed1103..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-animated.qml
+++ /dev/null
@@ -1,64 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 640
- height: 480
- property bool testRightToLeft: true
-
- Grid {
- objectName: "grid"
- columns: 3
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- add: Transition {
- NumberAnimation {
- properties: "x,y";
- }
- }
- move: Transition {
- NumberAnimation {
- properties: "x,y";
- }
- }
- Rectangle {
- objectName: "one"
- color: "red"
- x: -100
- y: -100
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- x: -100
- y: -100
- opacity: 0
- color: "green"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- x: -100
- y: -100
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- x: -100
- y: -100
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- x: -100
- y: -100
- width: 50
- height: 50
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-spacing.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/grid-spacing.qml
deleted file mode 100644
index f03733001b..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-spacing.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Grid {
- objectName: "grid"
- columns: 3
- spacing: 4
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 50
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-toptobottom.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/grid-toptobottom.qml
deleted file mode 100644
index 5d4c3373e5..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/grid-toptobottom.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Grid {
- objectName: "grid"
- rows: 3
- flow: Grid.TopToBottom
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 50
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/gridtest.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/gridtest.qml
deleted file mode 100644
index 929b7267cf..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/gridtest.qml
+++ /dev/null
@@ -1,42 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 640
- height: 480
- property bool testRightToLeft: false
- Grid {
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- objectName: "grid"
- columns: 3
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 30
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/gridzerocolumns.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/gridzerocolumns.qml
deleted file mode 100644
index 169f974477..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/gridzerocolumns.qml
+++ /dev/null
@@ -1,40 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Grid {
- objectName: "grid"
- columns: 0
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "green"
- width: 20
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "blue"
- width: 50
- height: 20
- }
- Rectangle {
- objectName: "four"
- color: "cyan"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "five"
- color: "magenta"
- width: 10
- height: 10
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-animated.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-animated.qml
deleted file mode 100644
index 3c95f53fe7..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-animated.qml
+++ /dev/null
@@ -1,44 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 640
- height: 480
- property bool testRightToLeft: false
-
- Row {
- objectName: "row"
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- add: Transition {
- NumberAnimation {
- properties: "x";
- }
- }
- move: Transition {
- NumberAnimation {
- properties: "x";
- }
- }
- Rectangle {
- objectName: "one"
- color: "red"
- x: -100;
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "blue"
- x: -100;
- opacity: 0
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "three"
- x: -100;
- color: "green"
- width: 50
- height: 50
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-spacing.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-spacing.qml
deleted file mode 100644
index 64bedb02d3..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal-spacing.qml
+++ /dev/null
@@ -1,31 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 640
- height: 480
- property bool testRightToLeft: false
-
- Row {
- objectName: "row"
- spacing: 10
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "red"
- width: 20
- height: 10
- }
- Rectangle {
- objectName: "three"
- color: "red"
- width: 40
- height: 20
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal.qml
deleted file mode 100644
index d35c02d538..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/horizontal.qml
+++ /dev/null
@@ -1,29 +0,0 @@
-import QtQuick 1.1
-
-Item {
- width: 640
- height: 480
- property bool testRightToLeft: false
- Row {
- objectName: "row"
- layoutDirection: testRightToLeft ? Qt.RightToLeft : Qt.LeftToRight
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "red"
- width: 20
- height: 10
- }
- Rectangle {
- objectName: "three"
- color: "red"
- width: 40
- height: 20
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/propertychangestest.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/propertychangestest.qml
deleted file mode 100644
index 3c95c4c279..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/propertychangestest.qml
+++ /dev/null
@@ -1,39 +0,0 @@
-import QtQuick 1.0
-
-Grid {
- id: myGrid
-
- width: 270
- height: 270
- x: 3
- y: 3
- columns: 4
- spacing: 3
-
- add: columnTransition
- move: columnTransition
-
- Repeater {
- model: 20
- Rectangle { color: "black"; width: 50; height: 50 }
- }
-
- data: [
- Transition {
- id: rowTransition
- objectName: "rowTransition"
- NumberAnimation {
- properties: "x,y";
- easing.type: "OutInCubic"
- }
- },
- Transition {
- id: columnTransition
- objectName: "columnTransition"
- NumberAnimation {
- properties: "x,y";
- easing.type: "OutInCubic"
- }
- }
- ]
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/repeatertest.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/repeatertest.qml
deleted file mode 100644
index f93ce67da3..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/repeatertest.qml
+++ /dev/null
@@ -1,38 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Row {
- Repeater{ model: 3;
- delegate: Component {
- Rectangle {
- color: "red"
- width: 50
- height: 50
- z: {if(index == 0){2;}else if(index == 1){1;} else{3;}}
- objectName: {if(index == 0){"one";}else if(index == 1){"two";} else{"three";}}
- }
- }
- }
- }
-
- //This crashed once (QTBUG-16959) because the repeater ended up on the end of the list
- //If this grid just instantiates without crashing, then it has not regressed.
- Grid {
- id: grid
- rows: 2
- flow: Grid.TopToBottom
-
- Repeater {
- model: 13
- Rectangle {
- color: "goldenrod"
- width: 100
- height: 100
- radius: 10
- border.width: 1
- }
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-animated.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-animated.qml
deleted file mode 100644
index 8899ac83cc..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-animated.qml
+++ /dev/null
@@ -1,41 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Column {
- objectName: "column"
- add: Transition {
- NumberAnimation {
- properties: "y";
- }
- }
- move: Transition {
- NumberAnimation {
- properties: "y";
- }
- }
- Rectangle {
- objectName: "one"
- color: "red"
- y: -100
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "blue"
- y: -100
- opacity: 0
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "three"
- color: "red"
- y: -100
- width: 50
- height: 50
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-spacing.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-spacing.qml
deleted file mode 100644
index 557896115d..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical-spacing.qml
+++ /dev/null
@@ -1,28 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Column {
- objectName: "column"
- spacing: 10
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "red"
- width: 20
- height: 10
- }
- Rectangle {
- objectName: "three"
- color: "red"
- width: 40
- height: 20
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/vertical.qml
deleted file mode 100644
index 310d791d55..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/vertical.qml
+++ /dev/null
@@ -1,27 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Column {
- objectName: "column"
- Rectangle {
- objectName: "one"
- color: "red"
- width: 50
- height: 50
- }
- Rectangle {
- objectName: "two"
- color: "red"
- width: 20
- height: 10
- }
- Rectangle {
- objectName: "three"
- color: "red"
- width: 40
- height: 20
- }
- }
-}
diff --git a/tests/auto/qtquick1/qdeclarativepositioners/data/verticalqgraphicswidget.qml b/tests/auto/qtquick1/qdeclarativepositioners/data/verticalqgraphicswidget.qml
deleted file mode 100644
index c320714f15..0000000000
--- a/tests/auto/qtquick1/qdeclarativepositioners/data/verticalqgraphicswidget.qml
+++ /dev/null
@@ -1,24 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 640
- height: 480
- Column {
- objectName: "column"
- QGraphicsWidget {
- objectName: "one"
- width: 50
- height: 50
- }
- QGraphicsWidget {
- objectName: "two"
- width: 20
- height: 10
- }
- QGraphicsWidget {
- objectName: "three"
- width: 40
- height: 20
- }
- }
-}