* don't leak the m_under object
* only paint what's necessary (the exposed rect)
* keep track of the target in PulserShadow
svn path=/trunk/KDE/kdelibs/; revision=1069729
but this is the list from what I can recall:
- removing expand animation (it is a case of grow animation)
- removing AbstractAnimation and using QAbstractAnimation as the common base
- animations are non longer factories, but real animation (so it is just no
issue to mesh then with user created animations)
- animation group will correctly revert the direction of all subanimations
(useful for rewinding an animation)
- fixed opacity effect in pulse animation (now it works correctly)
- there is not 'forward' property, but animation 'direction' (this is how
rewinding an animation must be done)
- direction now is movementDirection property (used in SlideAnimation and RotationStacked)
- the weakpointer for the actual animaiton is non longer in AnimationPrivate but
in each specialized animation class
- hide property is being removed (in progress) since it really is a case of Fade
I guess this is it, now is just a matter of iron out the remaining bugs and polish
the public API.
svn path=/trunk/KDE/kdelibs/; revision=1057993
- moved transformation reference inside of the the shadow pulse
class
- ensuring that the local pointer in pulser will correctly point to the
shadow object
- recreating the pixmap if the animated widget geometry has changed
svn path=/trunk/KDE/kdelibs/; revision=1050711
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).
But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.
It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).
svn path=/trunk/KDE/kdelibs/; revision=1048277
was triggered while the animation was running and *before*
it was over.
For while, it will just ignore the geometry calculus and return
(but ideally it should listen for the event emited when the animation
is over and then recalculate the geometries).
svn path=/trunk/KDE/kdelibs/; revision=1039630
Now the QAbstractAnimations will be cached when running an animation
(instead of creating and destroying them everytime the animation runs).
The next step is to cache *also* the configuration parameters (as aseigo suggested,
by having an event filter to detect changes in the animated widgets and reseting
the animation parameters as needed).
svn path=/trunk/KDE/kdelibs/; revision=1039531
is no 'shadow' widget (and thus not set the widget itself as
its parent).
By connecting a slot to the signal emited by animation end, it will
also restore original opacity back.
TODO: instead of a copy of object, the shadow should be an image
where the animated widget was painted. This will solve a lot
of issues and make this class easier to use.
svn path=/trunk/KDE/kdelibs/; revision=1036351
Qt 4.6 animation API (a.k.a. kinetic) to implement effects.
Current implemented animations: fade, slide, expand, grow (next will be
pulse and rotation).
Further discussion is here:
http://reviewboard.kde.org/r/1512/
svn path=/trunk/KDE/kdelibs/; revision=1035749