Commit Graph

73 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
7bc808c132 PulserAnimation done.
svn path=/trunk/KDE/kdelibs/; revision=1036805
2009-10-17 20:04:58 +00:00
Adenilson Cavalcanti Da Silva
00e5a53873 Clean ups.
svn path=/trunk/KDE/kdelibs/; revision=1036798
2009-10-17 19:47:36 +00:00
Adenilson Cavalcanti Da Silva
032640b8ab Coding style changes.
svn path=/trunk/KDE/kdelibs/; revision=1036797
2009-10-17 19:44:04 +00:00
Adenilson Cavalcanti Da Silva
10d9afacb4 SlideAnimation is done now.
svn path=/trunk/KDE/kdelibs/; revision=1036795
2009-10-17 19:40:44 +00:00
Adenilson Cavalcanti Da Silva
fc19c8cbf3 Coding style.
svn path=/trunk/KDE/kdelibs/; revision=1036748
2009-10-17 18:03:12 +00:00
Adenilson Cavalcanti Da Silva
526c8cf98f Expand done now.
svn path=/trunk/KDE/kdelibs/; revision=1036746
2009-10-17 18:00:19 +00:00
Adenilson Cavalcanti Da Silva
298998fa71 Changing remaining classes to use qreal instead of double or int.
svn path=/trunk/KDE/kdelibs/; revision=1036743
2009-10-17 17:52:19 +00:00
Adenilson Cavalcanti Da Silva
7ccf35e9fd Converting FadeAnimation and adding some todos: we must use qreal
since it is a typedef that falls back to float/double depending
on the cpu.


svn path=/trunk/KDE/kdelibs/; revision=1036741
2009-10-17 17:46:01 +00:00
Adenilson Cavalcanti Da Silva
6142e913f6 Moving AnimationPrivate to private directory and removing
privat members in GrowAnimation.

Next: do the same with other animations.


svn path=/trunk/KDE/kdelibs/; revision=1036737
2009-10-17 17:35:02 +00:00
Adenilson Cavalcanti Da Silva
c4cf4ed175 Adding the missing factors in AnimationPrivate.
I guess that to make its fields accessable to other animation classes
I will have to define it in plasma/private?


svn path=/trunk/KDE/kdelibs/; revision=1036730
2009-10-17 17:18:51 +00:00
Adenilson Cavalcanti Da Silva
1a6384bb3f Coding style: changing variable name.
svn path=/trunk/KDE/kdelibs/; revision=1036718
2009-10-17 17:08:15 +00:00
Adenilson Cavalcanti Da Silva
c07d566656 Creating a private class to store data in AbstractAnimation.
The idea is to other parameters (e.g. m_distance, m_factor, etc) to it.


svn path=/trunk/KDE/kdelibs/; revision=1036716
2009-10-17 17:02:28 +00:00
Adenilson Cavalcanti Da Silva
66dff7cf72 Unbreaking pulse animation. It will handle the case where there
is no 'shadow' widget (and thus not set the widget itself as
its parent).

By connecting a slot to the signal emited by animation end, it will
also restore original opacity back.

TODO: instead of a copy of object, the shadow should be an image
where the animated widget was painted. This will solve a lot
of issues and make this class easier to use.


svn path=/trunk/KDE/kdelibs/; revision=1036351
2009-10-17 05:17:05 +00:00
Aaron J. Seigo
a1d93d4118 one more go at this method name; i don't think it will be in the public API anyways
svn path=/trunk/KDE/kdelibs/; revision=1036265
2009-10-16 21:27:35 +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
cbb1a5e686 * asQAnimation (i still wonder if that's the best of names or even strictly needed?)
* coding style

svn path=/trunk/KDE/kdelibs/; revision=1036121
2009-10-16 16:36:22 +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
50796b91a5 Adapting pulser animation to the resource management model used by
plasma::Animator.


svn path=/trunk/KDE/kdelibs/; revision=1035814
2009-10-15 22:29:21 +00:00
Adenilson Cavalcanti Da Silva
167d17a9ae Gah! Commited a binary file!
/me whipping himself.


svn path=/trunk/KDE/kdelibs/; revision=1035768
2009-10-15 20:26:10 +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
Adenilson Cavalcanti Da Silva
a661ba66d6 Moving private members to a private class.
svn path=/trunk/KDE/kdelibs/; revision=1035762
2009-10-15 20:19:02 +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
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