Commit Graph

17 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
9e736804c9 add support for easing curves
svn path=/trunk/KDE/kdelibs/; revision=1060395
2009-12-08 19:29:03 +00:00
Adenilson Cavalcanti Da Silva
df6a9b7a36 Renaming stackedrotation header file.
svn path=/trunk/KDE/kdelibs/; revision=1060049
2009-12-07 23:26:24 +00:00
Adenilson Cavalcanti Da Silva
465fe34d77 Moved all variables from a pimple to data members in stackedrotation
(saves one new/delete operation).

svn path=/trunk/KDE/kdelibs/; revision=1060048
2009-12-07 23:22:47 +00:00
Igor Trindade Oliveira
4be6442625 remove unused method
svn path=/trunk/KDE/kdelibs/; revision=1059024
2009-12-05 15:06:41 +00:00
Igor Trindade Oliveira
2746410f5c make rotationstacked work as expected
svn path=/trunk/KDE/kdelibs/; revision=1059023
2009-12-05 14:54:06 +00:00
Aaron J. Seigo
0791fc1ecb build
svn path=/trunk/KDE/kdelibs/; revision=1058008
2009-12-03 19:57:54 +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
59288a9be3 leak--
svn path=/trunk/KDE/kdelibs/; revision=1051479
2009-11-19 15:08:17 +00:00
Igor Trindade Oliveira
11ca7e2b29 use qweakpointer to prevent crashs
svn path=/trunk/KDE/kdelibs/; revision=1048662
2009-11-13 17:38:04 +00:00
Igor Trindade Oliveira
0d38c4cfa8 fix: make backward animation works
svn path=/trunk/KDE/kdelibs/; revision=1048630
2009-11-13 16:41:26 +00:00
Igor Trindade Oliveira
fbd5f0411b fix properties
svn path=/trunk/KDE/kdelibs/; revision=1048146
2009-11-12 20:15:43 +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
Igor Trindade Oliveira
2f02dbb602 create properties to rotatestackedanimation
svn path=/trunk/KDE/kdelibs/; revision=1039220
2009-10-23 02:45:55 +00:00
Igor Trindade Oliveira
a6211982da fix animation direction
svn path=/trunk/KDE/kdelibs/; revision=1039151
2009-10-22 20:43:35 +00:00
Igor Trindade Oliveira
a7db9faf50 Add new Animation, RotationStackedAnimation.
It can do 3D rotation animations without the user does not care about layouts and hidden widgets

svn path=/trunk/KDE/kdelibs/; revision=1039141
2009-10-22 20:17:07 +00:00