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
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
Bruno de Oliveira Abinader
d69885df4d
MovementDirection and Reference enumerators are now QFlags (using Q_DECLARE_FLAGS), as suggested by aseigo
...
svn path=/trunk/KDE/kdelibs/; revision=1084090
2010-02-02 13:36:23 +00:00
Bruno de Oliveira Abinader
cb7f6a2f2b
Added support for animation movement direction combinations (i.e. MoveUp|MoveLeft) to RotationStacked
...
svn path=/trunk/KDE/kdelibs/; revision=1083639
2010-02-01 18:01:40 +00:00
Bruno de Oliveira Abinader
6086b03de5
Moved sideAngle to be a static const member
...
svn path=/trunk/KDE/kdelibs/; revision=1083081
2010-01-31 15:54:14 +00:00
Bruno de Oliveira Abinader
f820ea872d
Fix segfault at plasma_applet_animation_example from kdeexamples
...
Patch-by: Andre L. V. Loureiro <loureiro.andrew@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1082144
2010-01-29 20:36:32 +00:00
Bruno de Oliveira Abinader
0c442d4834
Fixed Plasma::RotationStackedAnimation animation origin for the following cases:
...
- Front and back widgets have different sizes;
- Front and back widgets changes their sizes after creating the animation;
svn path=/trunk/KDE/kdelibs/; revision=1081150
2010-01-27 20:43:56 +00:00
Igor Trindade Oliveira
f074b75d7d
updates, cleans up and finishes the remaining Plasma::RotationStackedAnimation transformations. Now every combination of animation origin ( Up, Up | Left, Up | Right, Down, Down | Left, Down | Right, Left, Right) works with the animation movement directions ( MoveUp, MoveUpLeft, MoveUpRight, MoveDown, MoveDownLeft, MoveDownRight, MoveLeft, MoveRight).
...
Patch by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1080054
2010-01-25 13:37:57 +00:00
Igor Trindade Oliveira
eb8c97dcae
fixes a small bug on RotationStackedAnimation which uses a wrong delta for the back widget rotation animation angle. The back widget was rotating from 90 (0.25 * 360) degrees to 180 (0.5 * 360), but the correct rotation is from 270 (0.75 * 360) to 360 (1.00 * 360). This patch also fixes code indentation.
...
Patch by: Bruno Abinader <brunoabinader@gmail.com>
svn path=/trunk/KDE/kdelibs/; revision=1078228
2010-01-21 20:15:03 +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
1bdc28c19e
AnimationDirection should be Animation::Direction ... glad i caught this before 4.4.0 was rolled!
...
svn path=/trunk/KDE/kdelibs/; revision=1073436
2010-01-12 09:54:42 +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
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