Commit Graph

83 Commits

Author SHA1 Message Date
Jason Stubbs
1fe1bbb5c0 Applets may expect that init() has been run when constraintsUpdated is called
so ensure that it has been run before updating constraints.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754350
2007-12-29 16:26:36 +00:00
Jason Stubbs
fa69a979c9 Try to place unpositioned applets in areas that aren't occupied using a very
simple placement policy.

BUG: 154122

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751607
2007-12-22 12:32:55 +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
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
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 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
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
ed8c50e03f completely change how we save and load containments and panels.
it all happens from one file now using nested groups. this has two major effects:

 - one file to rule them all for any given corona; this makes things even nicer for use in other apps, btw.
 - the ability to easily save, send/share and restore corona configuration layouts; something i've wanted from the start


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741158
2007-11-24 23:38:37 +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
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
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
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
2089854d5e KRUSH: don't do our own useless sizeHint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735126
2007-11-10 23:21:26 +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
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
db095df33e animate items being removed. whee. the only problem would be if the item is being removed but plasma is quit before the anim finishes... or if some top-level applet calls disappear on itself (though why they'd do that i don't?)
let's see if that ever really matters. if it does, then we can simply keep a list of applets being removed around. but let's play fast 'n loose for now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728722
2007-10-24 02:10:10 +00:00
Alexander Wiedenbruch
ea4a368a42 The integration of SuperKaramba into Plasma is now done
by the SuperKaramba Plasma Applet alone that comes with SuperKaramba itself.

- Remove all previous functions to load SuperKaramba themes
- Add special code into applet browser to handle the theme loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724563
2007-10-12 17:30:30 +00:00
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
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
Ivan Čukić
8a811e46f7 * applet browser's add button works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717892
2007-09-27 17:50:31 +00:00
Alex Merry
67322b0367 Revert the applet browser import to fix the build
CCMAIL: ivan.cukic+kde@gmail.com


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717225
2007-09-26 10:38:26 +00:00
Ivan Čukić
49b3e4b13b Import of the Plasma Applet browser into the libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717167
2007-09-26 07:44:06 +00:00
Alex Merry
d29805caef Make drag-n-drop applets work again.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716003
2007-09-23 18:03:37 +00:00
Aaron J. Seigo
607d79dda6 lock screen and log out ... this makes things slightly more bearable for
me on a day to day basis ;)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714841
2007-09-20 18:23:28 +00:00
Aaron J. Seigo
bf23b56b8a Containment: an Applet grouping class, also provides for background painting via plugings (well, Applets actually)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714170
2007-09-18 21:16:17 +00:00