Commit Graph

141 Commits

Author SHA1 Message Date
Marco Martin
750094f6bf Add a new Plasma class: Plasma::Delegate
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
2008-03-18 11:09:39 +00:00
Aaron J. Seigo
dbcdee64f5 don't install these headers twice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785671
2008-03-14 17:00:23 +00:00
Sebastian Sauer
1420d4ba60 Enables ScriptEngine's like Apple's Dashboard Widgets or SuperKaramba's to implement containments too. Right, that means you are now able to write your own Panel or even Desktop using a scripting language :)
FEATURE

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782729
2008-03-05 21:12:33 +00:00
Dan Meltzer
7f624f85d9 Revert one large git mess
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
a081559257 Commit initial progress of work to port to qt4.4
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
331d163253 add the ability to install packages from files. needs a UI review by another pair of usability sensitive hands. there are still issues, such as lack of double click interactions and feeble feedback on error and success. but it works, now we can pollish.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780460
2008-02-29 08:10:14 +00:00
Aaron J. Seigo
9b0fcfe714 add a service type for PackageStructure
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779414
2008-02-26 04:04:57 +00:00
Laurent Montel
69a2c09baf Add missing camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774849
2008-02-14 08:23:13 +00:00
Aaron J. Seigo
041128e63f install svgpanel header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774802
2008-02-14 01:35:50 +00:00
Aaron J. Seigo
070781d480 build svpanel into the lib, make applet use it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771693
2008-02-06 18:50:25 +00:00
Benjamin Reed
e2369b2e68 allow building libplasma by itself
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=766358
2008-01-25 17:10:58 +00:00
Aaron J. Seigo
0e0d1122ca BINARY INCOMPATIBLE CHANGE
* 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
2008-01-25 00:04:03 +00:00
Aaron J. Seigo
96e998763b use winter's awesome trick to set the default debug area
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758467
2008-01-07 23:33:55 +00:00
Laurent Montel
75f6e84d59 install all header from includes
Add missing camelcase includes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=755865
2008-01-02 08:46:47 +00:00
Aleix Pol Gonzalez
a57e472c8d Reverted invalid change.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753442
2007-12-27 13:22:09 +00:00
Aleix Pol Gonzalez
dd4651d086 Get the biggest item size for recalculating scrollbar size.
This patch was made by ereslibre, I'm commiting it because he is kind of offline.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753426
2007-12-27 12:57:04 +00:00
Dan Meltzer
357656f660 Add a generic tooltip widget to Plasma::Widget and implement it in the tasks applet.
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
2007-12-21 05:33:17 +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
Allen Winter
8fcf61c9b6 no need to look for OpenGL here as it is looked for in the workspace/CMakeLists.txt
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=748050
2007-12-13 13:45:30 +00:00
Ivan Čukić
12a2f50922 FlipLayout committed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=747176
2007-12-11 09:06:21 +00:00
Sebastian Kügler
d2514a373b Plasma::Dialog, a widget-dialog thing that can be used by plasma
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
2007-12-05 22:32:45 +00:00
Aaron J. Seigo
cfd3bfac48 * SearchAction becomes SearchMatch; fall out of the refactoring
* add camel case headers for those classes now that they've settled in

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=744452
2007-12-03 17:18:28 +00:00
Alexis Ménard
ca5e5448ab Fix another include file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738913
2007-11-19 23:24:12 +00:00
Alexis Ménard
06931dca66 Fix changing include and missing install files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738908
2007-11-19 23:11:40 +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
8d29e6f5e8 move the toolbox into libplasma as a private class to allow all containments to access it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738501
2007-11-19 01:19:12 +00:00
Benjamin Reed
d239ceb342 need opengl include directory
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737561
2007-11-16 14:42:04 +00:00
Aaron J. Seigo
030ca6d6d2 a common view class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736997
2007-11-15 08:22:58 +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
Anne-Marie Mahfouf
bb79a14a09 another patch from Terwou: if OpenGl is not installed, fix build (previous patch by myself was incomplete) - Thanks a lot!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734922
2007-11-10 14:00:53 +00:00
Anne-Marie Mahfouf
91aec876c1 fix build issue when OpenGL is not present on the user system
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733932
2007-11-07 16:08:11 +00:00
Aaron J. Seigo
0a6f2af7f3 * move SearchAction and SearchContext to their own files
* term -> searchTerm
* add a completion object to SearchContext

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731848
2007-11-02 02:34:46 +00:00
Aaron J. Seigo
b1104ebe9d unit test for PackageStructure (and, as a side effect, much of the Plasmoid package definition as well)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727890
2007-10-22 01:30:29 +00:00
Ivan Čukić
04f5730e1e NodeLayout:
* 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
2007-10-13 13:29:21 +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
Laurent Montel
8528f29be4 Install AppletBrowser
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723986
2007-10-11 07:16:34 +00:00
Aaron J. Seigo
ff935b47f5 * KRunner/Runner -> Plasma/Runner as it is actually hosted by libplasma
* 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
2007-10-09 03:20:02 +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
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +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
7ec22e70a1 - make AppletBrowserWindow a KDialog not a QDialog
- 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
2007-09-27 19:39:28 +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
Petri Damstén
a0bc4c53a0 Add Plasma::Meter
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=716911
2007-09-25 15:35:37 +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
Laurent Montel
bc34252071 Update includes directory
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=714313
2007-09-19 07:21:58 +00:00