Commit Graph

21 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
6df20d182c Oops, we need to set the parent as the target animated widget
if no parent was set yet.


svn path=/trunk/KDE/kdelibs/; revision=1061402
2009-12-11 16:50:26 +00:00
Adenilson Cavalcanti Da Silva
d7daecf191 Adding doxygen comments in animation classes (part 1).
svn path=/trunk/KDE/kdelibs/; revision=1060701
2009-12-09 17:56:40 +00:00
Adenilson Cavalcanti Da Silva
5a721b9bad Creating a QEasingCurve object in AnimationPrivate and allowing access to
it to all Animation derived classes.

The idea is that the user can select the easing curve (if the it makes sense
in the animation).


svn path=/trunk/KDE/kdelibs/; revision=1060687
2009-12-09 16:28:27 +00:00
Igor Trindade Oliveira
9e736804c9 add support for easing curves
svn path=/trunk/KDE/kdelibs/; revision=1060395
2009-12-08 19:29:03 +00:00
Aaron J. Seigo
c0da94c928 don't duplicate what QAbstractAnimation already does for us
svn path=/trunk/KDE/kdelibs/; revision=1058152
2009-12-04 01:02:30 +00:00
Marco Martin
31704d2e6b remove render from slide, it will be removed from everywhere else too
svn path=/trunk/KDE/kdelibs/; revision=1058094
2009-12-03 22:42:34 +00:00
Aaron J. Seigo
1349be10af get rid of the visibility thing
svn path=/trunk/KDE/kdelibs/; revision=1058031
2009-12-03 20:48:27 +00:00
Igor Trindade Oliveira
435961b498 fix in the fix: use takeAnimation instead of takeAnimationAt
svn path=/trunk/KDE/kdelibs/; revision=1058014
2009-12-03 20:07:37 +00:00
Adenilson Cavalcanti Da Silva
c2a7cf4947 Build++;
svn path=/trunk/KDE/kdelibs/; revision=1058004
2009-12-03 19:52:27 +00:00
Marco Martin
5c5e62d796 nimation.cpp builds individual animations still not
svn path=/trunk/KDE/kdelibs/; revision=1058000
2009-12-03 19:45:17 +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
Mehmet Ali Akmanalp
4dc1ee533d Fix docstrings in Animation.
svn path=/trunk/KDE/kdelibs/; revision=1039118
2009-10-22 19:11:46 +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
e802b2d224 use the qobject parent system
svn path=/trunk/KDE/kdelibs/; revision=1038330
2009-10-21 04:16:27 +00:00
Aaron J. Seigo
353c7d9aca one more API shift
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b API cleanups
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa sort out the API a bit and don't have private classes that are named the same
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +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
a661ba66d6 Moving private members to a private class.
svn path=/trunk/KDE/kdelibs/; revision=1035762
2009-10-15 20:19:02 +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