summaryrefslogtreecommitdiffstats
path: root/examples/declarative/progressbar
Commit message (Collapse)AuthorAgeFilesLines
* Add .qmlproject files to declarative examples.Yann Bodson2010-04-201-0/+16
|
* Example fixesBea Lam2010-04-131-4/+4
|
* Fix code style in examplesBea Lam2010-04-132-11/+26
|
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-082-2/+2
|
* Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDeclarativeSmoothedAnimation inherits from QDeclarativeNumberAnimation, as a consequence SmoothedAnimation can be used inside Behaviors and as PropertySourceValues, like any other animation. The old EaseFollow properties changed to comply with the other declarative animations ('source' changed to 'to'), so now 'to' changes are not automatically 'followed' anymore. You can achieve the following behavior by putting a SmoothedAnimation inside a Behavior of a property that is bound to another, as the following example: If you want to follow an hypothetical rect1, you should do now: Rectangle { color: "green" width: 60; height: 60; x: rect1.x - 5; y: rect1.y - 5; Behavior on x { SmoothedAnimation { velocity: 200 } } Behavior on y { SmoothedAnimation { velocity: 200 } } } SmoothedAnimation also supports animating multiple target(s)/property(ies) in the transition case. When a QDeclarativeSmoothedAnimation is restarted, it will match the QDeclarativeProperty which were being animated and transfer the corresponding track velocity to the new starting animations. QSmoothedAnimation is an uncontrolled animation, duration == -1. The duration is set as -1 to avoid consecutive animation state changes stop()/start(). This is particularly useful when using QSmoothAnimation to 'follow' another property, which is also being animated (change the 'to' property every tick). Reviewed-by: Michael Brasser
* Qt.Infinite -> Animation.InfiniteMichael Brasser2010-03-251-3/+3
| | | | | Too misleading to have on the Qt object, as it only means infinite for animation loops.
* Replace Animation's repeat property with loops.Michael Brasser2010-03-251-3/+3
| | | | | You can now loop a fixed number of times as well as forever. The old repeat behavior (loop forever) can be acheived with loops: Qt.Infinite.
* Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-022-4/+4
| | | | | | | | | | | | | | | | | | | | | Where you would have written x: NumberAnimation {} y: Behavior {} you now must write NumberAnimation on x {} Behavior on y {} This change also makes the parser more strict with respect to multiple assignments to a single property - they're no longer allowed. For example this x: 10 x: 11 is now an error.
* Renamed Flickable viewportXXX properties contentXXXMartin Jones2010-02-261-1/+1
| | | | A viewport is the thing you look through, not what you look at.
* Removed "running: true" for animations used as propertyvaluesourceLeonardo Sobral Cunha2010-02-111-3/+3
| | | | | | This attribution is not necessary anymore since 923710196d6d5..., Reviewed-by: Michael Brasser
* cleanup progressbar exampleYann Bodson2009-11-254-27/+28
|
* use enums rather than strings in examplesYann Bodson2009-10-261-1/+1
|
* Remove unused filesYann Bodson2009-10-162-0/+0
|
* Add simple examplesYann Bodson2009-10-165-0/+59