Commit Graph

7407 Commits

Author SHA1 Message Date
Aaron J. Seigo
e642050a1c * introduce a type() to containments so we can tell the difference between panels, desktops, etc more reliably
* translate panels to negative coordinates. this will allowus to make hiding panels that actually ... work =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723423
2007-10-09 16:33:52 +00:00
Aaron J. Seigo
3e90dfe02b move all the init to loadDefaultSetup if we are loading a default setup; as an extra bonus this prevents Containment::init() being called twice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723422
2007-10-09 16:32:34 +00:00
Ivan Čukić
599a527eb0 Used in the past emblem enabled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723318
2007-10-09 10:00:54 +00:00
Ivan Čukić
700fe7d498 Added support for remembering favorites in the plasmarc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723316
2007-10-09 09:51:55 +00:00
Petri Damstén
b5fa2a0936 Calculate available size before perItemSize
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723274
2007-10-09 07:05:37 +00:00
Aaron J. Seigo
192ba4bad3 * move the pluggable krunners into plasma/krunner
* change krunner to plasma in the plugin loader macro

this essentially helps hide krunner completely from the runner implementor and follows with the rest of the generic plugins offered by libplasma

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723220
2007-10-09 03:41:24 +00:00
Aaron J. Seigo
ff935b47f5 * KRunner/Runner -> Plasma/Runner as it is actually hosted by libplasma
* move the service description .desktop file into libs/plasma/servicetypes with the rest of them
* add a X-Plasma-RunnerPhase property so we can try and order these puppies

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723217
2007-10-09 03:20:02 +00:00
Ivan Čukić
9ef8749a7f Made recommended plugins configurable. The default 'Recommended by KDE' is removed and should be added to the default plasmarc file.
Example plasmarc section:

[Applet Browser]
recommended.kde.icon=help-about-kde
recommended.kde.caption=KDE
recommended.kde.plugins=digital-clock

recommended.debian.icon=debian-logo
recommended.debian.caption=Debian
recommended.debian.plugins=groupphoto

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723162
2007-10-08 21:50:38 +00:00
Petri Damstén
82b947252e Remove debugs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723007
2007-10-08 12:49:22 +00:00
Keith Neuse
a6d04f9ea4 A hack is submitted in order to fix the transparent area between the black center and border of an applet.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722766
2007-10-08 03:41:56 +00:00
Chani Armitage
fe0c9c5272 renamed a potentially confusing var and added some debug output
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722749
2007-10-08 02:22:29 +00:00
Thomas Georgiou
fab3611a21 Transparency works now!! Aaron, remember to fill QPixmaps with
Qt::transparent.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722710
2007-10-07 23:32:56 +00:00
Aaron J. Seigo
42b02fbfa5 let's try defaulting to the desktop containment if we end up without one (e.g. a config file mess up)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722678
2007-10-07 21:53:47 +00:00
Aaron J. Seigo
b1273b15d2 don't show empty context menus if that is what they are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722677
2007-10-07 21:53:20 +00:00
Aaron J. Seigo
ae9727817f make sure we get a layout, this fixes the sizing of applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722674
2007-10-07 21:40:42 +00:00
Petri Damstén
1fce16d307 Add color, font, alignment support for labels.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722537
2007-10-07 14:52:17 +00:00
Chani Armitage
1f01e27b83 fix the geometry of lots of applets (this means the clocks work again)
thanks MikeyUSC

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=722385
2007-10-07 07:28:24 +00:00
Andreas Pakulat
70f0a9f9be Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.

svn path=/trunk/KDE/kdelibs/; revision=721704
2007-10-05 22:21:25 +00:00
Petri Damstén
940f7e00fb Adds toggle support to Plasma::PushButton.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=721138
2007-10-04 17:36:21 +00:00
Laurent Montel
2fe2f1bca9 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720828
2007-10-03 20:23:46 +00:00
Aaron J. Seigo
bd1f639f95 remove the desktop specific functionality, to be moved to a plugin that
ships with the plasma binary. should make the amarok people happy ;)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720731
2007-10-03 15:46:40 +00:00
Aaron J. Seigo
0cfd584408 the Containment plugin for the default desktop will be simply called "desktop"
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720730
2007-10-03 15:45:31 +00:00
Aaron J. Seigo
35b31cd630 export the class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720729
2007-10-03 15:44:28 +00:00
Script Kiddy
a80c6a9746 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720538
2007-10-03 06:39:50 +00:00
Rafael Fernández López
5e321b63f5 Update my email address
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720339
2007-10-03 00:44:18 +00:00
Script Kiddy
170e97c49a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720019
2007-10-02 06:39:53 +00:00
Aaron J. Seigo
6cd4da671d provide a default param for updateConstraints so existing code has fewer changes to be done
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719839
2007-10-01 23:30:47 +00:00
Aaron J. Seigo
b51cc728fd actually pass around what constraints are being updated. this allows preventing of unecessary processing (for one) and also can avoid recursion where someone calls a constraints setter from inside constraintsUpdated.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719831
2007-10-01 23:24:38 +00:00
Rafael Fernández López
0f7e4e52ab Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719642
2007-10-01 15:09:41 +00:00
Script Kiddy
4040f40aaa SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719466
2007-10-01 06:24:51 +00:00
Aaron J. Seigo
5935c799dc fix background center painting; the svg painting is doing something funky still (i'm getting a 1-2px blue border) but the coordinates in paintBackground are all correct at this point (verified with a call to fillRect). but i'm tired and need to go to bed now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719410
2007-10-01 05:50:57 +00:00
Aaron J. Seigo
3817a54b50 make resize() work even after createRenderer() has been called once
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719392
2007-10-01 05:31:32 +00:00
Aaron J. Seigo
55969fd88b - make setGeometry virtual so that Applet::setGeometry actually does what Petri Damsten was trying for
- erase the rect on the pixmap that is exposed before painting again; this prevents painting over and over and over the pixmap (resulting in darker and darker painting when using transparency)
- some minor whitespace changes made whilst debugging

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719387
2007-10-01 05:06:51 +00:00
Aaron J. Seigo
c545f4f86c only paint the standard background we have right now for Planar FormFactors
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719255
2007-09-30 18:07:44 +00:00
Alex Merry
42e49a2b06 Bring back the panel. It's not perfect, but it gives basic functionality.
You may need to delete ~/.kde4/share/config/plasma-appletrc to get the panel

Reloading from the config file is a bit dodgy - waiting on a commit from aseigo
which changes background painting of applets depending on their form factor.

CCMAIL: aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=719254
2007-09-30 18:06:08 +00:00
Chani Armitage
9e54e09dc8 when you fix something, remember to update the comment saying to fix it :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718932
2007-09-30 02:15:40 +00:00
Chani Armitage
f55f22fa52 we don't need to increment hasEntries every time through the for loop; the if statement is enough
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718931
2007-09-30 02:12:40 +00:00
Pino Toscano
def5031a00 header fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718890
2007-09-29 22:58:52 +00:00
Pino Toscano
dae62a8fcc extra ';', remove custom implementation of qMin()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718860
2007-09-29 21:45:20 +00:00
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +00:00
Script Kiddy
2cc9877463 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718575
2007-09-29 06:00:08 +00:00
Script Kiddy
c43261e751 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718158
2007-09-28 06:44:06 +00:00
Petri Damstén
79a32822ac - Override setGeometry so we can give correct rect to layout
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718078
2007-09-28 05:46:37 +00:00
Petri Damstén
61fa701fc0 - Add setSize (needed by Applet)
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718077
2007-09-28 05:45:10 +00:00
Petri Damstén
c4f4f16048 - Use margin at startPos
- Delete white space from line ends

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718076
2007-09-28 05:43:15 +00:00
Aaron J. Seigo
8f4ed43ae0 whoops, forgot this other half of the commit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718011
2007-09-27 22:11:46 +00:00
Alex Merry
455d9faf55 Tell the layouts who they are doing the layout for.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718010
2007-09-27 22:07:15 +00:00
Aaron J. Seigo
c982fdde3b fix crash; you can't suppose that you get a Widget in ::paint
CCMAIL:tokoe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718009
2007-09-27 22:05:57 +00:00
Alex Merry
cc626be7e0 Make sure we actually add the applets to the new layout when
it changes


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718004
2007-09-27 21:50:44 +00:00
Alex Merry
b393cd00b4 Initialise variables
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718000
2007-09-27 21:41:30 +00:00