Commit Graph

4176 Commits

Author SHA1 Message Date
Aaron J. Seigo
f74b94a1d5 put clip to shape back in business as the bugs related to it seem to be
fixed in 4.3.1

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696383
2007-08-04 15:53:28 +00:00
Aaron J. Seigo
ecad916f0a set the pos of the lineedit. really, this should become a Widget with a
QGrahpicsTextItem as a child item

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696366
2007-08-04 14:59:21 +00:00
Richard J. Moore
e4f1d2f617 - Prepare for scripting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696337
2007-08-04 13:14:57 +00:00
Richard J. Moore
705b7839f9 - Prepare for scripting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696314
2007-08-04 12:46:29 +00:00
Richard J. Moore
e7512b5b77 - Prepare for scripting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696309
2007-08-04 12:37:59 +00:00
Script Kiddy
466fda4c04 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696194
2007-08-04 05:43:42 +00:00
Matt Broadstone
23fe05689a documented Plasma::CheckBox, removed methods now implemented in Plasma::Widget for this widget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696084
2007-08-03 19:17:30 +00:00
Matt Broadstone
a53be5affe Proper documentation, added setSize
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696079
2007-08-03 18:56:14 +00:00
Matt Broadstone
be3c212374 Make all plasma/widgets inherit Plasma::Widget now. Holding off on committing change for icon as I have a massive patch for the new text drawing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696028
2007-08-03 16:00:10 +00:00
Aaron J. Seigo
8fce372a7c allow applets to register that they need to be configured before use
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696023
2007-08-03 15:23:56 +00:00
Aaron J. Seigo
0e221b59bd add the ability to include a screenshot with packages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695963
2007-08-03 12:38:57 +00:00
Laurent Montel
e6988faf49 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695877
2007-08-03 06:59:24 +00:00
Robert Knight
8c9f82bd4a Reduce debugging noise when performing drag-and-drop.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695805
2007-08-03 00:13:33 +00:00
Aaron J. Seigo
510c39002a fixes the clicked signal.. thanks to Anrdreas, the MAN!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695685
2007-08-02 17:15:21 +00:00
Leo Franchi
ce090faab8 add matrixForElement(const QString& elementId) const as discussed on panel-devel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695665
2007-08-02 16:14:35 +00:00
Aaron J. Seigo
ac918ad4bf kdebug fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +00:00
Aaron Eisenberg
d40669a2d2 Do not paint anything inheriting Widget and do not paint LineEdit when in desktop view. LineEdit is currently just a temporary solution, because it doesn't inherit Widget for some reason.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695323
2007-08-01 20:51:27 +00:00
Sebastian Kügler
8ccfa4e4dd QMetaObject::invokeMethod is called incorrectly in
DataEngine::connectSource / DataEngine::connectAllSources

also: If a DataEngine fails to create the source in
sourceRequested(source), an empty source is created in d->source(source)
and then used during QMetaObject::invokeMethod, which calls updated for
the applet.
Better: don't create the source. This forces DataEngines to create the
source.

Patch by Michael Olbrich <michael-olbrich@web.de>

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695097
2007-08-01 11:22:53 +00:00
Pino Toscano
f84844f85c #include cleanup in public header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695077
2007-08-01 10:18:48 +00:00
Robert Knight
398d39948e Call base implementations of dragMoveEvent() and dropEvent() so that individual QGraphicsItems within the scene can use drag and drop.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695014
2007-08-01 07:09:27 +00:00
Matt Broadstone
4823fc0237 More refactoring in preparation for text layout code
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694895
2007-08-01 01:25:01 +00:00
Matt Broadstone
48700bf813 Refactor these to Private, makes paint more readable and gets us ready for new text layout code
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694891
2007-08-01 00:52:26 +00:00
Riccardo Iaconelli
075c1315ec Const QStrings
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694679
2007-07-31 10:56:05 +00:00
Riccardo Iaconelli
5aaccf0489 The applets now can associate with (one or more) certain mimetypes, and be called when that mime is dragged onto the desktop. Very rudimental for the moment, we should pass the name of the file to the applet. Added some copyrights I missed in the past.
Aaron: your turn now to discover the 'Mimetypes' key problem.
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694676
2007-07-31 10:52:05 +00:00
Aaron J. Seigo
8d4debed10 * add missing return in instanceName
* turn off clipping to shape for Applet as that breaks background painting in cute and wonderful ways
* remove some dead code
* use setFlag instead of setFlags everywhere

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694556
2007-07-31 01:11:25 +00:00
Thomas Georgiou
999cd6ed57 Cache standard applet background.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694542
2007-07-31 00:21:08 +00:00
Sebastian Sauer
d66a988732 added the QList<QAction*> Applet::contextActions() method. thanks aaron :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694540
2007-07-31 00:20:19 +00:00
Aaron J. Seigo
7634beebf3 a bit of extra debug output here plus a mod to the icon demo so i can show bibr in a couple days the interesting ways in which event handling is broken
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694478
2007-07-30 20:29:10 +00:00
Aaron J. Seigo
8d5d8daeb3 give the configxml object our config object; probably works better that way ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694408
2007-07-30 16:19:07 +00:00
Aaron J. Seigo
b1fafa0edc add a ctor that takes a KSharedConfig::Ptr
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694406
2007-07-30 16:18:27 +00:00
Aaron J. Seigo
f7abb4b135 * call prepareGeometryChange when the darw default background setting changes
* add in a completely untested-but-should-work ;) implementation of config ui loading; requires a package with config/ui/main.ui and config/xml/main.xml in it. should shave 7LOC off of the clock's Script.js, which is ~10% of the code line count!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694399
2007-07-30 16:00:29 +00:00
Aaron J. Seigo
b877dc8ee0 add main config xml and ui entries to the applet package structure
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694395
2007-07-30 15:56:04 +00:00
Script Kiddy
d511b20751 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694108
2007-07-30 04:47:23 +00:00
Aaron J. Seigo
b9b651bf7e if you're going to fix duplicates, take out the one that is out of alphabetical order. preventing dupes when hand editting is why i put things in alpha order in the first place.
also, remove a duplicate in the installed headers.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693937
2007-07-29 15:20:02 +00:00
Laurent Montel
0e16a6b846 Add missing include file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693883
2007-07-29 11:35:29 +00:00
Laurent Montel
30afe352d1 Fix duplicate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693867
2007-07-29 10:28:56 +00:00
Script Kiddy
e921256074 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693808
2007-07-29 05:20:59 +00:00
Aaron J. Seigo
b09384dcc5 remove more of the misguided lock applet commit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693805
2007-07-29 05:06:04 +00:00
Thomas Georgiou
42199d52da Finish reverting to the right revision.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693803
2007-07-29 04:36:38 +00:00
Thomas Georgiou
adddd535ff Finish reverting.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693802
2007-07-29 04:33:48 +00:00
Thomas Georgiou
3b051def64 Revert commit.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693801
2007-07-29 04:33:21 +00:00
Thomas Georgiou
ee0793ef7d Convert painters to stack from pointers.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693788
2007-07-29 01:41:13 +00:00
Thomas Georgiou
d58bbd2d29 Add dynamic shadows to standard background.
Color the shadows instead of a roundrect when zoomed out.
Actually paint the applet when zoomed out.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693787
2007-07-29 01:24:58 +00:00
Aaron J. Seigo
947ed386ab * remove the lock/move stuff as it ignores kiosk and is already covered nicely by isImmutable and setImmutable
* on the base implementation of contentSize, check to see if we have a layout and if so use that to determine the size we ought to be

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693769
2007-07-28 23:41:40 +00:00
Aaron J. Seigo
08fca6641e const fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693768
2007-07-28 23:40:21 +00:00
Aaron Eisenberg
36649f248d Use the Oxygen color palette for coloring applets in group mode (based on their category).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693736
2007-07-28 21:07:18 +00:00
Aaron J. Seigo
cedc2934c4 make it clear what services Applet provides in the apidox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693718
2007-07-28 19:59:22 +00:00
Matt Broadstone
400e9788a5 Added documentation for Plasm::Icon, also added accessors for infoText-> allow for meta text to be associated with the icon
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693711
2007-07-28 19:27:56 +00:00
Matt Broadstone
9bc4377eff For posterity's sake
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693708
2007-07-28 19:27:09 +00:00
Alexis Ménard
c5b02c7a1b Fix missing compilation and install of widget label
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693642
2007-07-28 15:22:44 +00:00