| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
If the animation had an explicit "running: true", the animation would
be registered with the engine twice, which prevented a proper start.
|
| |
|
|
|
|
| |
other minor doc fixes
|
| |
|
|
|
|
| |
examples from class docs and improve assorted docs
|
|
|
|
| |
Task-number: QTBUG-10816
|
| |
|
|
|
|
| |
Also rearrange the parameter order to be more clear.
|
|
|
|
|
|
|
|
|
|
|
| |
copyOriginals plays with the order of the revertList, which messes up
the assumptions of ParentAnimation. The full fix will require some
rearchitecting of how the states and transitions handle "related"
actions, but for now this fixes the crash.
Reverting to the base state has also been fixed.
Task-number: QTBUG-10671, QTBUG-10676
|
|
|
|
| |
This reverts commit 8f800ea5611be333ae15f932dfea50bc80852c03.
|
|
|
|
|
|
| |
When rolling-back a parent change, the actions are in reverse order.
Task-number: QTBUG-10671
|
| |
|
|\ |
|
| | |
|
|/
|
|
| |
Task-number: QTBUG-10385
|
|\ |
|
| |
| |
| |
| |
| |
| | |
completed.
Task-number: QTBUG-9413
|
|/
|
|
| |
Task-number: QTBUG-10386
|
|\ |
|
| |
| |
| |
| |
| | |
QDeclarativeExpression can be used to evaluate any sort of expression,
not just those returning a value.
|
| | |
|
| | |
|
| |
| |
| |
| | |
QTBUG-9726
|
| | |
|
|/
|
|
| |
some elements docs.
|
| |
|
|
|
|
| |
Task-number: QTBUG-9897
|
|
|
|
|
| |
Always use private/. The WinSCW compiler doesn't search the current
directory, for whatever reason.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Too misleading to have on the Qt object, as it only means infinite
for animation loops.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
For a Transition running in reverse, stop ScriptAction from running any
StateSchageScripts.
|
| |
|
| |
|
|
|
|
| |
Use setParent_NoEvent when parenting to group.
|
|
|
|
|
|
| |
Shortest as default too often led to unintuitive behavior. For example,
RotationAnimation { from: 0; to: 360 } will not animate at all. Numerical
gives the least surprising results.
|
|
|
|
| |
Task-number: QTBUG-8816
|
|
|
|
| |
It has been replaced with ParentAnimation.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
configure.exe
src/declarative/util/qdeclarativelistmodel.cpp
tools/qml/qml.pro
|
| |
| |
| |
| |
| | |
At this point, no QML qdoc errors appear in the output.
There is still a lot of debug output.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Task-number: QT-2825
|
| |
|
| |
|