* initial implementation of sizeHint()
* support for automatic sizing (on one or two dimensions)
* simplified node definition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724794
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
* move the service description .desktop file into libs/plasma/servicetypes with the rest of them
* add a X-Plasma-RunnerPhase property so we can try and order these puppies
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723217
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
- use standard buttons
- get rid of the completely superfluous ui file for the dialog
- add a dptr, move to Plasma namespace (why will become apparent shortly)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717956
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
- 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
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
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
* add in a completely untested-but-should-work ;) implementation of config ui loading; requires a package with config/ui/main.ui and config/xml/main.xml in it. should shave 7LOC off of the clock's Script.js, which is ~10% of the code line count!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694399
sprinkle "layout" and some capital letters throughout the above if the above sounds random to you ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692578
* plasma_*.desktop to plasma-*.desktop for the servicetypes
* add a servicetype for Plasma/ScriptEngine
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691245
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
#include <plasma/foo.h>
in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.
also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
- background
- background-hover
- background-pressed
- foreground
- foregound-hover
- foreground-pressed
what each does is left as an exercise for the reader ;)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669620
Widget remains problematic as it uses QGraphicsItem API, but it needs to be subclassed by items that are already QGraphicsItems. ugh.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668083
* make the library names appear in descending order of specificity (plasma_kind_instance)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668019
* move DataSource::Data to DataEngine::Data; this means consumers of DataEngine have no need to know about DataSource as a class
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666756
* queue updates so that multiple calls to setData don't result in a storm of updated signals
* some API cleanups, e.g. connect -> connectSource
* provide and install a ServiceType .desktop; this adds the X-EngineName QString symbol. maybe that's too generic.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666241
* fancy includes so third party stuff can do #include <Plasma/Svg> instead of #include "plasma/svg.h", etc
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644677
* caching rendered pixmaps
* looking up the images from the Plasma::Theme
* scheduling needed updates, e.g. when the plasma theme changes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640418