removing launchActivated() signal from Corona.
it was not used here, but still needed in Containment and Applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800751
isImmutable(), setIsImmutable() and isKioskImmutable() of applet and
corona are merged in one property so they becamed
immutability() and setImmutability() using the new type
ImmutabilityType defined in plasma.h as:
NotImmutable: normal behaviour
UserImmutable: the user locked the desktop, can unlock it
SystemImmutable: the system locked the desktop and the user can't unlock
it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800724
applets,
please update to another revision to use the version that works
green flag from aaron
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796368
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
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
* don't delete applet config groups because nobody actually bothers to implement saveState (*grrrr*) but that's somewhat ok now as we destroy the group on applet destruction. this does mean that dragging applets between containments is probably broken now, but i'll fix that next
* don't recreate the config file on every saveApplets but use the existing shared config ptr whenever possible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755635
applet is removed from the panel and readded elsewhere, its position in the
config file currently doesn't change. To fix this, this patch clears out the
config group before rewriting it out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754139
* remove addApplet, as it breaks the corona->containment->applet concept and leads to easily to subtle bugs (c.f. r750746)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750747
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
* 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
* mark containments as containments; we need to do this here because a containment may also be used as a regular applet; only the corona knows which is when
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737028
* endsWith, since it must end with; prevent possible clash with an applet with the name containment ;)
* don't add containments multiple times to the scene; no harm, but it spits out warnings to the konsole
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735125
* 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
* return the _desktop_ constraint from constraintForScreen
* don't use the arg list to set the location of the panel, use the setLocation method as per usual
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729445
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
* 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
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
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
- put applets in the center of the screen not the top left (i really wish people wouldn't commit obvious regressions like that? the code was ifdef 0'd out!)
- create a Containment per-screen (in the xinerama sense)
- new loading/saving code; not overly comfortable with it yet but it works and maintains the single-pass semantics as well as the option for us to delay calling init() if we decide to do so in the future
- misc fixes here and there
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714175
this is a brittleness in the layout system that really needs to be addressed (and i added a comment and some debug output about this in LayoutItem)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712164
comments below.
* New Flow Layout. This provides simple icon view-esque layout of items.
Useful for icons for documents , applications or other tasks on the desktop
for example. Supports non-equally sized items.
Works well when used with the LayoutAnimator class to animate insertions
and removals.
* Re-wrote BoxLayout and removed old HBoxLayout,VBoxLayout classes which had
a lot of code duplication. BoxLayout class now takes a direction argument
in the constructor, ala. QBoxLayout. New BoxLayout class actually takes
minimumSize() , maximumSize() of items into account. The Qt layout code
for box and grid layouts is surprisingly sophisticated, so the results
from BoxLayout probably will not be as good in certain situations but
it should do for the panel. New BoxLayout also has support for LayoutAnimator
* Fix Plasma::HBoxLayout and Plasma::VBoxLayout to use margin()
rather than spacing() for the distance from the top and left
margins respectively.
* Fix Plasma::Applet::contentSize() to return the actual content size
rather than a size hint. Added a new method contentSizeHint() which
applets use to provide a hint about suitable content size.
Existing implementations of contentSize() in applets need to be renamed
to contentSizeHint(). The arguments and return type are the same as before.
* Install the LayoutAnimator header so that applets can use it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=707275
* until dragLeaveEvent gets special treatment do the default
* drop events over items should(?) only be handled by those
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700652
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
* if we get a matching mimetype, create that applet (not that applet + a
button too ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696783
which keeps us on the path to being able to snapshot and share layouts
* extend addApplet with optional params for applet id and starting geometry
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696631
prefix or suffix constraintsUpdated, e.g. manage the shadow
* add experimental support for dynamic shadow, based on a patch by
zrusin; still issues to be addressed but it gives us the start of a
layer-based means to do effects
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696561
Aaron: your turn now to discover the 'Mimetypes' key problem.
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694676
this also moves the desktop related items out of libplasma, making it a bit more light.
functionality has moved into CoronaView, which will soon be renamed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689123
more explicit as to what it does and falls in line with
setHasConfigurationInterface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=682296
and const don't like me
so i offer you
this apology:
i promise to try
to remember the friend
who prevents us from mucking
things up in the end
all hail const!
my poetry sucks!
the end. <3
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679514
obviously this is fairly broken as now applets can't provide right click menus for anything. i have some thoughts on how to fix this but need to consider it more.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678566
* create button applets not icon widgets on drop
honestly, not sure i like the qstringlist of argument approach, but that's what klibloader gives me
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677941
Implemented the concept for icons from David Vignoni (screencast coming...).
Context menu now shows "Plasma".
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676455
TODO:
* use all the Phase transitions properly; this implies reworking the remove applet mechanism completely
* consider sharing Phase amongst all Coronas? should it be a singleton?
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673395