| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Missed/cross-paths with a29627231a02ebf98645675acbd353618d1109d4.
Task-number: QTBUG-10081
|
|
|
|
|
|
| |
Since we aren't releasing for 4.6, all types are new in 4.7.
Task-number: QTBUG-10081
|
| |
|
|
|
|
|
|
| |
With embedded, it is often the case that some QT_NO_* features are
turned off (eg. QT_NO_XMLPATTERNS), which in turn leads to QML types not
being available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SmoothedFollow is the same as the old EaseFollow, so it's not an
animation, but its main use case is to be used as a property value
source to automatically follow the 'to' property, as in the example below.
Rectangle {
color: "green"
width: 60; height: 60;
SmoothedFollow on x { to: rect1.x - 5; velocity: 200 }
SmoothedFollow on y { to: rect1.y - 5; velocity: 200 }
}
This element shares the internal implementation with SmoothedAnimation,
both providing the same easing function, but with SmoothedFollow it's
easier to set a start value to animate intially and then start to follow,
while SmoothedAnimation is still convenient for using inside Behaviors
and Transitions.
Reviewed-by: Michael Brasser
|
|
|
|
|
|
|
| |
Also adds qmlRegisterUncreatableType<>() to allow registration of
named types that cannot be created.
Task-number: QTBUG-9575
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Instead of specifying left, right, etc directly, we keep the regular
syntax and specify anchors.left, anchors.right, etc. Also get rid
of the hacky "reset" string property and use undefined to reset (like
PropertyChanges).
|
|
|
|
|
| |
Too misleading to have on the Qt object, as it only means infinite
for animation loops.
|
|
|
|
| |
It has been replaced with ParentAnimation.
|
| |
|
|
|
|
| |
Task-number: QT-2825
|
|
|
|
| |
This commit removes the obsolete QML_REGISTER_TYPE macros.
|
|
|
|
|
|
|
| |
Functions have been added to QML's global Qt object for date/time
formatting. Number formatting will not be supported for 4.7.
Task-number: QT-2821
|
|
|
|
|
|
| |
do not include headers of disabled modules
Reviewed-by: Paul Olav Tvete
|
|
|
|
| |
Task-number: QT-2822
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
QDeclarativeXXX.
|