+remove tooltip that will be replaced by the tooltip manager
+port some used stuff in applet class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796924
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
(He didn't have time to make it yesterday and will able to commit it next thursday)
This patch clean up some :
target_link_libraries(kfoo kdeinit_kfoo) which is already done in kde4_add_kdeinit_executable()
macro and use "INSTALL_TARGETS_DEFAULT_ARGS" in other place.
I tested all compile file, all works fine but if there is a pb send me a mail.
CCMAIL: neundorf@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=795711
it will draw all the listviews used in Plasma that acts like a menu, like Kickoff or Devicenotifier.
at the moment only devicenotifier uses that, (so now it looks like kickoff) a port of the kickoff delegate is planned.
if you want to draw additional data you must
can subclass it
call paint of the father and then use onr of the function the functions rectAfterTitle, rectAfterSubTitle and emptyRect to get the blank space
paint in the rect obtained with the above functions
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786973
* create a subdir for our scripting classes
* break ScriptEngine into two: a base class and AppletScript
* add stub classes for RunnerScript and DataEngineScript
* provide generic loading methods for all three
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765971
Applets wishing to use this tooltip should Create a Plasma::ToolTipData struct
(defined in widget.h) and pass it to Widget::setToolTip(). Showing and hiding
the tooltip is all handled automatically.
While the basic idea is found in this patch, the look still definatly needs some
work. Still a definate work in progress.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=751113
applets to show additional information, using QWidgets and the like.
It's factored out from devicenotifier, thanks to Alexis Menard.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745298
* 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