Igor Trindade Oliveira
e2cf011103
plasma animations: removing custom animation. the animations done by custom can be done adding a property and using qpropertyanimation
...
svn path=/trunk/KDE/kdelibs/; revision=1073191
2010-01-11 20:06:14 +00:00
Igor Trindade Oliveira
196172bc19
add custom animation in animator factory
...
svn path=/trunk/KDE/kdelibs/; revision=1073140
2010-01-11 17:53:35 +00:00
Marco Martin
fdae3f0d59
This patch forward the "stateChanged" signal emitted from the private kinetic scroll animation all the way to Plasma::ScrollWidget, which then forwards this signal to its childs. This enables an object which derives from Plasma::ScrollWidget to know the kinetic scrolling animation state.
...
Patch by Bruno Abinader
svn path=/trunk/KDE/kdelibs/; revision=1064768
2009-12-21 18:36:39 +00:00
Aaron J. Seigo
bc7ac9cd23
geo -> geometry (let's not be lazy :)
...
svn path=/trunk/KDE/kdelibs/; revision=1060136
2009-12-08 09:22:51 +00:00
Igor Trindade Oliveira
6cc357bb94
add zoom animation to new animation api
...
svn path=/trunk/KDE/kdelibs/; revision=1059117
2009-12-05 20:23:13 +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
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
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
Aaron J. Seigo
545164b5b8
add PauseAnimation
...
svn path=/trunk/KDE/kdelibs/; revision=1038847
2009-10-22 03:59:27 +00:00
Aaron J. Seigo
73b60b9a55
* keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
...
* don't be lazy with the names (Anim->Animation)
svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Adenilson Cavalcanti Da Silva
666ff44596
Making Animator factory method static.
...
svn path=/trunk/KDE/kdelibs/; revision=1038254
2009-10-20 21:54:48 +00:00
Adenilson Cavalcanti Da Silva
1379d29481
Improved factory, it will set the animation parent.
...
svn path=/trunk/KDE/kdelibs/; revision=1038248
2009-10-20 21:40:36 +00:00
Adenilson Cavalcanti Da Silva
5b9120cae1
Implementing the factory in plasma::Animator for new animation objects.
...
The user should call Animator::create() with the animation type desired
(e.g. FadeAnimation, GrowAnimation, PulseAnimation, etc).
Next: move animation classes to private directory and rename then
so we can use a proper enumeration name.
svn path=/trunk/KDE/kdelibs/; revision=1038194
2009-10-20 19:54:22 +00:00
Adenilson Cavalcanti Da Silva
c849327042
Adding some new enumerations to map to new animation classes.
...
The idea is to provide a factory to build those objects.
svn path=/trunk/KDE/kdelibs/; revision=1038185
2009-10-20 19:19:11 +00:00
Marco Martin
b2bb69732a
provide the Animator::registerScrollingManager(qgraphicsidget) function.
...
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.
svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +00:00
Adenilson Cavalcanti Da Silva
cb6dddf5cd
Workaround to make kdelibs build in OSX 10.5.x (a.k.a. Leopard). Apple should
...
provide a newer compiler to its users.
svn path=/trunk/KDE/kdelibs/; revision=1036308
2009-10-16 23:32:08 +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
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
e88e2faa63
first batch of small coding style fixes.
...
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Frederik Schwarzer
ee8d547da8
let me introduce: typo of the year "the the"
...
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)
svn path=/trunk/KDE/kdelibs/; revision=864814
2008-09-25 15:05:22 +00:00
Alex Merry
e293d7d785
Specify includes in apidocs, so we get
...
#include <Plasma/Foo>
at the top of the apidocs pages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Richard Dale
dc878d9033
* Make the multiple inclusion header guard macros all start with PLASMA_
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Marco Martin
aadef48088
new optional (so retrocompatible) parameter in the slot called by the custom animation:
...
the slot can be something like
void animationUpdate(qreal progress, int animId)
it's useful to keep track of multiple animations with a single slot
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808853
2008-05-17 17:27:18 +00:00
Andreas Hartmetz
9117de06cf
dashbot is such a sissy
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802621
2008-04-30 01:30:11 +00:00
Aaron J. Seigo
5482bad2ce
protected slots -> Q_PRIVATE_SLOT
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802610
2008-04-29 23:27:17 +00:00
Aaron J. Seigo
67f44e6f0a
* constructor + destructor private
...
* init -> pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802607
2008-04-29 23:24:09 +00:00
Aaron J. Seigo
0c2b74e11d
* animateItem, moveItem return int
...
* add stopItemAnimation and stopItemMovement
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802605
2008-04-29 23:16:33 +00:00
Aaron J. Seigo
72db181c7c
Phase -> Animator
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800875
2008-04-25 03:23:31 +00:00
Aaron J. Seigo
202e01e44d
move animator.[c|cpp] -> animationdriver.[h|cpp]
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800872
2008-04-25 03:17:00 +00:00
Aaron J. Seigo
6e80fe4354
Phase becomes Animator
...
Animator becomes AnimationDriver
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800870
2008-04-25 03:11:59 +00:00
Davide Bettio
aa5f747305
API REVIEW: Phase -> AnimatorDriver
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800840
2008-04-24 23:21:17 +00:00
Davide Bettio
3bfaf57014
API REVIEW: Animation merges with ElementAnimation.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800825
2008-04-24 22:30:53 +00:00
Davide Bettio
84aa9fb8b0
FramesPerSecond -> FPS.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800816
2008-04-24 21:47:25 +00:00
Davide Bettio
ba4beb2835
API REVIEW: curve(element) -> elementAnimationCurve(element)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800750
2008-04-24 19:28:04 +00:00
Davide Bettio
0dc5009d81
API REVIEW: curve(movement) -> movementAnimationCurve(movement)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800747
2008-04-24 19:22:44 +00:00
Davide Bettio
921afdb3db
API REVIEW: curve(animation) -> animationCurve(animation)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800745
2008-04-24 19:18:28 +00:00
Davide Bettio
b1da29061c
API REVIEW: duration(element) -> elementAnimationDuration(element)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800743
2008-04-24 19:11:12 +00:00
Davide Bettio
2c169f97ff
API REVIEW: duration(movement) -> movementAnimationDuration(movement)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800740
2008-04-24 19:05:51 +00:00
Davide Bettio
eb378c78fd
animationFramesPerSecond(element) -> elementAnimationFramesPerSecond(element)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800735
2008-04-24 18:45:47 +00:00
Davide Bettio
27954bc347
API REVIEW: animationFramesPerSecond(movement) -> movementAnimationFramesPerSecond(movement)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800733
2008-04-24 18:41:47 +00:00
Davide Bettio
ab377f4f18
API REVIEW: duration(animation) -> animationDuration(animation)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800723
2008-04-24 18:20:58 +00:00
Davide Bettio
aa31688da7
API REVIEW: framesPerSecond(element) -> animationFramesPerSecond(element)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800720
2008-04-24 18:15:57 +00:00
Davide Bettio
714755631d
API REVIEW: framesPerSecond(movement) -> animationFramesPerSecond(movement)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800715
2008-04-24 18:11:48 +00:00
Davide Bettio
16ef3e589c
API REVIEW: FramesPerSecond() -> animationFramesPerSecond()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800711
2008-04-24 18:06:26 +00:00
Davide Bettio
b74b254741
API REVIEW: element*(qreal frame, ...) -> element*(qreal progress, ...)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800707
2008-04-24 17:57:56 +00:00
Davide Bettio
0b28813b3e
API REVIEW: slideOut() -> itemSlideOut()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800706
2008-04-24 17:51:33 +00:00
Davide Bettio
b88c344091
API REVIEW: slideIn() -> itemSlideIn()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800702
2008-04-24 17:41:50 +00:00
Davide Bettio
16e79457e8
API REVIEW: activate() -> itemActivated()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800700
2008-04-24 17:36:44 +00:00