Commit Graph

33 Commits

Author SHA1 Message Date
Aaron J. Seigo
28e7a91ff2 make the animated widget a property
svn path=/trunk/KDE/kdelibs/; revision=1038310
2009-10-21 02:28:08 +00:00
Aaron J. Seigo
2e18ea7af8 some apidox noting when they appeared
svn path=/trunk/KDE/kdelibs/; revision=1038238
2009-10-20 21:25:39 +00:00
Aaron J. Seigo
db5fd60cc8 SVN_SILENT: cosmetics
svn path=/trunk/KDE/kdelibs/; revision=1038237
2009-10-20 21:24:06 +00:00
Aaron J. Seigo
353c7d9aca one more API shift
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b API cleanups
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa sort out the API a bit and don't have private classes that are named the same
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +00:00
Adenilson Cavalcanti Da Silva
54b7836134 Removing empty spaces in comments.
svn path=/trunk/KDE/kdelibs/; revision=1038165
2009-10-20 18:40:34 +00:00
Igor Trindade Oliveira
799e2dc3fb create arguments default
svn path=/trunk/KDE/kdelibs/; revision=1038079
2009-10-20 15:56:57 +00:00
Igor Trindade Oliveira
cd443a3ff9 add properties for animations
svn path=/trunk/KDE/kdelibs/; revision=1038078
2009-10-20 15:53:53 +00:00
Igor Trindade Oliveira
cbc0f99d2a add Easing Curve Type Property
svn path=/trunk/KDE/kdelibs/; revision=1038000
2009-10-20 13:08:23 +00:00
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