Commit Graph

9 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
0a452da077 Adding doxygen comments in animation classes (part 3).
svn path=/trunk/KDE/kdelibs/; revision=1060718
2009-12-09 18:40:02 +00:00
Adenilson Cavalcanti Da Silva
6afab7d906 Moved all variables from a pimple to data members in pulse
(saves one new/delete operation).


svn path=/trunk/KDE/kdelibs/; revision=1060043
2009-12-07 22:55:56 +00:00
Adenilson Cavalcanti Da Silva
215712e662 Removing unused code.
svn path=/trunk/KDE/kdelibs/; revision=1059976
2009-12-07 20:24:20 +00:00
Adenilson Cavalcanti Da Silva
7a4193fa2a Reusing duration property from base class and storing target animation
scale factor.


svn path=/trunk/KDE/kdelibs/; revision=1059938
2009-12-07 18:16:33 +00:00
Adenilson Cavalcanti Da Silva
0e503cbc5f Some more cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1059909
2009-12-07 16:41:40 +00:00
Adenilson Cavalcanti Da Silva
831bd97941 Making pulse animation work again with new design. It is still
using an internal animation group (got to try to fix this later).


svn path=/trunk/KDE/kdelibs/; revision=1059906
2009-12-07 16:37:23 +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
Adenilson Cavalcanti Da Silva
702920c810 Starting to implement pixmap based pulse animation. The first implementation
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
2009-11-13 01:20:51 +00:00
Aaron J. Seigo
33b5a8f082 mark the private headers as such
svn path=/trunk/KDE/kdelibs/; revision=1039133
2009-10-22 19:46:16 +00:00