Commit Graph

253 Commits

Author SHA1 Message Date
Marco Martin
e9e16e2a89 Desktop toolbox should appear in less funny positions
AND                                                                                               
beginning of a panel toolbox 
actually untested with the woc port for now

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796873
2008-04-14 13:05:49 +00:00
Laurent Montel
6a60fbf0fa Install widget.h
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796800
2008-04-14 10:42:06 +00:00
Laurent Montel
70ef9a6dcf Not install it if we don't compile .cpp file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796723
2008-04-14 07:45:51 +00:00
Laurent Montel
ad0d8ac10c Add missing camelcase includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796719
2008-04-14 07:35:36 +00:00
Alexis Ménard
1ac668a250 new cmakefile after removing layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796601
2008-04-13 20:58:49 +00:00
Allen Winter
ad159743b2 layouts/nodelayout is gone
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796569
2008-04-13 19:39:03 +00:00
Alexis Ménard
4467261c95 Merge woc branch to trunk, say good bye to old plasma, there is a lot of stuff to port
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
2008-04-13 13:23:39 +00:00
Laurent Montel
24a3d14e68 Commit patch from Alex
(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
2008-04-11 06:52:03 +00:00
Aaron J. Seigo
4c75796090 add Plasma::WebContent to the build.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=793425
2008-04-03 23:36:56 +00:00
Christian Ehrlicher
df41a3b228 LIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792578
2008-04-01 16:22:47 +00:00
Aaron J. Seigo
a9b7d3361d one way of doing a shared timer with just one timerId at any given moment in a single timerEvent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=792012
2008-03-30 22:42:53 +00:00
Pino Toscano
3d378e8b11 install the ScriptEngine CamelCase include in a symmetrical place wrt the non-camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790485
2008-03-26 19:28:31 +00:00
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
Aaron J. Seigo
f0cb7e662c - add Contaiment to the build
- 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
2007-09-18 21:25:15 +00:00
Laurent Montel
a49edd72f0 Add includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=713136
2007-09-16 13:14:40 +00:00
Ivan Čukić
63164d2cc0 BorderLayout initial import
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=713071
2007-09-16 09:08:08 +00:00
Dirk Mueller
f5d2cac4e7 try installing the header file instead of the .cpp to fix dashboard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712775
2007-09-15 08:15:07 +00:00
Jon de Andres Frias
e726cd04c6 Added to the Plasma widgets library the ProgressBar class. It's included a small program test for the progressbar.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712543
2007-09-14 18:19:42 +00:00
Robert Knight
465b1d0072 Build the FreeLayout class and install its header.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=711889
2007-09-13 04:38:30 +00:00
Richard J. Moore
fad4e891b9 - Build the uiloader class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=710413
2007-09-09 21:40:24 +00:00
Robert Knight
a29ae57a7d This breaks the existing Plasma applet API, see the contentSize()
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
2007-09-01 12:34:22 +00:00
Robert Knight
2475cfed09 Add LayoutAnimator class. This provides a way to animate changes in layouts. eg. Fading in new items, fading out removed items, moving and resizing items smoothly as the layout changes. The layouts themselves need some small changes to make use of this class, and the client code must create the animator, attach it to the layout and choose the animation effects to use.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=700844
2007-08-16 15:56:00 +00:00
Percy Leonhardt
9268590942 Added a signalplotter to plasma.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=699576
2007-08-13 15:15:19 +00:00
Pino Toscano
507566d71e actually install the header, not the cpp ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=697348
2007-08-07 14:44:03 +00:00
Matt Broadstone
26569e231c Add layout test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696814
2007-08-05 23:05:57 +00:00
Aaron J. Seigo
21c804908e * add an updateConstraints to be used to do things globally that need to
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
2007-08-05 08:41:55 +00:00
Aaron J. Seigo
f7abb4b135 * call prepareGeometryChange when the darw default background setting changes
* 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
2007-07-30 16:00:29 +00:00
Aaron J. Seigo
b9b651bf7e if you're going to fix duplicates, take out the one that is out of alphabetical order. preventing dupes when hand editting is why i put things in alpha order in the first place.
also, remove a duplicate in the installed headers.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693937
2007-07-29 15:20:02 +00:00
Laurent Montel
0e16a6b846 Add missing include file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693883
2007-07-29 11:35:29 +00:00
Laurent Montel
30afe352d1 Fix duplicate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693867
2007-07-29 10:28:56 +00:00
Alexis Ménard
c5b02c7a1b Fix missing compilation and install of widget label
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693642
2007-07-28 15:22:44 +00:00
Aaron J. Seigo
6d0616c2ff * add label
* don't add rectangle, but comment it out so people know it wasn't simply "missed"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693532
2007-07-28 09:21:47 +00:00
Aaron J. Seigo
28b20a150a * add hbox to build
* make hbox share the boxlayout superclass with vbox
* profit

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692756
2007-07-26 07:23:30 +00:00
Aaron J. Seigo
f82a4cfb55 separate out the stuff the hbox will need from vbox and put it into box.
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
2007-07-25 22:20:15 +00:00
Aaron J. Seigo
538b5fc7de i suppose installing all the headers might be considered a nice feature.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692085
2007-07-25 00:52:15 +00:00
Aaron J. Seigo
0bc4d740f9 will this make dashboard happy? tune in next compile! same bat-compiler, same bat-cpu.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692078
2007-07-25 00:25:17 +00:00
Aaron J. Seigo
508d373bbe move the glapplet into libplasma since it's actually getting used and i hate having to fix this file in N places
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692023
2007-07-24 21:50:37 +00:00
Aaron J. Seigo
a475abdc09 * update build to include ScriptEngine stuff
* plasma_*.desktop to plasma-*.desktop for the servicetypes
* add a servicetype for Plasma/ScriptEngine

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691245
2007-07-23 07:43:32 +00:00
Aaron J. Seigo
26b3b62ed7 DataSource -> DataContainer, so it's more obvious that it isn't the -source- of the data.
the api remains the same however.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691134
2007-07-23 00:22:16 +00:00
Andre Duffeck
b58baaef6b Import Flash widget.
It allows to show text or an image in order to notify the user about some change.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690844
2007-07-22 11:02:34 +00:00
Aaron J. Seigo
98e4e20fe2 * add createPackage to Package
* remove Packager since it has no point in life anymore

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690116
2007-07-20 04:23:27 +00:00
Aaron J. Seigo
2c533e50cd move the package structures to libplasma so Applet can use them (and probably Theme in the future as well). don't install the header or export the class though as they aren't meant (at this time anyways?) to be used externally
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690100
2007-07-20 03:16:40 +00:00
Aaron J. Seigo
be39ca07b1 add missing convenience headers (should we have these for the widgets too?)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690088
2007-07-20 02:09:51 +00:00
Aaron J. Seigo
469f8a3402 * add configxml to the build.
* move the headers section down to the install area

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689450
2007-07-18 09:34:18 +00:00
Leo Franchi
9f555db9a1 was not supposed to commit this file...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689198
2007-07-17 21:27:05 +00:00
Leo Franchi
f4ca9c1aca add mimetype flexibility, by storing it in a variable with getters/setters, as discussed with asiego on panel-devel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689194
2007-07-17 21:13:41 +00:00
Aaron J. Seigo
acbfadae12 move the desktop context menu out of corona. this reflects the design better where different views may want different menus; the dekstop menu only being appropriate for, well, the desktop; other apps may be using Corona for which "desktop" is completely irrelevant.
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
2007-07-17 17:55:05 +00:00
Aaron J. Seigo
5151879373 add run command to the desktop context menu
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689104
2007-07-17 16:55:27 +00:00
Allen Winter
63bae4267e remove kde4_automoc()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=685984
2007-07-10 09:14:12 +00:00
Dirk Mueller
e285025ba5 empty
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=680089
2007-06-25 11:59:43 +00:00
Aaron J. Seigo
4fcf10e6bc add a CamelCase include for Phase
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678209
2007-06-20 21:46:22 +00:00
Aaron J. Seigo
eb5522104a add the non-gui packaging files to libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676505
2007-06-17 00:25:16 +00:00
Tim Beaulen
5a3e39e685 Make workspace build. The plasma headerfiles could not be found.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676197
2007-06-16 09:10:59 +00:00
Aaron J. Seigo
b412c393d6 we're getting quite the collection of plugins, with more to come (e.g. the background renderer); move the desktop files servicetypes/
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672774
2007-06-08 05:30:31 +00:00
Aaron J. Seigo
301b06a926 animator servicetype
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672773
2007-06-08 05:28:22 +00:00
Aaron J. Seigo
2894a3403b initial 284LOC sketch of phase/animator. this includes the "null" animator base class, the phase manager and plugin loader.
tomorrow: an animator!

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672771
2007-06-08 05:24:19 +00:00
Aaron J. Seigo
bbaebc6b1b move workspace/plasma/lib to workspace/lib/plasma so that we can do:
#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
2007-06-02 17:29:39 +00:00
Alexander Wiedenbruch
0de27801c9 Add KarambaManager for easier loading of SuperKaramba themes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670527
2007-06-01 21:32:03 +00:00
Aaron J. Seigo
2c5f8a75bf move Corona to libplasma where others can enjoy it and where we can use it from Applet
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670279
2007-05-31 22:27:33 +00:00
Matt Williams
d0bf0c8c09 Install the plasma_export header
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669833
2007-05-30 14:34:12 +00:00
Aaron J. Seigo
77307ba1dd icon buttons generally work now. huzzah. you can theme them with iconbutton.svg with the following elements, all of which are optional:
- 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
2007-05-29 20:37:21 +00:00
Aaron J. Seigo
3f2e92b6ae add the start of an icon button. the stupid number of svg's needs to be wrapped into two with svg elements for them, geometry isn't managed right (e.g. we ignore text width) etc.. but the basics exist. should be usable by hacking's end tomorrow, and then we can play with using them to pop menus and expanders. i'll get to Phase yet ;)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669394
2007-05-29 07:59:50 +00:00
Aaron J. Seigo
ae5c3a8c8c take Interface out of the build
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668669
2007-05-27 07:59:56 +00:00
Aaron J. Seigo
8288d58356 DataVisualization remained anemic: it was only offering a single SLOT, and it was pure virtual at that. to keep the inheritance tree sane, it has been removed.
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
2007-05-25 02:27:33 +00:00
Aaron J. Seigo
1f797b162f * applet loading
* make the library names appear in descending order of specificity (plasma_kind_instance)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668019
2007-05-24 20:01:12 +00:00
Aaron J. Seigo
19169e84ea * move DataEngineManager into libplasma and the Plasma namespace
* add CamelCaseIncludes for DataSource and DataEngineManager

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667603
2007-05-23 07:51:28 +00:00
Matias Valdenegro Toro
90cf45ff02 Add the files to the build system.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667385
2007-05-22 17:07:00 +00:00
Aaron J. Seigo
97c22c59d2 add a CamelCaseHeader for DataVisualization
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667149
2007-05-21 23:44:15 +00:00
Aaron J. Seigo
8e7ccadd75 pino showed me the wonders of set_target_properties. rock on!
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666770
2007-05-20 21:05:27 +00:00
Aaron J. Seigo
08707215dd apparently we can't have a binary and a library with the same name. so now it's libplasmoid and the binary is plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666763
2007-05-20 20:54:48 +00:00
Aaron J. Seigo
b8cc485705 * split DataSource into its own files
* 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
2007-05-20 20:36:59 +00:00
Aaron J. Seigo
520553079a PLASMA_EXPORT
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666752
2007-05-20 20:13:46 +00:00
Rafael Fernández López
749b581946 No more forgotten things. Style fixing
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666425
2007-05-19 21:00:16 +00:00
Rafael Fernández López
3294b91379 New widget: radio button
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666420
2007-05-19 20:49:16 +00:00
Aaron J. Seigo
4c4b013b89 * implement the engine, source and visualization classes
* 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
2007-05-19 08:38:46 +00:00
Laurent Montel
2dfd1290be More coherent: install all include name defined by class name
to INSTALL_INCLUDE_DIR/KDE/

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=664144
2007-05-13 08:31:09 +00:00
Siraj Razick
9192c9c7bc SVN_SILENT:make datavisualization install
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=653740
2007-04-14 04:02:09 +00:00
Pino Toscano
c3d0436084 less qt3_support
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650622
2007-04-04 23:26:24 +00:00
Pino Toscano
3b0846e6f6 move the QT3_SUPPORT definition only where it's needed
svn path=/trunk/KDE/kdebase/runtime/kcontrol/crypto/; revision=650430
2007-04-04 14:47:36 +00:00
Aaron J. Seigo
27f5c75d76 * Runner -> AbstractRunner, to denote that it is an ABC
* 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
2007-03-20 17:37:44 +00:00
Aaron J. Seigo
f66f973917 install the svg.h header so people can use it
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644234
2007-03-19 15:54:54 +00:00
Siraj Razick
08366a02c8 Make plasma checkbox compile
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641742
2007-03-12 13:52:12 +00:00
Aaron J. Seigo
5cfabdc869 Plasma::Svg debuts. it is an image centric wrapper around QSvgRenderer that takes care of things such as:
* 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
2007-03-07 23:27:37 +00:00
Siraj Razick
f084f1d722 SVN_SILENT:Fix Cmake to have PushButton
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639394
2007-03-05 04:16:05 +00:00
Alexander Wiedenbruch
c360489500 New LineEdit based on QGraphicsTextItem
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639321
2007-03-04 20:35:37 +00:00
Alexander Wiedenbruch
1cdd84cc85 Remove LineEdit due to licensing issues
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638673
2007-03-02 21:23:14 +00:00
Alexander Wiedenbruch
239e2afb87 Bring DataVisualization and widget together
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638571
2007-03-02 14:34:41 +00:00
Alexander Wiedenbruch
585852a0de Move the InputBox from SuperKaramba to Plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638393
2007-03-01 19:58:19 +00:00
Matt Broadstone
b49680140c Get things actually building here
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638147
2007-02-28 23:35:26 +00:00
Aaron J. Seigo
23bcf68924 move the runner class to libplasma, a better place for it really
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=637864
2007-02-28 00:41:09 +00:00
Aaron J. Seigo
ecee37b67c --appletChain.. did this on the wrong system, am committing so i can
test on the dev box

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=637812
2007-02-27 21:53:12 +00:00
Aaron J. Seigo
3de9c853b7 get this to compile at least so i can start to exercise it with krunner
and other such bits. no point on having this just sit on my disk i
suppose =)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=614239
2006-12-16 23:04:44 +00:00
Laurent Montel
337f506370 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=598290
2006-10-23 06:53:27 +00:00
Laurent Montel
11ce1795b3 Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=595039
2006-10-13 07:55:37 +00:00
Laurent Montel
f2b16f1dbc Remove not necessary files
Clean up

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=578374
2006-08-29 06:45:01 +00:00
Allen Winter
14f5a346a8 use library variables, where possible.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=565833
2006-07-24 16:02:07 +00:00
Dirk Mueller
ab1fc75871 merge bleeding edge. bleeding edge is now again dead
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=558082
2006-07-04 17:09:53 +00:00
Alexander Neundorf
8979e71d50 kde4_header and kde4_footer() are gone now
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=540215
2006-05-12 18:12:37 +00:00
Alexander Neundorf
b0c9b960d3 -add FONTCONFIG_INCLUDE_DIR where required
-cleanup the toplevel CMakeLists.txt a bit
-remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR)
in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option
-include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it
doesn't have to be done in every subdir

Alex


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=539914
2006-05-12 00:08:30 +00:00
Alexander Neundorf
842830bc29 -use KDE4_INCLUDES instead of KDE4_INCLUDE_DIR and QT_INCLUDES
Alex

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=522728
2006-03-26 14:52:52 +00:00
Laurent Montel
388d6752bf Fix use cmake variable
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=522125
2006-03-24 14:54:37 +00:00