Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
Marco Martin
03bb063c62 migrate focusindicator to the new api
change the api of fade to be abe to set a start and an end taget
opacities

svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Igor Trindade Oliveira
67ffbf7ff3 janitor job: make it works
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Aaron J. Seigo
27d61c2fca * standardize and add a parent in the ctor
* 1.0 is the proper start value when we're going towards 0

svn path=/trunk/KDE/kdelibs/; revision=1038855
2009-10-22 04:34:03 +00:00
Aaron J. Seigo
fd48743847 set start value; now it can go backwards too
svn path=/trunk/KDE/kdelibs/; revision=1038848
2009-10-22 03:59:46 +00:00
Giulio Camuffo
016d870394 use QGraphicsOpacityEffect instead of simple setOpacity. this solves a bug with Plasma::Label and possibly other
widgets

svn path=/trunk/KDE/kdelibs/; revision=1038688
2009-10-21 16:29:00 +00:00
Aaron J. Seigo
172e467929 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1038367
2009-10-21 07:47:05 +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
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
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