Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
d7daecf191 Adding doxygen comments in animation classes (part 1).
svn path=/trunk/KDE/kdelibs/; revision=1060701
2009-12-09 17:56:40 +00:00
Igor Trindade Oliveira
e5e667c001 clean up: remove unused declaration
svn path=/trunk/KDE/kdelibs/; revision=1060659
2009-12-09 14:36:19 +00:00
Igor Trindade Oliveira
daad380026 revert fade animation to revision: 1058158 and fix it: Qt 4.6 changes updateState arguments newState and oldState
svn path=/trunk/KDE/kdelibs/; revision=1058592
2009-12-04 19:06:01 +00:00
Igor Trindade Oliveira
1e06025000 make fade animation works again using qpropertyanimation, when added in a group use the same group timer
svn path=/trunk/KDE/kdelibs/; revision=1058490
2009-12-04 14:56:19 +00:00
Aaron J. Seigo
a1b48efa16 port fade to the new api; much simpler and doesn't use a QPropertyAnimation (the two are related ;)
svn path=/trunk/KDE/kdelibs/; revision=1058158
2009-12-04 01:14: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
Marco Martin
47a6082bf5 use opacity, not a qgraphicseffect, since an item can't have more than
one effect and the opacity property of the widget would lie.
if there will be graphics glitches it would be a qt problem that should
be resolved, not by a workaround

svn path=/trunk/KDE/kdelibs/; revision=1047550
2009-11-11 12:04:58 +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