Commit Graph

20 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
ca35755ac0 Following the same function convention call in the remaining classes.
TODO: check which classes it makes sense to actually allow the user
to set the easing curve.


svn path=/trunk/KDE/kdelibs/; revision=1060689
2009-12-09 16:34:43 +00:00
Igor Trindade Oliveira
dc184742b9 "remove private class: the include main already is private"
svn path=/trunk/KDE/kdelibs/; revision=1060658
2009-12-09 14:35: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
Igor Trindade Oliveira
61adef1780 port rotationanimation to new animation design: remove render and qpropertyanimation
svn path=/trunk/KDE/kdelibs/; revision=1058636
2009-12-04 20:49:09 +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
Igor Trindade Oliveira
28bab1f99d fix coding style
svn path=/trunk/KDE/kdelibs/; revision=1041163
2009-10-27 14:22:21 +00:00
Adenilson Cavalcanti Da Silva
1049afdab6 First step to improve new animations memory model.
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
2009-10-23 18:39:57 +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
Adenilson Cavalcanti Da Silva
8a930cbaca Moving rotation related only parameters back to RotationAnimation.
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.


svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +00:00
Aaron J. Seigo
d04ef47d95 SVN_SILENT: unneeded noise now :)
svn path=/trunk/KDE/kdelibs/; revision=1038853
2009-10-22 04:19:33 +00:00
Aaron J. Seigo
a9a4fc471b set a start value so it can go backwards
svn path=/trunk/KDE/kdelibs/; revision=1038849
2009-10-22 04:00:02 +00:00
Adenilson Cavalcanti Da Silva
38726c368a Coding style.
svn path=/trunk/KDE/kdelibs/; revision=1038339
2009-10-21 05:35:56 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085 Moving rotation related parameters to common location (now it should
be possible to use AbstractAnimation properties to use rotation
animation).


svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +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
Igor Trindade Oliveira
84b8265322 add dptr to rotation
svn path=/trunk/KDE/kdelibs/; revision=1036200
2009-10-16 19:52:43 +00:00
Aaron J. Seigo
82cf1ef3fb add qproperties
svn path=/trunk/KDE/kdelibs/; revision=1036120
2009-10-16 16:34:53 +00:00
Adenilson Cavalcanti Da Silva
f2cb0b0020 Updating rotation animation to changes in public API of Animation class.
svn path=/trunk/KDE/kdelibs/; revision=1035765
2009-10-15 20:24:12 +00:00
Igor Trindade Oliveira
cceef16789 add rotation animation in animations directory
svn path=/trunk/KDE/kdelibs/; revision=1035753
2009-10-15 19:53:49 +00:00