Commit Graph

254 Commits

Author SHA1 Message Date
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
ddbd2a35ce shush the compiler with Q_UNUSED 2011-06-05 14:30:45 +02:00
Aaron Seigo
701760f7aa quiet the compiler 2011-05-28 00:38:46 +02:00
Aaron Seigo
da422ce39d hush the compiler 2011-05-27 12:12:43 +02:00
Marco Martin
714578ecc3 * don't try to generate backgrounds when the prefix is not present in framesvg
* use the correct currentPixmap (vs m_currentpixmap) in pixmaptransition.
those two fix the focus rect hover animation

svn path=/trunk/KDE/kdelibs/; revision=1192741
2010-11-03 21:55:50 +00:00
Aaron J. Seigo
4502af56ad fix the moc
svn path=/trunk/KDE/kdelibs/; revision=1178380
2010-09-22 21:14:40 +00:00
Aaron J. Seigo
175ad015c0 bool, not pixmap
svn path=/trunk/KDE/kdelibs/; revision=1178370
2010-09-22 20:52:10 +00:00
Aaron J. Seigo
9983bc7dc8 fewer pixmaps. same great taste.
svn path=/trunk/KDE/kdelibs/; revision=1178341
2010-09-22 19:35:47 +00:00
Giulio Camuffo
8c3ab81d2f fixed the calculation of the height
svn path=/trunk/KDE/kdelibs/; revision=1176062
2010-09-16 14:13:09 +00:00
Marco Martin
91e0556fed calculte intermediate values that actually make sense
svn path=/trunk/KDE/kdelibs/; revision=1167476
2010-08-24 18:21:19 +00:00
Aaron J. Seigo
ae26e2a87c push/pop a context when loading
svn path=/trunk/KDE/kdelibs/; revision=1159708
2010-08-06 01:26:28 +00:00
Aaron J. Seigo
b2d37c0604 delete the widget snapshot; i bet that's where the pixmaps are leaking from
svn path=/trunk/KDE/kdelibs/; revision=1149617
2010-07-13 20:33:08 +00:00
Aaron J. Seigo
c79a1fb1f1 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1148342
2010-07-10 10:41:47 +00:00
Aaron J. Seigo
5df21d2137 provide a short-circuit path for checking the js anims so we don't check over and over again
svn path=/trunk/KDE/kdelibs/; revision=1138329
2010-06-15 18:02:44 +00:00
Marco Martin
b959b74d36 this animtion is a slide, is not an absolute position target
svn path=/trunk/KDE/kdelibs/; revision=1137131
2010-06-11 18:38:58 +00:00
Aaron J. Seigo
eb8e81e27c make it possible to prefix anims
svn path=/trunk/KDE/kdelibs/; revision=1126034
2010-05-13 00:52:36 +00:00
Adenilson Cavalcanti Da Silva
5e9ca683a6 Debugging message.
svn path=/trunk/KDE/kdelibs/; revision=1123334
2010-05-05 20:57:02 +00:00
Aaron J. Seigo
a87f70804f missing macro
svn path=/trunk/KDE/kdelibs/; revision=1120796
2010-04-30 00:22:26 +00:00
Aaron J. Seigo
f456c124aa easing curve support
svn path=/trunk/KDE/kdelibs/; revision=1120795
2010-04-30 00:13:44 +00:00
Aaron J. Seigo
b9ff1cb689 make these properties read-only
svn path=/trunk/KDE/kdelibs/; revision=1120793
2010-04-30 00:06:43 +00:00
Aaron J. Seigo
af0963e236 * don't pass in anything to the ctor, instead set properties
* don't set properties on m_instance unless it's a success
* set the duration and target propreties on each pass through start

svn path=/trunk/KDE/kdelibs/; revision=1120786
2010-04-29 23:51:32 +00:00
Aaron J. Seigo
c5748b3719 make the JS anims an easing curve anim
svn path=/trunk/KDE/kdelibs/; revision=1120782
2010-04-29 23:40:30 +00:00
Aaron J. Seigo
6c44a1e8a4 access to other animations
svn path=/trunk/KDE/kdelibs/; revision=1120776
2010-04-29 23:01:48 +00:00
Aaron J. Seigo
a06b2bf70d access to easing curves
svn path=/trunk/KDE/kdelibs/; revision=1120770
2010-04-29 22:29:26 +00:00
Aaron J. Seigo
a246be9d42 * get rid of some manual memory management
* get rid of some members that were really only used as local members
* make the fps stuff optional (and off by default)

svn path=/trunk/KDE/kdelibs/; revision=1120750
2010-04-29 21:17:43 +00:00
Aaron J. Seigo
736c381bbe * move script file loading from Animator to AnimationScriptEngine
* don't use camel case includes for kdelibs classes in files which are themselves in kdelibs
* add my copyright to these files since they are approaching 100% code written by me

svn path=/trunk/KDE/kdelibs/; revision=1120250
2010-04-28 17:51:46 +00:00
Aaron J. Seigo
03bc2d587e allow clearing the animations, checking for whether an animation is registered and make it first-come, first-serve to avoid anims overriding each other
svn path=/trunk/KDE/kdelibs/; revision=1120236
2010-04-28 17:38:27 +00:00
Aaron J. Seigo
cbd94fc434 buld
svn path=/trunk/KDE/kdelibs/; revision=1119246
2010-04-26 21:00:21 +00:00
Aaron J. Seigo
a5c793691b proper file names, AnimationEngine -> AnimationScriptEngine, and it becomes a namespace
svn path=/trunk/KDE/kdelibs/; revision=1119242
2010-04-26 20:56:15 +00:00
Aaron J. Seigo
d38dc61819 clean up the copyright headers
svn path=/trunk/KDE/kdelibs/; revision=1119236
2010-04-26 20:46:36 +00:00
Adenilson Cavalcanti Da Silva
058713d07a Adding jsanim classes (next, change object factory to address jsanim
object creation).


svn path=/trunk/KDE/kdelibs/; revision=1119231
2010-04-26 20:37:43 +00:00
Bruno de Oliveira Abinader
51a9b1ac72 Added Plasma::Animator::easingCurve() pre-defined easing curves factory.
Using this, Plasma::PendulumCurve now longer needs to be public :-)

svn path=/trunk/KDE/kdelibs/; revision=1118090
2010-04-23 20:55:46 +00:00
Bruno de Oliveira Abinader
2375cd6ce8 Added Plasma::PendulumCurve class plus make it work with RotationAnimation
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
abd0dd20b5 Missed RotationStacked QEasingCurve double call fix :-)
svn path=/trunk/KDE/kdelibs/; revision=1117941
2010-04-23 13:38:38 +00:00
Bruno de Oliveira Abinader
75b66bdd8b Avoid double call for QEasingCurve's valueForProgress() (now executed by EasingAnimation before calling updateEffectiveTime), causing a minor corruption of the effective animation progress values.
svn path=/trunk/KDE/kdelibs/; revision=1117762
2010-04-22 23:10:29 +00:00
Bruno de Oliveira Abinader
a8975d2e2d Initial WaterAnimation implementation
This water animation uses the RippleEffect class to simulate a cool water animation on the target widget

svn path=/trunk/KDE/kdelibs/; revision=1116474
2010-04-19 15:09:36 +00:00
Bruno de Oliveira Abinader
daffafb9fe s/pulsershadow/widgetsnapshot
svn path=/trunk/KDE/kdelibs/; revision=1115254
2010-04-15 18:51:26 +00:00
Aaron J. Seigo
892d8ae1c0 use the easing curve in all of our animations
svn path=/trunk/KDE/kdelibs/; revision=1112612
2010-04-08 17:07:33 +00:00
Bruno de Oliveira Abinader
4f301b339f Reverting "Added bouncing effect for Rotation animation"
svn path=/trunk/KDE/kdelibs/; revision=1112210
2010-04-07 15:56:21 +00:00
Bruno de Oliveira Abinader
7507808e7c Added bouncing effect for Rotation animation
svn path=/trunk/KDE/kdelibs/; revision=1112192
2010-04-07 15:19:07 +00:00
Marco Martin
8269a5055e fix fade out
svn path=/trunk/KDE/kdelibs/; revision=1109248
2010-03-30 21:24:04 +00:00
Zack Rusin
a0fe64f519 Reduce debugging output a bit
especially since it's unconditional
SVN_SILENT


svn path=/trunk/KDE/kdelibs/; revision=1106171
2010-03-22 03:19:37 +00:00
Adenilson Cavalcanti Da Silva
3958e203be Paint only if the item is visible.
svn path=/trunk/KDE/kdelibs/; revision=1105303
2010-03-19 19:47:52 +00:00
Igor Trindade Oliveira
65ee24a2a3 use qfuzzycompare to resolse black frame in pixmap transitions
svn path=/trunk/KDE/kdelibs/; revision=1095410
2010-02-24 08:53:10 +00:00
Adenilson Cavalcanti Da Silva
af1a619c06 Including 'moc' files, should speed up compilation.
svn path=/trunk/KDE/kdelibs/; revision=1095303
2010-02-23 23:31:45 +00:00
Adenilson Cavalcanti Da Silva
6265ebb629 We no longer need this to be a slot.
svn path=/trunk/KDE/kdelibs/; revision=1095302
2010-02-23 23:31:20 +00:00