summaryrefslogtreecommitdiffstats
path: root/examples/declarative/flowview
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/flowview')
-rw-r--r--examples/declarative/flowview/flowview.qml15
1 files changed, 13 insertions, 2 deletions
diff --git a/examples/declarative/flowview/flowview.qml b/examples/declarative/flowview/flowview.qml
index 7a05c9b..4c9aecc 100644
--- a/examples/declarative/flowview/flowview.qml
+++ b/examples/declarative/flowview/flowview.qml
@@ -60,13 +60,24 @@ Rect {
SetProperties { target: MyContent; x: 0; y: 0; }
}
]
- transitions: Transition {
- fromState: "*"; toState: "*";
+ transitions: [
+ Transition {
+ fromState: "*"; toState: "InGrid"
SequentialAnimation {
ParentChangeAction{}
+ PauseAnimation { duration: 50 * List.FlowView.column }
+ NumericAnimation { properties: "x,y,rotation"; easing: "easeInOutQuad" }
+ }
+ },
+ Transition {
+ fromState: "*"; toState: "InList"
+ SequentialAnimation {
+ ParentChangeAction{}
+ PauseAnimation { duration: 50 * (Grid.FlowView.row * 2 + Grid.FlowView.column) }
NumericAnimation { properties: "x,y,rotation"; easing: "easeInOutQuad" }
}
}
+ ]
}
}