summaryrefslogtreecommitdiffstats
path: root/examples/declarative/animations
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/animations')
-rw-r--r--examples/declarative/animations/color-animation.qml10
-rw-r--r--examples/declarative/animations/property-animation.qml2
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/declarative/animations/color-animation.qml b/examples/declarative/animations/color-animation.qml
index 54608c7..7171a69 100644
--- a/examples/declarative/animations/color-animation.qml
+++ b/examples/declarative/animations/color-animation.qml
@@ -11,7 +11,7 @@ Item {
GradientStop {
position: 0.0
color: SequentialAnimation {
- running: true; repeat: true
+ repeat: true
ColorAnimation { from: "DeepSkyBlue"; to: "#0E1533"; duration: 5000 }
ColorAnimation { from: "#0E1533"; to: "DeepSkyBlue"; duration: 5000 }
}
@@ -19,7 +19,7 @@ Item {
GradientStop {
position: 1.0
color: SequentialAnimation {
- running: true; repeat: true
+ repeat: true
ColorAnimation { from: "SkyBlue"; to: "#437284"; duration: 5000 }
ColorAnimation { from: "#437284"; to: "SkyBlue"; duration: 5000 }
}
@@ -31,7 +31,7 @@ Item {
Item {
width: parent.width; height: 2 * parent.height
transformOrigin: Item.Center
- rotation: NumberAnimation { from: 0; to: 360; duration: 10000; running: true; repeat: true }
+ rotation: NumberAnimation { from: 0; to: 360; duration: 10000; repeat: true }
Image {
source: "images/sun.png"; y: 10; anchors.horizontalCenter: parent.horizontalCenter
transformOrigin: Item.Center; rotation: -3 * parent.rotation
@@ -45,7 +45,7 @@ Item {
source: "images/star.png"; angleDeviation: 360; velocity: 0
velocityDeviation: 0; count: parent.width / 10; fadeInDuration: 2800
opacity: SequentialAnimation {
- running: true; repeat: true
+ repeat: true
NumberAnimation { from: 0; to: 1; duration: 5000 }
NumberAnimation { from: 1; to: 0; duration: 5000 }
}
@@ -59,7 +59,7 @@ Item {
GradientStop {
position: 0.0
color: SequentialAnimation {
- running: true; repeat: true
+ repeat: true
ColorAnimation { from: "ForestGreen"; to: "#001600"; duration: 5000 }
ColorAnimation { from: "#001600"; to: "ForestGreen"; duration: 5000 }
}
diff --git a/examples/declarative/animations/property-animation.qml b/examples/declarative/animations/property-animation.qml
index 0256137..9f76ee5 100644
--- a/examples/declarative/animations/property-animation.qml
+++ b/examples/declarative/animations/property-animation.qml
@@ -43,7 +43,7 @@ Item {
// Animate the y property. Setting repeat to true makes the
// animation repeat indefinitely, otherwise it would only run once.
y: SequentialAnimation {
- running: true; repeat: true
+ repeat: true
// Move from minHeight to maxHeight in 300ms, using the easeOutExpo easing function
NumberAnimation {