- 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