Commit Graph

9 Commits

Author SHA1 Message Date
Aaron J. Seigo
edc7191176 * don't duplicate what QAbstractAnimation already does for us
* don't emit finished() multiple times
* start() is not virtual (which is why it wasn't getting called sometimes!), use updateState; also gets rid of the dirty flag hack

svn path=/trunk/KDE/kdelibs/; revision=1058157
2009-12-04 01:13:40 +00:00
Adenilson Cavalcanti Da Silva
818e93a576 Amazon sized patch... So many changes that I can hardly remember what they are,
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
2009-12-03 19:30:02 +00:00
Aaron J. Seigo
8814c2b2c0 * consolidate the start() methods
* make some changes needed for bindings

svn path=/trunk/KDE/kdelibs/; revision=1038369
2009-10-21 07:51:11 +00:00
Aaron J. Seigo
2a524aae11 * dptr
* use the qobject parent system instead of tracking it ourselves

svn path=/trunk/KDE/kdelibs/; revision=1038329
2009-10-21 04:15:52 +00:00
Aaron J. Seigo
2e18ea7af8 some apidox noting when they appeared
svn path=/trunk/KDE/kdelibs/; revision=1038238
2009-10-20 21:25:39 +00:00
Adenilson Cavalcanti Da Silva
54b7836134 Removing empty spaces in comments.
svn path=/trunk/KDE/kdelibs/; revision=1038165
2009-10-20 18:40:34 +00:00
Aaron J. Seigo
a1d93d4118 one more go at this method name; i don't think it will be in the public API anyways
svn path=/trunk/KDE/kdelibs/; revision=1036265
2009-10-16 21:27:35 +00:00
Aaron J. Seigo
cbb1a5e686 * asQAnimation (i still wonder if that's the best of names or even strictly needed?)
* coding style

svn path=/trunk/KDE/kdelibs/; revision=1036121
2009-10-16 16:36:22 +00:00
Adenilson Cavalcanti Da Silva
a4b408277c Merging Mehmet Ali Akmanalp new plasma::Animator code. It uses the new and shiny
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
2009-10-15 19:36:38 +00:00