Commit Graph

117 Commits

Author SHA1 Message Date
Igor Trindade Oliveira
5ef6a48563 remove unused reference
svn path=/trunk/KDE/kdelibs/; revision=1059094
2009-12-05 20:04:27 +00:00
Igor Trindade Oliveira
49e27b8396 add GeoAnimation to new animation api
svn path=/trunk/KDE/kdelibs/; revision=1059087
2009-12-05 19:54:27 +00:00
Marco Martin
ee20613e3d support rewind
svn path=/trunk/KDE/kdelibs/; revision=1059028
2009-12-05 15:25:44 +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
Marco Martin
5001706078 growanimation ported
svn path=/trunk/KDE/kdelibs/; revision=1058993
2009-12-05 13:53:25 +00:00
Marco Martin
6a91177566 setWidgetToanimate unneeded now
svn path=/trunk/KDE/kdelibs/; revision=1058992
2009-12-05 13:53:03 +00:00
Marco Martin
b5f3280566 remove the fixme, qt docs have been fixed now
svn path=/trunk/KDE/kdelibs/; revision=1058966
2009-12-05 12:50:41 +00:00
Marco Martin
6fbd8b8c63 remove the unused start
svn path=/trunk/KDE/kdelibs/; revision=1058952
2009-12-05 12:15:18 +00:00
Marco Martin
adacf85c0d update signature names
svn path=/trunk/KDE/kdelibs/; revision=1058950
2009-12-05 12:09:42 +00:00
Marco Martin
9b0eb0538d now slide works as expected, important issue to investigate:
updateState(QAbstractAnimation::State oldState, QAbstractAnimation::State newState)
appears to have oldState and NewState swapped

svn path=/trunk/KDE/kdelibs/; revision=1058948
2009-12-05 12:08:08 +00:00
Marco Martin
ce6aea63c8 migrated the slide animation.
still some problems tough with the test plasmoid

svn path=/trunk/KDE/kdelibs/; revision=1058686
2009-12-04 23:00:05 +00:00
Igor Trindade Oliveira
61adef1780 port rotationanimation to new animation design: remove render and qpropertyanimation
svn path=/trunk/KDE/kdelibs/; revision=1058636
2009-12-04 20:49:09 +00:00
Igor Trindade Oliveira
d6ce82052f fix bug in animationgroup(it would be removed?) make it works well with rotation
svn path=/trunk/KDE/kdelibs/; revision=1058634
2009-12-04 20:44:44 +00:00
Aaron J. Seigo
163a2d9908 remove unimplemeneted methods
svn path=/trunk/KDE/kdelibs/; revision=1058601
2009-12-04 19:29:38 +00:00
Aaron J. Seigo
358a456a9d no need for pause now that Plasma::Animator isn't a factory for QAbAnim but IsA QAbAnim (with Plasma::Animator being the only factory)
svn path=/trunk/KDE/kdelibs/; revision=1058597
2009-12-04 19:16:46 +00:00
Igor Trindade Oliveira
daad380026 revert fade animation to revision: 1058158 and fix it: Qt 4.6 changes updateState arguments newState and oldState
svn path=/trunk/KDE/kdelibs/; revision=1058592
2009-12-04 19:06:01 +00:00
Aaron J. Seigo
8f4880f66b well, that becomes rather simple, now doesn't it?
svn path=/trunk/KDE/kdelibs/; revision=1058582
2009-12-04 18:51:02 +00:00
Igor Trindade Oliveira
68e65235bc Oops .. fix logic inversion added in last commit
svn path=/trunk/KDE/kdelibs/; revision=1058575
2009-12-04 18:15:59 +00:00
Igor Trindade Oliveira
7a39167564 fix: change qpropertyanimation start and end value when start and target values in fade animation changes
svn path=/trunk/KDE/kdelibs/; revision=1058569
2009-12-04 17:46:45 +00:00
Marco Martin
bb94c31546 last bit of isVisible() removed
svn path=/trunk/KDE/kdelibs/; revision=1058565
2009-12-04 17:28:35 +00:00
Igor Trindade Oliveira
6d360fd501 ops reverting ... my fault
svn path=/trunk/KDE/kdelibs/; revision=1058528
2009-12-04 16:06:05 +00:00
Igor Trindade Oliveira
1e06025000 make fade animation works again using qpropertyanimation, when added in a group use the same group timer
svn path=/trunk/KDE/kdelibs/; revision=1058490
2009-12-04 14:56:19 +00:00
Igor Trindade Oliveira
f10d58bb53 leak--: disconnect signal
svn path=/trunk/KDE/kdelibs/; revision=1058175
2009-12-04 02:46:30 +00:00
Aaron J. Seigo
a1b48efa16 port fade to the new api; much simpler and doesn't use a QPropertyAnimation (the two are related ;)
svn path=/trunk/KDE/kdelibs/; revision=1058158
2009-12-04 01:14:23 +00:00
Aaron J. Seigo
edc7191176 * don't duplicate what QAbstractAnimation already does for us
* don't emit finished() multiple times
* start() is not virtual (which is why it wasn't getting called sometimes!), use updateState; also gets rid of the dirty flag hack

svn path=/trunk/KDE/kdelibs/; revision=1058157
2009-12-04 01:13:40 +00:00
Aaron J. Seigo
3efd2e6c85 * remove the obsoleted render() method (which was now empty anyways)
* don't crash if we don't have a widget when sync'ing the attributes

svn path=/trunk/KDE/kdelibs/; revision=1058155
2009-12-04 01:12:14 +00:00
Aaron J. Seigo
c0da94c928 don't duplicate what QAbstractAnimation already does for us
svn path=/trunk/KDE/kdelibs/; revision=1058152
2009-12-04 01:02:30 +00:00
Marco Martin
31704d2e6b remove render from slide, it will be removed from everywhere else too
svn path=/trunk/KDE/kdelibs/; revision=1058094
2009-12-03 22:42:34 +00:00
Aaron J. Seigo
1349be10af get rid of the visibility thing
svn path=/trunk/KDE/kdelibs/; revision=1058031
2009-12-03 20:48:27 +00:00
Igor Trindade Oliveira
435961b498 fix in the fix: use takeAnimation instead of takeAnimationAt
svn path=/trunk/KDE/kdelibs/; revision=1058014
2009-12-03 20:07:37 +00:00
Aaron J. Seigo
0791fc1ecb build
svn path=/trunk/KDE/kdelibs/; revision=1058008
2009-12-03 19:57:54 +00:00
Aaron J. Seigo
a356d0dfd1 build
svn path=/trunk/KDE/kdelibs/; revision=1058007
2009-12-03 19:55:31 +00:00
Aaron J. Seigo
292b2b8271 build
svn path=/trunk/KDE/kdelibs/; revision=1058005
2009-12-03 19:52:29 +00:00
Adenilson Cavalcanti Da Silva
c2a7cf4947 Build++;
svn path=/trunk/KDE/kdelibs/; revision=1058004
2009-12-03 19:52:27 +00:00
Marco Martin
5c5e62d796 nimation.cpp builds individual animations still not
svn path=/trunk/KDE/kdelibs/; revision=1058000
2009-12-03 19:45:17 +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
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