Commit Graph

14 Commits

Author SHA1 Message Date
Allen Winter
3edc7be1c5 add krazy excludes for the false positives not using qreal casting in qMin|qMax.
svn path=/trunk/KDE/kdelibs/; revision=1197830
2010-11-16 17:18:10 +00:00
Marijn Kruisselbrink
cf3951ad20 revert r1171729, as those changes broke compilation on platforms where qreal != double
svn path=/trunk/KDE/kdelibs/; revision=1196092
2010-11-12 15:23:22 +00:00
Sebastian Kügler
b088405e49 fix build
svn path=/trunk/KDE/kdelibs/; revision=1195247
2010-11-10 16:48:49 +00:00
Allen Winter
91f76a12f3 turn floating point constants into qreal's when passing them to qMin or qMax.
found when testing the new Krazy plugin for checking this condition.


svn path=/trunk/KDE/kdelibs/; revision=1171729
2010-09-04 23:07:23 +00:00
Marco Martin
dccc435d8b deprecate kineticscroll functions,
remove one that was added only for 4.5

svn path=/trunk/KDE/kdelibs/; revision=1123943
2010-05-07 12:32:35 +00:00
Marco Martin
ce3762373f add an explicit way to stop
svn path=/trunk/KDE/kdelibs/; revision=1094245
2010-02-22 11:21:30 +00:00
Marco Martin
fdae3f0d59 This patch forward the "stateChanged" signal emitted from the private kinetic scroll animation all the way to Plasma::ScrollWidget, which then forwards this signal to its childs. This enables an object which derives from Plasma::ScrollWidget to know the kinetic scrolling animation state.
Patch by Bruno Abinader

svn path=/trunk/KDE/kdelibs/; revision=1064768
2009-12-21 18:36:39 +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
Aaron J. Seigo
73b60b9a55 * keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
* don't be lazy with the names (Anim->Animation)

svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Aaron J. Seigo
05e84d1684 mark and move AnimationDriver as being deprecated
svn path=/trunk/KDE/kdelibs/; revision=1038305
2009-10-21 01:50:37 +00:00
Adenilson Cavalcanti Da Silva
1379d29481 Improved factory, it will set the animation parent.
svn path=/trunk/KDE/kdelibs/; revision=1038248
2009-10-20 21:40:36 +00:00
Adenilson Cavalcanti Da Silva
5b9120cae1 Implementing the factory in plasma::Animator for new animation objects.
The user should call Animator::create() with the animation type desired
(e.g. FadeAnimation, GrowAnimation, PulseAnimation, etc).

Next: move animation classes to private directory and rename then
so we can use a proper enumeration name.


svn path=/trunk/KDE/kdelibs/; revision=1038194
2009-10-20 19:54:22 +00:00
Marco Martin
b2bb69732a provide the Animator::registerScrollingManager(qgraphicsidget) function.
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.

svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +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