Commit Graph

30 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
2375cd6ce8 Added Plasma::PendulumCurve class plus make it work with RotationAnimation
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
75b66bdd8b Avoid double call for QEasingCurve's valueForProgress() (now executed by EasingAnimation before calling updateEffectiveTime), causing a minor corruption of the effective animation progress values.
svn path=/trunk/KDE/kdelibs/; revision=1117762
2010-04-22 23:10:29 +00:00
Aaron J. Seigo
892d8ae1c0 use the easing curve in all of our animations
svn path=/trunk/KDE/kdelibs/; revision=1112612
2010-04-08 17:07:33 +00:00
Bruno de Oliveira Abinader
4f301b339f Reverting "Added bouncing effect for Rotation animation"
svn path=/trunk/KDE/kdelibs/; revision=1112210
2010-04-07 15:56:21 +00:00
Bruno de Oliveira Abinader
7507808e7c Added bouncing effect for Rotation animation
svn path=/trunk/KDE/kdelibs/; revision=1112192
2010-04-07 15:19:07 +00:00
Adenilson Cavalcanti Da Silva
af1a619c06 Including 'moc' files, should speed up compilation.
svn path=/trunk/KDE/kdelibs/; revision=1095303
2010-02-23 23:31:45 +00:00
Aaron J. Seigo
18640f63e3 * kill some memory leaks
* mark appropriate ctors with explicit
* Direction -> MovementDirection so it doesn't conflict with QAbstractAnimation::Direction

svn path=/trunk/KDE/kdelibs/; revision=1073809
2010-01-12 22:24:58 +00:00
Marco Martin
1aac8cb293 set the proper values for the 3d vector
svn path=/trunk/KDE/kdelibs/; revision=1072233
2010-01-09 17:30:40 +00:00
Aaron J. Seigo
8ccd1a0d9c * adapt to API
* coding style fixes

svn path=/trunk/KDE/kdelibs/; revision=1069730
2010-01-04 09:18:11 +00:00
John Layt
6e9943e36c krazy fixes, mostly include guards and copyright tags
svn path=/trunk/KDE/kdelibs/; revision=1066779
2009-12-27 22:16:11 +00:00
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