aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/StackView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/StackView.qml')
-rw-r--r--src/imports/controls/StackView.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imports/controls/StackView.qml b/src/imports/controls/StackView.qml
index 396778b7..91df6420 100644
--- a/src/imports/controls/StackView.qml
+++ b/src/imports/controls/StackView.qml
@@ -40,19 +40,27 @@ import QtQuick.Controls 2.0
AbstractStackView {
id: root
+ //! [popEnter]
popEnter: Transition {
NumberAnimation { property: "x"; from: -root.width; to: 0; duration: 400; easing.type: Easing.OutCubic }
}
+ //! [popEnter]
+ //! [popExit]
popExit: Transition {
NumberAnimation { property: "x"; from: 0; to: root.width; duration: 400; easing.type: Easing.OutCubic }
}
+ //! [popExit]
+ //! [pushEnter]
pushEnter: Transition {
NumberAnimation { property: "x"; from: root.width; to: 0; duration: 400; easing.type: Easing.OutCubic }
}
+ //! [pushEnter]
+ //! [pushExit]
pushExit: Transition {
NumberAnimation { property: "x"; from: 0; to: -root.width; duration: 400; easing.type: Easing.OutCubic }
}
+ //! [pushExit]
}