summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeanimation_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Don't export QtDeclarative symbols needed by QtCreator on SymbianJoona Petrell2010-10-191-2/+2
| | | | | Task-number: QTBUG-14041 Reviewed-by: Aaron Kennedy
* Add exports for BauhausThomas Hartmann2010-09-211-1/+1
| | | | | | The QmlDesigner(Bauhaus) should not rely on -nokia-developer Reviewed-by: Marco Bubke
* Export QDeclarativeScriptActionMarco Bubke2010-09-141-1/+1
| | | | It is needed in Bauhaus to disable the animation.
* Remove wrong NOTIFY attribute.Olivier Goffart2010-08-191-9/+9
| | | | | They where related to not unreachable signals. It would cause the compilation to break
* Remove use of shared NOTIFY signalsMartin Jones2010-07-291-4/+6
| | | | | | | | | Sharing a NOTIFY signal can cause binding loop warnings with no apparent cause. Task-number: QTBUG-12333 Reviewed-by: Aaron Kennedy Reviewed-by: Michael Brasser
* Optimization: change signal/slot to function callmae2010-07-081-2/+4
|
* Added QDeclarativeSpringAnimationmae2010-07-071-0/+1
| | | | | | | | | | | | | The QDeclarativeSpringAnimation is a replacement for QDeclarativeSpringFollow. The idea is to remove the Follows quickly. Follows used to have an inSync property. In order to provide an alternative mechanism, the commit also fixes the running property for animations which are controlled by a behavior. Previously running would always return false and never change. Now running does change and indicates that the animation is running indeed.
* Add more Q_AUTOTEST_EXPORTsAaron Kennedy2010-06-031-1/+1
|
* Don't start valuesource animations until all component objects have been ↵Michael Brasser2010-05-051-0/+1
| | | | | | completed. Task-number: QTBUG-9413
* Add duration and easing properties to AnchorAnimation.Michael Brasser2010-04-221-0/+12
|
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-2/+2
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Change and rename qml EaseFollow to SmoothedAnimationLeonardo Sobral Cunha2010-03-301-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+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-4/+5
| | | | | 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.
* Rename stateChangeScriptName to scriptName.Michael Brasser2010-03-241-1/+1
|
* Add missing NOTIFYs.Michael Brasser2010-03-231-3/+8
| | | | Task-number: QTBUG-8816
* Remove ParentAction.Michael Brasser2010-03-231-27/+0
| | | | It has been replaced with ParentAnimation.
* Removed wrong parenthesis around property NOTIFY declarationLeonardo Sobral Cunha2010-03-221-1/+1
|
* Add AnchorAnimation for animating AnchorChanges.Michael Brasser2010-03-111-0/+21
| | | | Task-number: QT-2825
* Add basic support for explicit newParent in ParentAnimation.Michael Brasser2010-03-051-1/+1
|
* Fix ParentAnimation crash.Michael Brasser2010-02-261-0/+3
|
* Add ParentAnimation.Michael Brasser2010-02-261-0/+31
| | | | | | | ParentAnimation will replace ParentAction. It provides two advantages: * It will animate correctly when reversed. * It allows reparenting via another item, which is useful in the presence of clips, for example.
* Rename QDeclarativeMetaProperty -> QDeclarativePropertyAaron Kennedy2010-02-251-9/+9
| | | | There's nothing meta about our properties.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+467
QDeclarativeXXX.