diff options
Diffstat (limited to 'tests/auto/declarative/qsgpositioners/data/vertical-animated.qml')
-rw-r--r-- | tests/auto/declarative/qsgpositioners/data/vertical-animated.qml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsgpositioners/data/vertical-animated.qml b/tests/auto/declarative/qsgpositioners/data/vertical-animated.qml new file mode 100644 index 0000000000..69f1b7eb25 --- /dev/null +++ b/tests/auto/declarative/qsgpositioners/data/vertical-animated.qml @@ -0,0 +1,41 @@ +import QtQuick 2.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 + } + } +} |