summaryrefslogtreecommitdiff
path: root/tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml')
-rw-r--r--tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml b/tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml
new file mode 100644
index 0000000000..e95b029210
--- /dev/null
+++ b/tests/auto/quick/qquickcanvas/data/AnimationsWhileHidden.qml
@@ -0,0 +1,17 @@
+import QtQuick 2.0
+import QtQuick.Window 2.0 as Window
+
+Window.Window
+{
+ id: win
+ visible: true
+ width: 250
+ height: 250
+
+ SequentialAnimation {
+ PauseAnimation { duration: 500 }
+ PropertyAction { target: win; property: "visible"; value: true }
+ loops: Animation.Infinite
+ running: true
+ }
+}