Commit Graph

14906 Commits

Author SHA1 Message Date
Aaron J. Seigo
b2da6b36ac always stop the anim, but only if we have one going on
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677807
2007-06-19 22:48:42 +00:00
Aaron J. Seigo
9fab210d65 whoops; this is the alpha channel not the pixmap itself =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677791
2007-06-19 22:06:05 +00:00
Aaron J. Seigo
059a64583d phased.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677783
2007-06-19 21:56:40 +00:00
Aaron J. Seigo
30f07bb62c add the concept of element animation. right now it only provides support for modifying a pixmap; positioning needs to be added, but this at least shows that it works(tm)
the idea is that you register an element animation and get back an id. you can associate a pixmap with that id and off you go. the item gets update() calls whenever the anim changes and you can fetch your precious little pixmap back with a call to animationResult.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677782
2007-06-19 21:56:03 +00:00
Aaron J. Seigo
f16c087846 * add element appear and disappear methods
* collapse all the frame rate methods into two (one for element anims and one for whole item anims) which take the Phase enumerations

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677781
2007-06-19 21:53:19 +00:00
Will Stephenson
4d6c186bac Warn that calling virtuals in a base constructor won't have the intended effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677452
2007-06-19 07:17:50 +00:00
Script Kiddy
d5d72b7007 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676959
2007-06-18 05:27:57 +00:00
Script Kiddy
9634f494c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676959
2007-06-18 05:27:57 +00:00
Riccardo Iaconelli
194aef2f42 Adding a real wallpaper and use it in corona.
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676914
2007-06-17 22:16:28 +00:00
Aaron J. Seigo
229c60eae9 erm. yeah. that's what i *really* meant.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676882
2007-06-17 21:24:50 +00:00
Aaron J. Seigo
60a844195e * make mini buttons "click" on mouse release like a proper button
* don't click when moving (either the icon or the mini buttons)
* only show the buttons on hovered states, allowing for proper button/hover/pressed painting
* try and avoid unecessary if/else's and other codedamage
* get rid of some dead code

now it's about ready to be phased =)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676842
2007-06-17 20:56:03 +00:00
Aaron J. Seigo
fab8953ccb * provide a Phase singleton
* use it in Corona

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676831
2007-06-17 20:05:43 +00:00
Aaron J. Seigo
1fa0feaa48 * use EaseIn for the icon button show
* show the button(s) in .2s rather than the very slow feeling .5s
* don't leak the timeline
* don't connect to the timeline signal more than once
* comment in code that is ifdef'd out anyways
* don't set the svg element for fg and bg unless it exists
* remove some dead code

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676786
2007-06-17 17:49:49 +00:00
Aaron J. Seigo
a452da7dd2 * removeData method added to DataEngine which allows one to, well, remove data from a source
* passing a null or invalid QVariant to DataSource::setData now results in the removal of the entry if it exists

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676783
2007-06-17 17:38:54 +00:00
Aaron J. Seigo
ebe7e7ff55 wrong file name.
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676742
2007-06-17 15:53:53 +00:00
Nuno Fernades Pinheiro
cdc3c3a895 now with really nice wallpaper
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676646
2007-06-17 10:49:00 +00:00
Nuno Fernades Pinheiro
3dd5e0c2ae seams we can have png's inside svg
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676641
2007-06-17 10:34:52 +00:00
Pino Toscano
f39618e727 include cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676613
2007-06-17 09:28:55 +00:00
Pino Toscano
251bdf9907 export, add include guard and missing includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676612
2007-06-17 09:28:42 +00:00
Script Kiddy
d65c1c16a6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=676551
2007-06-17 05:52:33 +00:00
Script Kiddy
025e519bbf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676551
2007-06-17 05:52:33 +00:00
Aaron J. Seigo
0174be3330 * api docu fixes
* allow setting a default mimetype for a package

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676513
2007-06-17 01:04:59 +00:00
Aaron J. Seigo
7afda6a7f8 fix for 3rd party builds
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676510
2007-06-17 00:33:44 +00:00
Aaron J. Seigo
d6af3ab7b6 use plasma exports
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676506
2007-06-17 00:29:53 +00:00
Aaron J. Seigo
eb5522104a add the non-gui packaging files to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676505
2007-06-17 00:25:16 +00:00
Pino Toscano
bbabb1fea4 headers cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676483
2007-06-16 23:38:56 +00:00
Riccardo Iaconelli
abc763ed43 Much nicer icons.
Implemented the concept for icons from David Vignoni (screencast coming...).
Context menu now shows "Plasma".

svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676455
2007-06-16 22:35:31 +00:00
Riccardo Iaconelli
7a70eac7fe Much nicer icons.
Implemented the concept for icons from David Vignoni (screencast coming...).
Context menu now shows "Plasma".

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676455
2007-06-16 22:35:31 +00:00
Pino Toscano
c2f152f611 - add the Encoding key where missing
- end the lists with the separator

svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=676260
2007-06-16 13:06:27 +00:00
Tim Beaulen
5a3e39e685 Make workspace build. The plasma headerfiles could not be found.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676197
2007-06-16 09:10:59 +00:00
Aaron J. Seigo
37869e0326 move the libraries that will be kept into libs/ ( was lib/)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676120
2007-06-16 04:16:17 +00:00
Aaron J. Seigo
bbea8b07a0 also check to see if kurl knows about this stuff
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675295
2007-06-13 22:11:49 +00:00
Laurent Montel
3d126ae09b Fix include
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675269
2007-06-13 21:26:08 +00:00
Script Kiddy
2ba6e382a0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675092
2007-06-13 17:57:01 +00:00
Aaron J. Seigo
029b2e8a54 API consistency fixes; all methods now use "Source" to mean "DataSource"
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674784
2007-06-13 04:56:49 +00:00
Script Kiddy
d349f2bc5c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674497
2007-06-12 13:36:14 +00:00
Will Stephenson
f618eaf0b6 Correct api docs
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674144
2007-06-11 21:11:22 +00:00
Aaron J. Seigo
5957c71110 naming consistency
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=674143
2007-06-11 21:10:44 +00:00
Aaron J. Seigo
13a83e87f8 * add a set of "completed" methods to the animations so the animator can clean up
* instead of passing in the frame, pass in the % completed in a qreal (0.0 - 1.0), allowing the Animator to remain innocent of animation time elapse
* call the Animator immediately with 0% to allow it to start immediately and do setup

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673398
2007-06-10 07:09:07 +00:00
Aaron J. Seigo
2360b4b210 * actually start the timeline (durr!)
* open up the possiblity to change the CurveShape depending on the effect

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673396
2007-06-10 06:25:26 +00:00
Aaron J. Seigo
3b8fc737e4 * add a Phase object to the corona; start using it.
TODO:
* use all the Phase transitions properly; this implies reworking the remove applet mechanism completely
* consider sharing Phase amongst all Coronas? should it be a singleton?

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673395
2007-06-10 06:24:42 +00:00
Aaron J. Seigo
eb330b2a79 * cleanup includes for external usage
* include KGenericFactory so subclasses don't have to
* move the plugin macro to Animator where it belongs

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673394
2007-06-10 06:02:38 +00:00
Aaron J. Seigo
6900270998 fix includes for external usage
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673393
2007-06-10 06:01:15 +00:00
Aaron J. Seigo
0fbe1e47c1 * count the number of objects connected to each datasource
* data sources now signal when the are unused
* listen to the unused signal for sources created on demand via dataSourceRequested

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673389
2007-06-10 05:39:27 +00:00
Script Kiddy
7a5203ec2c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=673377
2007-06-10 04:45:40 +00:00
Script Kiddy
922aada9ab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673377
2007-06-10 04:45:40 +00:00
Aaron J. Seigo
b86f3f6209 when a data source is requested but does not exist, allow the engine the opportunity to add it by reimplementing dataSourceRequested(const QString&). this makes it trivial to add timezones to the time engine, rss feeds to an rss engine, weather stations to a weather engine or hardware data to solid engines.
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673373
2007-06-10 04:03:50 +00:00
Script Kiddy
908b88f59d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=673141
2007-06-09 05:15:02 +00:00
David Faure
b00436fbe1 SVN_SILENT No ';'
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672801
2007-06-08 07:23:09 +00:00
Aaron J. Seigo
73ccedb42e make the frame rates per second by dividing by 1/duration. we will likely want different durations per anim, but i really like the idea of controlling the durations centrally as a means to .. guide (yeah, that's it!) Animator developers
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672786
2007-06-08 06:05:40 +00:00