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