Plasmoids are now configurable! =)

Also cleaned out a bit the code, and improved the painting algorithm. Removed the harcoded values for adjusting the hands, now they're calculated runtime. Still have to make it more flexible, permitting to the artist to specify his center for the hand.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668557
This commit is contained in:
Riccardo Iaconelli 2007-05-26 19:01:32 +00:00
parent 87c431393a
commit 4090084e34

View File

@ -109,6 +109,12 @@ class PLASMA_EXPORT Applet : public QObject, public QGraphicsItemGroup
* @return list of applets
**/
static KPluginInfo::List knownApplets();
/**
* Reimplement this slot to show a configuration dialog and let the user
* play with the plasmoid options. Called when the user selects the configure entry
* from the contextual menu.
*/
virtual void configureDialog(){}; //default implementation is empty
/**
* Attempts to load an applet, returning a pointer to the applet if