summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-09 03:27:49 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-09 03:27:49 (GMT)
commit1424d6be3691bafc980693c01532938dc4a640a6 (patch)
treeb3a94c161495fdf9e9a7ae82c2b34fb5bfad7d50 /tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml
parent3ceeb87db6b6f7beeffe9df0417bd076fa72eece (diff)
downloadQt-1424d6be3691bafc980693c01532938dc4a640a6.zip
Qt-1424d6be3691bafc980693c01532938dc4a640a6.tar.gz
Qt-1424d6be3691bafc980693c01532938dc4a640a6.tar.bz2
Split out layout and positioner tests
Includes actually adding some layout tests (which seem to expose bugs in the layouts).
Diffstat (limited to 'tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml')
-rw-r--r--tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml42
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml b/tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml
new file mode 100644
index 0000000..c29d6df
--- /dev/null
+++ b/tests/auto/declarative/qmlgraphicspositioners/data/horizontal-animated.qml
@@ -0,0 +1,42 @@
+import Qt 4.6
+
+Item {
+ width: 640
+ height: 480
+ Row {
+ add: Transition {
+ NumberAnimation {
+ matchProperties: "x"; from: -100
+ }
+ }
+ remove: Transition {
+ NumberAnimation {
+ matchProperties: "x"; to: -100
+ }
+ }
+ move: Transition {
+ NumberAnimation {
+ matchProperties: "x";
+ }
+ }
+ Rectangle {
+ objectName: "one"
+ color: "red"
+ width: 50
+ height: 50
+ }
+ Rectangle {
+ objectName: "two"
+ color: "blue"
+ opacity: 0
+ width: 50
+ height: 50
+ }
+ Rectangle {
+ objectName: "three"
+ color: "red"
+ width: 50
+ height: 50
+ }
+ }
+}