Commit Graph

16 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
6265ebb629 We no longer need this to be a slot.
svn path=/trunk/KDE/kdelibs/; revision=1095302
2010-02-23 23:31:20 +00:00
Adenilson Cavalcanti Da Silva
c64e8beb83 Adding missing documentation.
svn path=/trunk/KDE/kdelibs/; revision=1094497
2010-02-22 21:20:53 +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
Aaron J. Seigo
0337eb0ae3 missing property
svn path=/trunk/KDE/kdelibs/; revision=1070127
2010-01-04 23:06:50 +00:00
Adenilson Cavalcanti Da Silva
2d08b8a2b2 Fixing double deletion by using QWeakPointer (suggestion by Aaron Seigo).
svn path=/trunk/KDE/kdelibs/; revision=1070099
2010-01-04 21:11:02 +00:00
Aaron J. Seigo
b931262030 * adapt to API changes
* don't leak the m_under object
* only paint what's necessary (the exposed rect)
* keep track of the target in PulserShadow

svn path=/trunk/KDE/kdelibs/; revision=1069729
2010-01-04 09:17:49 +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
0a452da077 Adding doxygen comments in animation classes (part 3).
svn path=/trunk/KDE/kdelibs/; revision=1060718
2009-12-09 18:40:02 +00:00
Adenilson Cavalcanti Da Silva
6afab7d906 Moved all variables from a pimple to data members in pulse
(saves one new/delete operation).


svn path=/trunk/KDE/kdelibs/; revision=1060043
2009-12-07 22:55:56 +00:00
Adenilson Cavalcanti Da Silva
215712e662 Removing unused code.
svn path=/trunk/KDE/kdelibs/; revision=1059976
2009-12-07 20:24:20 +00:00
Adenilson Cavalcanti Da Silva
7a4193fa2a Reusing duration property from base class and storing target animation
scale factor.


svn path=/trunk/KDE/kdelibs/; revision=1059938
2009-12-07 18:16:33 +00:00
Adenilson Cavalcanti Da Silva
0e503cbc5f Some more cleanups.
svn path=/trunk/KDE/kdelibs/; revision=1059909
2009-12-07 16:41:40 +00:00
Adenilson Cavalcanti Da Silva
831bd97941 Making pulse animation work again with new design. It is still
using an internal animation group (got to try to fix this later).


svn path=/trunk/KDE/kdelibs/; revision=1059906
2009-12-07 16:37:23 +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
Adenilson Cavalcanti Da Silva
702920c810 Starting to implement pixmap based pulse animation. The first implementation
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).

But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.

It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).


svn path=/trunk/KDE/kdelibs/; revision=1048277
2009-11-13 01:20:51 +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