Igor Trindade Oliveira
59288a9be3
leak--
...
svn path=/trunk/KDE/kdelibs/; revision=1051479
2009-11-19 15:08:17 +00:00
Adenilson Cavalcanti Da Silva
62f15dae7a
I'm non longer animating the geometry, so no need to have a copy
...
of it around.
svn path=/trunk/KDE/kdelibs/; revision=1051114
2009-11-18 21:53:40 +00:00
Adenilson Cavalcanti Da Silva
de36a7c42f
Fixing pulser position while animating (with less and more efficient
...
code). Suggestion by notmart.
svn path=/trunk/KDE/kdelibs/; revision=1051108
2009-11-18 21:33:24 +00:00
Adenilson Cavalcanti Da Silva
29295e9343
Transform origin point is setted in ShadowFake::copyTarget.
...
svn path=/trunk/KDE/kdelibs/; revision=1050952
2009-11-18 12:49:19 +00:00
Adenilson Cavalcanti Da Silva
acda971fa0
Set of changes:
...
- moved transformation reference inside of the the shadow pulse
class
- ensuring that the local pointer in pulser will correctly point to the
shadow object
- recreating the pixmap if the animated widget geometry has changed
svn path=/trunk/KDE/kdelibs/; revision=1050711
2009-11-17 22:53:08 +00:00
David Faure
dcb2968a62
an enable-final fix, but the next error is:
...
plasma/private/qtjolie-branch/qtjolie/client.cpp:62: error: reference to 'Message' is ambiguous
plasma/private/joliemessagehelper_p.h:29: error: candidates are: namespace Message { }
plasma/private/qtjolie-branch/qtjolie/message.h:34: error: class Jolie::Message
svn path=/trunk/KDE/kdelibs/; revision=1050275
2009-11-17 01:36:37 +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
Adenilson Cavalcanti Da Silva
702920c810
Starting to implement pixmap based pulse animation. The first implementation
...
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).
But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.
It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).
svn path=/trunk/KDE/kdelibs/; revision=1048277
2009-11-13 01:20:51 +00:00
Adenilson Cavalcanti Da Silva
7f971186ce
Build++;
...
svn path=/trunk/KDE/kdelibs/; revision=1048256
2009-11-13 00:18:17 +00:00
Igor Trindade Oliveira
fbd5f0411b
fix properties
...
svn path=/trunk/KDE/kdelibs/; revision=1048146
2009-11-12 20:15:43 +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
Adenilson Cavalcanti Da Silva
52e5b9aca4
Making possible to rewind a grow animation (as also fixing the newHeight parameter).
...
To make possible to return to previous state, it is both necessary to use the oposite
animation factor as also the start and end value used in the animation.
svn path=/trunk/KDE/kdelibs/; revision=1043658
2009-11-02 08:59:00 +00:00
Marco Martin
d53654784a
bound the grow animation between maximum and minimum sizes
...
svn path=/trunk/KDE/kdelibs/; revision=1041374
2009-10-27 22:03:14 +00:00
Igor Trindade Oliveira
151b9d92bb
support more directions
...
svn path=/trunk/KDE/kdelibs/; revision=1041173
2009-10-27 14:33:17 +00:00
Igor Trindade Oliveira
28bab1f99d
fix coding style
...
svn path=/trunk/KDE/kdelibs/; revision=1041163
2009-10-27 14:22:21 +00:00
Marco Martin
6c0f314c8b
facotr can be more than 1
...
svn path=/trunk/KDE/kdelibs/; revision=1041153
2009-10-27 13:59:40 +00:00
Adenilson Cavalcanti Da Silva
c18c6188e3
Workaround for deforming animated widget if a new pulse event
...
was triggered while the animation was running and *before*
it was over.
For while, it will just ignore the geometry calculus and return
(but ideally it should listen for the event emited when the animation
is over and then recalculate the geometries).
svn path=/trunk/KDE/kdelibs/; revision=1039630
2009-10-24 03:04:17 +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
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
Mehmet Ali Akmanalp
4dc1ee533d
Fix docstrings in Animation.
...
svn path=/trunk/KDE/kdelibs/; revision=1039118
2009-10-22 19:11:46 +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
Adenilson Cavalcanti Da Silva
71528727ea
Adding a setter for grow factor property.
...
svn path=/trunk/KDE/kdelibs/; revision=1039066
2009-10-22 16:25:48 +00:00
Adenilson Cavalcanti Da Silva
8a930cbaca
Moving rotation related only parameters back to RotationAnimation.
...
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.
svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +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
d04ef47d95
SVN_SILENT: unneeded noise now :)
...
svn path=/trunk/KDE/kdelibs/; revision=1038853
2009-10-22 04:19:33 +00:00
Aaron J. Seigo
6dc7cf2a05
don't export these classes
...
svn path=/trunk/KDE/kdelibs/; revision=1038852
2009-10-22 04:08:31 +00:00
Aaron J. Seigo
ece29b7300
parent, no export, code style
...
svn path=/trunk/KDE/kdelibs/; revision=1038851
2009-10-22 04:07:32 +00:00
Aaron J. Seigo
1f7370376b
support setting the direction forwards or backwards; conflicts with direction so used a bool instead of an enum, makes more sense anyways imho. the use of an enum in QAbstractAnimation seems a bit overkill
...
svn path=/trunk/KDE/kdelibs/; revision=1038850
2009-10-22 04:00:48 +00:00
Aaron J. Seigo
a9a4fc471b
set a start value so it can go backwards
...
svn path=/trunk/KDE/kdelibs/; revision=1038849
2009-10-22 04:00:02 +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
Aaron J. Seigo
545164b5b8
add PauseAnimation
...
svn path=/trunk/KDE/kdelibs/; revision=1038847
2009-10-22 03:59:27 +00:00
Aaron J. Seigo
b460485f1e
export duration as a property
...
svn path=/trunk/KDE/kdelibs/; revision=1038834
2009-10-22 02:59:36 +00:00
Aaron J. Seigo
51c2785743
obey the duration
...
svn path=/trunk/KDE/kdelibs/; revision=1038833
2009-10-22 02:59:24 +00:00
Aaron J. Seigo
3abdca0a1b
start() is virtual and so we crash; if we need a pre-starting method, that should go into the animation class returned?
...
svn path=/trunk/KDE/kdelibs/; revision=1038832
2009-10-22 02:50:58 +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
8814c2b2c0
* consolidate the start() methods
...
* make some changes needed for bindings
svn path=/trunk/KDE/kdelibs/; revision=1038369
2009-10-21 07:51:11 +00:00
Aaron J. Seigo
172e467929
SVN_SILENT: ws
...
svn path=/trunk/KDE/kdelibs/; revision=1038367
2009-10-21 07:47:05 +00:00
Adenilson Cavalcanti Da Silva
38726c368a
Coding style.
...
svn path=/trunk/KDE/kdelibs/; revision=1038339
2009-10-21 05:35:56 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085
Moving rotation related parameters to common location (now it should
...
be possible to use AbstractAnimation properties to use rotation
animation).
svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +00:00
Aaron J. Seigo
e802b2d224
use the qobject parent system
...
svn path=/trunk/KDE/kdelibs/; revision=1038330
2009-10-21 04:16:27 +00:00
Aaron J. Seigo
2a524aae11
* dptr
...
* use the qobject parent system instead of tracking it ourselves
svn path=/trunk/KDE/kdelibs/; revision=1038329
2009-10-21 04:15:52 +00:00
Aaron J. Seigo
27dbf07aec
* take a qobject parent
...
* the dtor is implemented, not pure virt
svn path=/trunk/KDE/kdelibs/; revision=1038328
2009-10-21 04:15:04 +00:00
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