Commit Graph

88 Commits

Author SHA1 Message Date
Aaron Eisenberg
610945f0fc Rename the toolbox files to be desktop specific.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751080
2007-12-21 01:14:32 +00:00
Aaron J. Seigo
e8e3b503e2 allow querying if a tool is enabled or not
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750286
2007-12-19 02:41:45 +00:00
Aaron J. Seigo
bdcec3bee6 allow outsiders (e.g. subclasses) to enable/disable tools
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748312
2007-12-14 06:34:26 +00:00
Aaron J. Seigo
cdceb6531a this one had me scratching my head for a while: applets that are also containments, but which are not currently being *used* as containments need to have the containment they are in's form factor returned from formFactor, not their own (which probably not set at that point anyways =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747861
2007-12-13 06:27:23 +00:00
Aaron J. Seigo
616675be80 appletRemoved signal to create symetry with appletAdded. had two people ask about this already.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747104
2007-12-11 02:59:02 +00:00
Aaron J. Seigo
059505f639 save/restore lock status
CCMAIL:tokoe@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745809
2007-12-07 05:02:54 +00:00
Aaron J. Seigo
198544318a * optional names for tools
* respond to immutability constraint updates, in particular hide the add widgets toolbox button

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745246
2007-12-05 20:26:23 +00:00
Aaron Eisenberg
f7a0308982 Added the ability to lock desktop widgets and assigned icons to all the desktop context menu actions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744659
2007-12-04 02:17:21 +00:00
Aaron J. Seigo
d06a97fa73 SVN_SILENT: hush
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742850
2007-11-29 01:05:16 +00:00
Aaron J. Seigo
eb62d53f8f handle the setting of the default type a bit differently; delay it until init and only if the subclass hasn't set something on us
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742839
2007-11-29 00:20:37 +00:00
Aaron J. Seigo
22893bd077 change of heart after trying a few more things out: make containment type something that can be externally set.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742774
2007-11-28 21:46:17 +00:00
Aaron J. Seigo
4013f346ae bitten by the difference between type() and containmentType() again; layering one set of concepts (plasma) over another (qgv) does have its annoying sides ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742416
2007-11-27 23:36:10 +00:00
Aaron J. Seigo
119dacffe8 right, handles only on desktops for now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742411
2007-11-27 23:23:38 +00:00
Aaron J. Seigo
dee3a63add don't bother animating the items on start up (delayedInit) since we never see the anims anyways so it's just a bunch of unecessary computation at launch.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742409
2007-11-27 23:19:02 +00:00
Aaron J. Seigo
20470c7c67 keep screen assignments; this way if a screen is unplugged then comes back between plasma runs (e.g. log ins) we still have the containment kicking around. useful, that. ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742136
2007-11-27 08:47:46 +00:00
Aaron J. Seigo
51e828917e * simplify some of the code
* put warning comments about using config() prematurely
* improve addApplet(Applet *) by having it remove the applet from the other containment, reset the config, deal with scene event filters....
* be less noisy with kdebugamania

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742103
2007-11-27 06:08:44 +00:00
Aaron J. Seigo
c3d71fb5f3 * don't assume a screen; this prevents containments without a screen expressley set from taking over the primary desktop; at least i know that screen take over works though ;)
* only bother with screent take over is we have an actual screen (e.g. something > -1)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742029
2007-11-26 23:28:03 +00:00
Jeremy Paul Whiting
44a7a86a6c enable moving applets from one desktop containment to another, still a bit buggy, but functional
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=742001
2007-11-26 21:57:50 +00:00
Aaron J. Seigo
9603d8cf57 we need to turn the background off here, as well.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741921
2007-11-26 18:32:25 +00:00
Percy Leonhardt
a166f48ccc Support resizing of applet while handle is visible.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740406
2007-11-23 08:01:29 +00:00
Aaron J. Seigo
2fbb4b5fee SVN_SILENT: note to self.. don't patch on one machine, then commit from another blindly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739973
2007-11-22 08:00:35 +00:00
Aaron J. Seigo
fc6b8e4a95 be more careful about the things we watch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739951
2007-11-22 07:37:57 +00:00
Aaron J. Seigo
9c52d8f067 actually make plasmoid removal work and harden the applet handle against the applet being removed from under it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739867
2007-11-22 05:11:06 +00:00
Aaron J. Seigo
9b29f430db a little bit of spacing in the panel between items makes the baby happy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738948
2007-11-20 00:44:29 +00:00
Aaron J. Seigo
92ba2c1b0b move all the layouts to their own directory; much more logical and makes it easier to not miss layouts that need changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738898
2007-11-19 22:42:56 +00:00
Aaron J. Seigo
fbf2505f8a only if it is being used as a containment actually give it the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738519
2007-11-19 02:27:53 +00:00
Aaron J. Seigo
b0789ebe14 here, have your containments back. type() was pretty widely used and rather important apparently ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738514
2007-11-19 02:14:18 +00:00
Aaron J. Seigo
aad6b2a52b interesting; with that const fix i discovered this clashed with QGrahpicsItem::type() .. doh!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738507
2007-11-19 01:35:10 +00:00
Aaron J. Seigo
b57b27550a a bit of const correctness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738506
2007-11-19 01:26:50 +00:00
Aaron J. Seigo
4b8f4092a0 * @internal: introduce a containmentConstraintsUpdated so that we can manage some containment specific things
* introduce CustomContainment types which will be more 'hands off'

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738503
2007-11-19 01:19:58 +00:00
Aaron J. Seigo
5b4dbbe303 we do actually still want context menus on applets, even with the hover thing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738430
2007-11-18 22:02:01 +00:00
Aaron J. Seigo
40e5395c3e guard a bit better against multiple desktop containments claiming the same screen
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738061
2007-11-17 20:50:57 +00:00
Aaron J. Seigo
47130fbba5 * initConstraints -> loadConstraints, since that's actually what it does
* turn off the background right away in containments to avoid getting size hints with the boundaries!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737709
2007-11-17 03:31:25 +00:00
Andre Duffeck
174096635e Add signals that incicate an application launch. DashBoardView can
connect and hide itself then, for example.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737051
2007-11-15 11:06:33 +00:00
Jeremy Paul Whiting
311f58dea6 SVN_SILENT conform to kdelibs style
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736150
2007-11-13 15:49:28 +00:00
Jeremy Paul Whiting
a9673b0ac7 don't crash when hovering over the panel plasmoids
I'm fairly confident the assertion that used to be here is bogus because of panels not belonging to the desktop containment
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735913
2007-11-13 00:29:09 +00:00
Kevin Ottens
bf77e378a6 Add support for applet handles in plasma containments.
Still a couple of issues to flesh out, but that's usable already.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735845
2007-11-12 19:27:21 +00:00
Aaron J. Seigo
a0592bf1f4 KRUSH:
* get rid of unused d->size var
* don't track the layout ourselves, use the layout() from the LayoutItem
* code clarity cleanups

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735123
2007-11-10 23:19:05 +00:00
Aaron J. Seigo
bcf898ca7b appletAdded signal
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734727
2007-11-09 18:47:35 +00:00
Aaron J. Seigo
de2dba69a9 * listen and respond to xrandr changes
* convenience accessor to the corona for containments
* some debug to track down the context menu in the upper left corner problem

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734486
2007-11-09 00:44:35 +00:00
Aaron J. Seigo
99f67622e2 the last of the full screen repaints are gone, gone gone.
TT is aware of the bugs i'm working around, so hopefully we can get rid of this code someday, but for now ... a much more performant and smoother plasma.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733167
2007-11-05 18:40:45 +00:00
Aaron J. Seigo
cda61b4888 we need to accept hover events, even though we do nothing with them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733132
2007-11-05 16:41:27 +00:00
Aaron J. Seigo
7da6eebdcb less noisy on startup.. this stuff is working now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732531
2007-11-04 05:38:16 +00:00
Aaron J. Seigo
a5b02c9e66 fix default geometry setting
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732500
2007-11-04 01:37:56 +00:00
Aaron J. Seigo
cb956351ed don't paint anything from the base "null" containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732493
2007-11-04 01:17:42 +00:00
Aaron J. Seigo
6a826c0150 thanks to the persistent and patient test of apaku, plasma is working fairly decently in xinerama now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730881
2007-10-29 23:32:55 +00:00
Aaron J. Seigo
f846464288 - use addChild so that the item gets added to the layout
- proper coordinates for setLeft

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730874
2007-10-29 22:45:57 +00:00
Aaron J. Seigo
4d1cac45c8 only used once, no point in putting in a temp var
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730443
2007-10-28 20:03:04 +00:00
Cédric Borgese
3313101e56 Fix applet position when droping it from appletbrowser on a containment that doesn't start at (0,0) on the scene. Typically, the second screen on a dual screen
configuration.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729926
2007-10-27 12:37:05 +00:00
Sean Harmer
fb1fe06b79 Refactoring the background painting code into DefaultBackground.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729889
2007-10-27 08:56:42 +00:00