Commit Graph

516 Commits

Author SHA1 Message Date
Craig Duquette
53c0b890a9 Re-enable zoom-in/zoom-out in the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758367
2008-01-07 18:49:25 +00:00
Aaron J. Seigo
033f1f52b3 * immutability is handled by the applet
* Applet::isImmutable already checks for Corona immutability
* vertical means y, not x ..*sigh*

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758173
2008-01-07 03:56:46 +00:00
Aaron J. Seigo
ea793d2259 move panels even on vertically arranged monitors up into negative space
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758160
2008-01-07 02:15:29 +00:00
Jason Stubbs
b5983aed50 Flush constraints in corona rather than containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757860
2008-01-06 07:17:53 +00:00
Jason Stubbs
1e247fa749 Flush containment constraints as soon as they are loaded so that they can be
acted upon without having to wait for the event loop. This is needed so that
the desktop doesn't temporarily appear white when a wallpaper hasn't been
set.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757548
2008-01-05 10:35:32 +00:00
Stephan Binner
a0103a9c6a i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757289
2008-01-04 16:53:55 +00:00
Thomas Georgiou
cb869ce141 Make zooming invisible to user (doesn't do anything yet)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=757079
2008-01-04 03:09:30 +00:00
Aaron J. Seigo
41a5e62f79 the toolbox icons also need the background
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756932
2008-01-03 22:33:27 +00:00
Jason Stubbs
ee428ee92c Add applets at the correct position when the applet is dropped in the margin
between two existing applets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756618
2008-01-03 13:48:22 +00:00
Jason Stubbs
092b7ff835 Ensure that applets are added to the panel in left to right (or top to bottom)
order as BoxLayout is not really capable of anything else. On the containment
side, ignore the specified geometry when delaying init as the placement
calculations can lead to slight mispositioning of applets even when received
in the correct order.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756435
2008-01-03 08:44:14 +00:00
Urs Wolfer
4a18427f6a Icon fix. Patch by crazy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756181
2008-01-02 21:52:31 +00:00
Aaron J. Seigo
add3c7eacd pretend to fix moving plasmoids between containments; in reality we'll need a patch to KConfig* first to make this really work.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755682
2008-01-02 01:38:29 +00:00
Aaron J. Seigo
81909190eb after porting applets, it occurred to me that this naming is nicer.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755617
2008-01-01 22:54:33 +00:00
Aaron J. Seigo
e12dbeb000 provide a way for applets to signal that they'd like their config saved out to disk, please.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755616
2008-01-01 22:44:56 +00:00
Craig Duquette
590e039859 Changes the toolbox tools from buttons to icons.
Changes the toolbox icon from 'configure' to 'plasma'
Changed the toolbox gradient to something "prettier"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755534
2008-01-01 19:57:40 +00:00
Marco Martin
3b5443a62d restore the ability co create desktop icon with drag and drop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755067
2007-12-31 11:19:34 +00:00
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
900d587280 Notify applets that are added to panels about their new constraints too.
This fixes the system tray not updating when being removed and then readded
to the panel. Tasks still doesn't work though. :(

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754326
2007-12-29 15:44:43 +00:00
Jason Stubbs
cf40a07331 An applets sizeHint() is sometimes based on constraints so make sure that
the applet's constraints are up to date before using its sizeHint()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754125
2007-12-29 05:03:05 +00:00
Jason Stubbs
bc10b9a983 Remove the isContainment() just added as this would mean that non-containment
containments (wtf?) won't have their contextActions() displayed.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753478
2007-12-27 15:21:59 +00:00
Jason Stubbs
95f836fd2e Also change the other direct QGraphicsItem calls to Applet calls in contextMenuEvent()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753476
2007-12-27 15:19:01 +00:00
Jason Stubbs
cf71ae2c36 Don't try and display the containment context menu when isContainment() is
false. Also, call Applet's contextMenuEvent() rather than calling
QGraphicsItem's directly.

CCBUG: 154552

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753472
2007-12-27 15:14:51 +00:00
Jason Stubbs
a5ad6a0675 Switch to a busy cursor while the applet is loading
BUG: 154512

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753469
2007-12-27 15:03:50 +00:00
Jason Stubbs
05458a5c40 Add the applet to the panel at the division (between applets or edge of
screen) closest to where the applet was dropped to.
BUG: 154127

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752356
2007-12-24 08:39:08 +00:00
Jason Stubbs
efcc2c6128 Addition of applets to a panel require different geometry handling than
to a desktop. This patch just splits the handling into two branches so as
to make the upcoming changes easier to read.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752327
2007-12-24 07:49:33 +00:00
Jason Stubbs
03ae8a076b Make the placement algorithm slightly more intelligent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751696
2007-12-22 16:42:09 +00:00
Jason Stubbs
d4e9929555 Fix the centring calculation
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751610
2007-12-22 12:49:44 +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 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
Aaron J. Seigo
c0231730e2 * a more sane init(), by using the default values set in the Private class (or by prior calls to set*()?)
* try to give this a hope in hell of working in xinerama; include some debug output for when it fails ;)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729449
2007-10-26 01:11:27 +00:00
Aaron J. Seigo
ee8c24dcad yeah, moving them left is not what i wanted. hello dyslexia!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729434
2007-10-25 23:33:23 +00:00
Aaron J. Seigo
91d37cd653 also set the desktop widgets sufficiently apart on the scene
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729433
2007-10-25 23:31:20 +00:00
Aaron J. Seigo
975553bb1e debug for apaku =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729430
2007-10-25 23:19:49 +00:00
Aaron J. Seigo
576798dd52 set panels properly in setScreen. this will need to be augmented with screen edge stuff eventually as well, but for now this might work better on multiple screens.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729421
2007-10-25 23:09:02 +00:00
Aaron J. Seigo
136363aefe * don't cache the painting; prevents blowing the pixmap cache and killing performance on large screens. we don't move this around anyways, and we only paint the exposed rect when using a bitmap wallpaper
* default to a bitmap wallpaper as we handle those a lot better (e.g. only painting the exposed rect)

the paper painting code really does need to move to DesktopContainment at some point =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729228
2007-10-25 11:20:23 +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
Aaron J. Seigo
1db6f236e7 provide a bit of a margin between containments; this ensures that we don't get painting "bleed" between panels and the desktop as well which should help kwin go a little less crazy trying to keep up with re-compositing the whole desktop every time =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728530
2007-10-23 15:56:40 +00:00
Chani Armitage
1d9e0c424f make the contextmenu show up in the right place for panel apps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726620
2007-10-18 09:52:59 +00:00
Mike Evans
d0844394f8 Fix clipping of Toolbox Buttons
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726388
2007-10-17 17:35:48 +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
79d929e848 bit a bit more careful about what we do depending on what sort of Containment we are.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724315
2007-10-11 23:20:59 +00:00
Aaron J. Seigo
22de66fdc0 * fix order of constraints init so that geometry is done before screen affinity
* only adjust the size of the containment to the screen size if it is a DesktopContainMent

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724225
2007-10-11 19:16:01 +00:00
Chani Armitage
7d2771e8f3 move applet->setDrawStandardBackground(false) to within Containment::addApplet()
this appears to fix all the bugs with applets not showing up on the panel :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724060
2007-10-11 08:41:10 +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
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
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
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
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
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
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
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
Aaron J. Seigo
8db658db8e and now with the old appletbrowser out of the way, move the
AppletBrowserWindow-now-AppletBrowser files to where they once were (oh
what we go through to make sure nobody's builds break and svn doesn't
puke on me)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717963
2007-09-27 19:55:18 +00:00
Aaron J. Seigo
a64cea3758 - remove AppletBrowser-the-wrapper-class
- change AppletBrowserWindow to be AppletBrowser

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717959
2007-09-27 19:48:51 +00:00
Aaron J. Seigo
ff5b3b72db - reinstate AppletBrowser to the build
- refer to the now-_p.h'd private headers
- const the dptr

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717938
2007-09-27 18:59:53 +00:00
Aaron J. Seigo
b8343e6cf7 - delay creating the AppletBrowser until it's actually used. in
practice, one should NEVER create user interface in ctors/init()s of
  objects that get created at startup of the app if that UI is not for
  immediately visibility
- fix the build temporarily (but commenting out AppletBrowser bits)
  until Ivan commits the missing files

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717926
2007-09-27 18:40:29 +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
49aa519f2b implement the continment finding methods
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714846
2007-09-20 18:30:40 +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
eb19605f15 actully paint the background; had put in a premature return to do some
performance measurements and forgot to remove it

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714783
2007-09-20 16:06:00 +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