summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlanimation_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Adds QmlEasingValueType to qmlLeonardo Sobral Cunha2010-02-231-4/+5
| | | | | | | | Now it's possible to use easing curve types directly in qml as value types, {easing.type: "OutBounce"; easing.amplitude: 3}, instead of the former ugly string format, like "easeOutBounce(amplitude:3.0)". Reviewed-by: akennedy
* Replace QmlList* and QList* support with a single QmlListProperty typeAaron Kennedy2010-02-221-10/+10
| | | | | | | | As a value type QmlListProperty doesn't consume any memory in the object. It also has a companion QmlListReference class that is part of the public API for C++ developers to interact with that also manages memory issues that existed with previous solutions (if the containing QObject was destroyed it left a dangling pointer).
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtMartin Jones2010-02-181-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: mkspecs/linux-g++-x11egl/qplatformdefs.h src/declarative/qml/qmldom.h src/declarative/util/qmlview.cpp src/declarative/util/qmlview.h tools/qdoc3/cppcodemarker.cpp tools/qmldebugger/standalone/canvasframerate.cpp tools/qmldebugger/standalone/engine.cpp tools/qmldebugger/standalone/expressionquerywidget.cpp tools/qmldebugger/standalone/expressionquerywidget.h tools/qmldebugger/standalone/objectpropertiesview.cpp tools/qmldebugger/standalone/objectpropertiesview.h tools/qmldebugger/standalone/objecttree.cpp tools/qmldebugger/standalone/qmldebugger.cpp tools/qmldebugger/standalone/watchtable.cpp tools/qmldebugger/standalone/watchtable.h
| * Fix copyright year.Jason McDonald2010-02-161-1/+1
| | | | | | | | Reviewed-by: Trust Me
* | Add a RotationAnimation element.Michael Brasser2010-02-181-0/+31
| | | | | | | | | | This is needed to provide more control of rotation direction when animating.
* | Transitions and Behaviors should exclusively control their animations.Michael Brasser2010-02-181-0/+1
| | | | | | | | | | Don't allow manual control (starting, stopping, etc) of animations in a Behavior or Transition.
* | Animation's setTarget should only be called via QmlValueSource*.Michael Brasser2010-02-181-1/+3
| | | | | | | | | | We rely on this to know whether to autostart. Disallow easy access to setTarget by making it private.
* | Minor animation class cleanup.Michael Brasser2010-02-181-1/+0
| |
* | Get rid of the matchProperties/properties distinction, as itMichael Brasser2010-02-181-15/+8
|/ | | | | | | | | | | has proven to be confusing in practice. property/target and properties/targets will be functionally equivilant (the only distinction being singular/plural). In a transition these properties can be used for both 'matching' and explicit animation based on whether a 'to' value is supplied. The documentation, tests, examples and demos have been updated as well.
* Revert "Replace QList<>* support with QmlListProperty"Martin Jones2010-02-101-8/+8
| | | | This reverts commit d914555badcd4761864657e1e335e657b791453f.
* Replace QList<>* support with QmlListPropertyAaron Kennedy2010-02-091-8/+8
|
* Fix Behaviors for object-type properties.Michael Brasser2010-02-051-2/+1
| | | | Task-number: QT-2269
* Remove duplicate line.Michael Brasser2010-01-131-1/+0
|
* Compile when a module.Warwick Allison2009-12-101-1/+1
|
* QML Animation framework additions for QVector3dDaniel Pope2009-12-101-0/+22
|
* Move target/property functions to their appropriate classes.Michael Brasser2009-12-071-7/+14
|
* fix includesOswald Buddenhagen2009-12-031-5/+7
| | | | | | | | | | | | - include headers from own directory with "" - include headers from own project without private/ - sort includes from most specific to most generic - make headers self-contained - some whitespace unification no attempt was made at making the qt includes consistent regarding the use of module names and forwarding headers. no attempt was made at sorting includes.
* Undo most of 913dd563064e8047fe738fc9c79135adfb928977Warwick Allison2009-12-021-2/+2
| | | | It seems we're going to have to so a syncqt/configure in Qt modules.
* Remove include styles that rely on configure.Warwick Allison2009-12-011-2/+2
| | | | May help modularization (syncqt and configure are Qt-specific).
* More animation autotests.Michael Brasser2009-11-171-1/+1
|
* Merge branch 'kinetic-declarativeui' of ↵Warwick Allison2009-11-131-0/+4
|\ | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
| * Update ParentChange + docs.Michael Brasser2009-11-121-0/+4
| |
* | Do not use "QtDeclarative/XXX" style includes in declarative module code,Warwick Allison2009-11-121-3/+3
|/ | | | as it breaks reinstalling the module against existing Qt.
* Rename targets -> matchTargets and properties -> matchProperties.Michael Brasser2009-11-061-4/+4
|
* Merge branch 'kinetic-declarativeui' of ↵Aaron Kennedy2009-10-301-16/+16
|\ | | | | | | | | | | | | | | | | | | | | git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui Conflicts: src/declarative/debugger/qmldebug.cpp src/declarative/fx/qmlgraphicsimagebase_p.h src/declarative/util/qmlanimation.h src/declarative/util/qmlstate.h src/declarative/util/qmltimer.cpp
| * fix headersWarwick Allison2009-10-291-16/+16
| |
* | Make private headers _pAaron Kennedy2009-10-301-247/+292
| |
* | Rename QFx classes to QmlGraphicsAaron Kennedy2009-10-301-2/+2
|/
* Update ScriptAction and StateChangeScript to use QmlScriptString.Michael Brasser2009-10-231-3/+5
| | | | | | | Now you can assign the script you want to run to the property directly, rather than assigning a string. Task-number: QT-734
* Add missing Q_OBJECT macros.Michael Brasser2009-10-211-0/+2
|
* SetPropertyAction -> PropertyActionMartin Jones2009-08-211-5/+5
|
* Renamed transition action elementsMartin Jones2009-08-211-8/+8
| | | | | RunScriptAction -> ScriptAction ParentChangeAction -> ParentAction
* Complete ParentChangeAction.Michael Brasser2009-08-191-1/+4
| | | | | Make it useful as a non-transition; add the ability to select by target, and set an explicit "to-value".
* Provide a way to match RunScriptActions with RunScripts.Michael Brasser2009-08-181-0/+2
|
* Rename finishPlaying to alwaysRunToEnd.Michael Brasser2009-08-181-2/+2
|
* Rename filter to targets.Michael Brasser2009-08-181-3/+2
|
* Support custom string convertors for animations.Michael Brasser2009-07-081-1/+1
|
* Move timeline class to util and make private.Michael Brasser2009-07-021-1/+1
|
* Have ColorAnimation select all properties of type QColor by default.Michael Brasser2009-07-011-1/+3
| | | | | This allows you to write ColorAnimation {} in a transition and all colors that are changing will be handled by default.
* CleanupMichael Brasser2009-06-301-2/+13
| | | | | Fix up license headers and private warnings, as well as other general cleanups.
* Support animating dot properties.Michael Brasser2009-06-301-0/+2
| | | | | Make sure we can handle things like PropertyAnimation { property: "anchors.leftMargin" }
* Rename VariantAnimation -> PropertyAnimation.Michael Brasser2009-06-251-5/+5
|
* Optimize refactored animation classes.Michael Brasser2009-06-251-1/+3
|
* Refactoring animation code.Michael Brasser2009-06-251-60/+0
| | | | | Greatly simplify the NumericAnimation and ColorAnimation classes. Still need to optimize.
* Add pause/resume functionality for animations.Michael Brasser2009-06-241-1/+2
|
* Remove more unneeded semicolons.Martin Jones2009-05-271-9/+9
|
* Fixed #includesRoberto Raggi2009-05-181-8/+8
|
* Use correct 'from' value for repeating animations.Michael Brasser2009-05-071-3/+11
| | | | | Each loop, we need to check whether the user has set a from value, and if not get the current value.
* Fixed qml's variant and color animations when started without transitionLeonardo Sobral Cunha2009-05-051-4/+13
| | | | | | | | When the 'from' field is not set, it was not updated after running an animation twice. Now the color and variant animations behave as the numeric one, updating the 'from' value at the start of each run. Reviewed-by: Michael Brasser
* Using QVariant for 'to' and 'from' values in QmlVariantAnimationPrivateLeonardo Sobral Cunha2009-04-301-3/+3
| | | | | | The 'to' and 'from' attiributes in QmlVariantAnimationPrivate were QmlNullableValue before, but we can query QVariant::isValid for the same purpose.