summaryrefslogtreecommitdiffstats
path: root/examples/declarative/animations/property-animation.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-31 13:09:24 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-31 13:09:24 (GMT)
commit0373325dd1390682922dd07614214c453d473ce3 (patch)
tree93267c9f7d2bdd9e387dc5cda34cd6c548cf8e5c /examples/declarative/animations/property-animation.qml
parentb85a41ece042bca5c4e1ac2a6549f2cdc2c6ca1a (diff)
parentd401f416478628ce84afd2cd755f8df91edee22d (diff)
downloadQt-0373325dd1390682922dd07614214c453d473ce3.zip
Qt-0373325dd1390682922dd07614214c453d473ce3.tar.gz
Qt-0373325dd1390682922dd07614214c453d473ce3.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (21 commits) Fix bug when adding import paths manually Update Comment Optimize QDeclarativeEngine::importExtension QGraphicsEffect : Don't rely on the exposedArea when rendering the item into the cache. Fix snapping in listview. Minor cleanup. Improve flipable example. Minor cleanup for visual test framework. VisibleArea is not a creatable type. More testing. Test openUrlExternally doc example of WebView onAlert, and of popups in general. Update examples/declarative.pro Update mouseX(Y) when clicking on a mouse area Declarative examples cleanup. Add test. doc Move gitignore to right level, update for Linux. Cleanup MouseArea visual tests. ...
Diffstat (limited to 'examples/declarative/animations/property-animation.qml')
-rw-r--r--examples/declarative/animations/property-animation.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/animations/property-animation.qml b/examples/declarative/animations/property-animation.qml
index 401feb5..fd5eb3c 100644
--- a/examples/declarative/animations/property-animation.qml
+++ b/examples/declarative/animations/property-animation.qml
@@ -40,7 +40,7 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
source: "images/face-smile.png"; y: minHeight
- // Animate the y property. Setting repeat to true makes the
+ // Animate the y property. Setting loops to Animation.Infinite makes the
// animation repeat indefinitely, otherwise it would only run once.
SequentialAnimation on y {
loops: Animation.Infinite
@@ -50,7 +50,7 @@ Item {
from: smiley.minHeight; to: smiley.maxHeight
easing.type: "OutExpo"; duration: 300
}
-
+
// Then move back to minHeight in 1 second, using the OutBounce easing function
NumberAnimation {
from: smiley.maxHeight; to: smiley.minHeight