Commit Graph

304 Commits

Author SHA1 Message Date
Marco Martin
76d6071e46 svg themed scrollbars:
scrollbar widget in libplasma
private qstyle that draws scrollbars with svg
folderview uses the scrollbar widget
textview scrollbars themed
 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846473
2008-08-13 14:47:27 +00:00
Petri Damstén
0183db7d30 Base for Plasma::Wallpaper plugins.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842590
2008-08-05 15:27:48 +00:00
Marco Martin
fba82f41bc build the tabbar and install the header, so not it can be actually used
:)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842109
2008-08-04 18:16:13 +00:00
Aaron J. Seigo
b123a8e8b1 integrate TabBar into the build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841797
2008-08-04 05:30:32 +00:00
Aaron J. Seigo
5bc2abcb3e BIC changes happening (e.g. extenders modification to Applet), so bump the major number once again (but for the last time in a long, long while. how momentous feeling)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841627
2008-08-03 17:44:13 +00:00
Aaron J. Seigo
577a64f563 extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00
Marco Martin
0337120602 new widget Plasma::Frame:
Can act as a qframe like or as a groupbox (with label) supports
also arbitrary pixmap/svg backgrounds
stylesheet support is still todo and the graphics for the raised version
is still temporary

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840986
2008-08-02 12:01:34 +00:00
Rob Scheepmaker
a6293d363f Extenders enter trunk! The implementation still has some rough edges and fixmes, but the api
is in quite nice shape and basides a couple of bugs, it basically works. So what are you 
still doing reading this? Port your favourite applet to extenders today! ;)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840978
2008-08-02 11:48:56 +00:00
Aaron J. Seigo
c6f99bd6d4 did not make it for 4.1, no suggestion of movement on it for 4.2. can be re-added if there is demand.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839794
2008-07-30 20:37:38 +00:00
Aaron J. Seigo
63bce9d1b4 move all the prive code into private/; makes it much clearer with the division lines are
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Aaron J. Seigo
f0c70f7c41 cut some fat; we don't actually use the shadow item, and haven't since before 4.0
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839264
2008-07-29 16:52:44 +00:00
Alex Merry
11951249b0 Add a new Plasma::Slider widget based on QSlider.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838893
2008-07-29 00:31:28 +00:00
Alexander Neundorf
f925d33c9b -also disable _KDE4_TARGET_LINK_INTERFACE_LIBRARIES() and use the renamed LINK_INTERFACE_LIBRARIES target property
instead: 
set_target_properties(foo PROPERTIES 
                          ${KDE4_DISABLE_PROPERTY_}LINK_INTERFACE_LIBRARIES  "kdeui;kdecore" 
                     )

While this doesn't look very nice, it is completely forward and backward compatible (i.e. cmake 2.4 doesn't complain,
cmake 2.6 works, both versions work as soon as the reduced link interface is the default (soon), if somebody 
uses this with kdelibs which don't have that anymore he will get the reduced interface instead of errors, so all 
should be ok)

Alex

CCMAIL: mueller@kde.org




svn path=/trunk/KDE/kdelibs/; revision=836131
2008-07-21 19:19:06 +00:00
Alexander Neundorf
daafe8f8a0 -adapt kdebase to the renaming of kde4_target_link_interface_libraries() to _kde4_target_link_interface_libraries()
Alex

CCMAIL: mueller@kde.org



svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=835652
2008-07-20 22:03:14 +00:00
Dirk Mueller
754b000b42 also implement the plugin version checks for the other plugin types
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833940
2008-07-17 16:26:29 +00:00
Aaron J. Seigo
d6e7628cb6 move PlasmaAppletDialog into libplasma as PopupApplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833658
2008-07-17 09:30:57 +00:00
Alexis Ménard
0628f7dcb3 New ToolTip manager that create tool tips easier than before
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833272
2008-07-16 15:17:44 +00:00
Aaron J. Seigo
eb1beec1dd version files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832542
2008-07-14 22:25:21 +00:00
Aaron J. Seigo
922c85c705 it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
therefore, introducing Plasma::PaintUtils.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00
Andrew Lake
4675e518b5 Plasma::ImageEffects namespace. Add shadowBlur and shadowText functions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827065
2008-07-02 08:02:27 +00:00
Dirk Mueller
1fc493c0c7 more link line fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826274
2008-06-30 09:40:15 +00:00
Laurent Montel
135d5c8ac6 Add missing camelcase includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826239
2008-06-30 07:24:50 +00:00
Laurent Montel
17d7e040ff Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825016
2008-06-27 06:45:00 +00:00
Aaron J. Seigo
67a38e23e8 not much point in having tests if they aren't build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821607
2008-06-17 23:21:39 +00:00
Davide Bettio
3a9f199bb7 Added missing header (Plasma/Flash).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821471
2008-06-17 15:02:33 +00:00
Davide Bettio
e305b698b4 Added missing header (Plasma/Icon).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821246
2008-06-16 22:31:44 +00:00
Aaron J. Seigo
d5b4ede232 connect to the plasmoid feed
BUG:160494

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821062
2008-06-16 09:04:14 +00:00
Laurent Montel
ab395dfbbc Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818716
2008-06-09 11:33:54 +00:00
Aaron J. Seigo
05d6ec6401 remove the args Applet injects to hide that impl detail from subclasses
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812568
2008-05-25 18:38:07 +00:00
Aaron J. Seigo
03552da98a put includes out of Widgets, so you can just do Plasma/Label, e.g.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810063
2008-05-19 23:22:02 +00:00
Chani Armitage
f6d290849f add groupbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809979
2008-05-19 20:18:46 +00:00
Chani Armitage
50889239d6 add combobox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809932
2008-05-19 19:10:58 +00:00
Chani Armitage
ec2bcd9010 add textedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809903
2008-05-19 18:17:12 +00:00
Chani Armitage
ec8c013149 add checkbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809581
2008-05-19 06:12:48 +00:00
Aaron J. Seigo
43e837c8c7 * add RadioButton
* install PushButton headers

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809577
2008-05-19 05:56:42 +00:00
Chani Armitage
0906a09ae9 return of the son of pushbutton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809575
2008-05-19 05:44:32 +00:00
Aaron J. Seigo
9d619d61c6 add some widgets. it works! no more explicit proxy widget usage, and a nice simplified api that makes the baby jesus happy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809503
2008-05-19 01:24:12 +00:00
Aaron J. Seigo
cce4c58318 * add Service to the build
* pop the library rev number up since the changes are so drastic since 4.0.x

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809022
2008-05-18 04:28:58 +00:00
Aaron J. Seigo
819971ac3e camel case include for RunnerManager
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806083
2008-05-09 23:13:41 +00:00
Andre Duffeck
4e793192de port Plasma::Flash
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805377
2008-05-08 11:45:49 +00:00
Aaron J. Seigo
a7fd1ce868 clean this up a bit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=804345
2008-05-05 18:37:18 +00:00
Aaron J. Seigo
f3188fb672 SearchMatch -> QueryMatch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803385
2008-05-02 18:46:05 +00:00
Aaron J. Seigo
f55bbb73f9 SearchContext -> RunnerContext
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803041
2008-05-01 18:40:10 +00:00
Jordi Polo
95157e20c4 Big patch with several internal changes to krunner:
-New RunnerManager class, it manages runners at high level 
and gives a simple API for interfaces to use. 
- AbstractRunners gains description, setIgnoredTypes, ignoredTypes methods. 
Now runners can specify what SearchContext::Types they are not going to process.
- SearchContext tries shared data between the original context and any local context.
It doesn't have its own completer no more.
- SearchMatch has a new type of match, CompleterMatch. Instead of using a hard coded 
completer in SearchContext
- Interface class on krunner has its own completer and other changes
done to accomodate the above changes in libplasma.
-A new configuration option blacklist for runnermanager and krunner 
instead of the whitelist of krunner. 


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802903
2008-05-01 07:51:59 +00:00
Aaron J. Seigo
72db181c7c Phase -> Animator
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800875
2008-04-25 03:23:31 +00:00
Aaron J. Seigo
202e01e44d move animator.[c|cpp] -> animationdriver.[h|cpp]
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800872
2008-04-25 03:17:00 +00:00
Petri Damstén
77e66bc8fb Convert Meter and SignalPlotter to QGraphicsWidget based widgets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799477
2008-04-21 16:26:18 +00:00
Marco Martin
d07a60c581 Rename SvnPanel into PanelSvg and update accordingly who is using that,
as discussed in api reviews

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797663
2008-04-16 17:23:58 +00:00
Aaron J. Seigo
b8e3eed0dc move the timer experiment out for 4.1 at least
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797015
2008-04-14 18:11:51 +00:00
Alexis Ménard
d5dd4e16ac Ammmaaziiing grace!!
Widget class is dead..

still in the repo for tooltip code

CCMAIL : aseigo@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796973
2008-04-14 16:02:23 +00:00
Alexis Ménard
1b7a9a14e0 +bye bye paintwidget method
+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
2008-04-14 14:50:02 +00:00
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