Commit Graph

3426 Commits

Author SHA1 Message Date
Aaron J. Seigo
2c251118fd * new background drawing code; 9 segments + center, documented at http://techbase.kde.org/Projects/Plasma/Theme#Current_Theme_Elements
* introduce contentsRect() and pass that into paintInterface instead of a widget

i missed monday so much i wanted to break SOMETHING, so i broke all the plasma widgets. i rock! ;P

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692002
2007-07-24 21:04:31 +00:00
Aaron J. Seigo
8970a02211 catch when paintInterface is mis-implemented, draw -something- and spit out a warning on the console
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691980
2007-07-24 19:27:58 +00:00
Alex Merry
b57f029283 SVN_SILENT:
fix links


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691961
2007-07-24 18:34:37 +00:00
Alex Merry
aad2d63975 Apidocs mainpage work. Just got Plasma and Solid to do here.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691959
2007-07-24 18:30:36 +00:00
Andre Duffeck
08c57e9eaf Tweak API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691502
2007-07-23 20:01:20 +00:00
Andre Duffeck
6a4841b19a Allow persistant flashs that disappear only when they are killed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691487
2007-07-23 18:50:42 +00:00
Alex Merry
4d8628230f Don't crash if we can't load an applet.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691410
2007-07-23 15:59:10 +00:00
Matias Valdenegro Toro
ac70498132 Put a small border around text.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691274
2007-07-23 09:32:54 +00:00
Matias Valdenegro Toro
efa6b9d8b3 setGeometry(geometry()); is a no-op, so remove it.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691273
2007-07-23 09:29:18 +00:00
Aaron J. Seigo
cac7c24c0f more script engine work after some late night (for me anyways) discussion with richard.. getting closer =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691269
2007-07-23 09:21:45 +00:00
Aaron J. Seigo
5c6193d497 crashing sucks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691266
2007-07-23 09:04:29 +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
39422a9a6b first draft of the ScriptEngine plugin
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691244
2007-07-23 07:42:29 +00:00
Aaron J. Seigo
6b9842aa5e const correctness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691240
2007-07-23 07:26:28 +00:00
Aaron J. Seigo
b8a9f72008 add an icon() accessor
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691201
2007-07-23 06:12:38 +00:00
Aaron J. Seigo
201afe2033 * debug output when an absolute path is provided and the file doesn't exist
* provide an isValid() method

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691142
2007-07-23 00:50:10 +00:00
Aaron J. Seigo
0491b8b112 immutable -> isImmutable.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691135
2007-07-23 00:24:36 +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
Juan González Aguilera
45f1406a2b Extend QObject so a QDbusAdaptor can be built for it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691122
2007-07-22 23:20:50 +00:00
Matthias Kretz
1fd776be2e port to value based KPluginInfo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691115
2007-07-22 23:10:53 +00:00
Matias Valdenegro Toro
bef5a33ed5 - Full Doxygenization
- Ported PushButton to Plasma::Widget API
- Two new classes, Rectangle and Label.
- All Widgets should now inherit from Plasma::Widget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691090
2007-07-22 22:16:40 +00:00
Aaron J. Seigo
dd7b8b306b ebn fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691079
2007-07-22 22:01:10 +00:00
Laurent Montel
cf70eb1f86 Allow to select text into lineedit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691055
2007-07-22 20:46:23 +00:00
Aaron J. Seigo
0314b60615 SVN_SILENT: --tabs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691039
2007-07-22 20:00:13 +00:00
Aaron J. Seigo
09d1546b2c let's do something a bit more sensible for the default sizeHint(). it's still likely to return 0,0 but it gives us a chance at least at something non-zero
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691036
2007-07-22 19:59:13 +00:00
Richard J. Moore
1822d55bbb Make the paint methods invokable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690995
2007-07-22 17:41:47 +00:00
Andre Duffeck
e7fa9f4480 Align text centered by default.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690976
2007-07-22 16:36:36 +00:00
Laurent Montel
c40241f72e Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690966
2007-07-22 15:54:56 +00:00
Laurent Montel
3e1f6c75c1 Allow to use it as multiline (need by notes plasma)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690899
2007-07-22 13:41:34 +00:00
Andre Duffeck
17b3de682f Allow to define the position of the text/pixmap.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690864
2007-07-22 12:01:01 +00:00
Andre Duffeck
4798c5e3a8 Center flashed pixmap.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690856
2007-07-22 11:37:21 +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
Laurent Montel
95ebda9f32 Fix compile enable final
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690626
2007-07-21 15:58:44 +00:00
Andre Duffeck
6c25a3b98e fix boundingRect.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690596
2007-07-21 14:04:37 +00:00
Aaron J. Seigo
fc0938d3bb * don't show the test action on every icon; we know it works ;)
* set the rects on the other actions properly
* shift the rects around when the icon resizes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690431
2007-07-21 04:19:00 +00:00
Aaron J. Seigo
01ab982d54 * coding style guides are not a cute suggestion but a promise to be fulfilled.
* take QAction*s, which belong to whatever throws them at us
* don't polute the public API with unecessary classes
* avoid subclassing Private classes

i'm still not overly happy with this class as it stands right now.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690430
2007-07-21 04:07:41 +00:00
Urs Wolfer
001cce34dc compile fix
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690407
2007-07-20 22:54:56 +00:00
Matt Broadstone
55be0c7a1c icons draw text now, moved corner items to qaction based objects, and support 4 corners. still a bit messy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690398
2007-07-20 22:30:33 +00:00
Richard J. Moore
23c1f996d2 First steps towards scriptability
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690375
2007-07-20 21:00:11 +00:00
Aaron J. Seigo
51a0162fae started on docu fixes from ebn until i realized that the line numbers are all messed up in the apidox tests and so moved on
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690174
2007-07-20 08:12:20 +00:00
Aaron J. Seigo
af043ca588 too tired to do much of anything else, i figured i could fix some ebn issues
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690173
2007-07-20 08:06:27 +00:00
Aaron J. Seigo
d692c9f3d5 boundingRect should be public, not protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690166
2007-07-20 07:42:02 +00:00
Matt Broadstone
6ea5d0771b Icon now draws text, also lots of api love
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690149
2007-07-20 06:28:51 +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
0f2acacbe7 * const correctness fixes
* allow setting/getting a service type

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690113
2007-07-20 04:14:13 +00:00
Aaron J. Seigo
43a98e8fc1 automatically register packages with sycoca
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690112
2007-07-20 04:07:00 +00:00
Aaron J. Seigo
8c8504964e * disable copying of Applet due to dptr-but-no-copy-ctor
* provide an accessor to the Package object.
* some const corrections

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690105
2007-07-20 03:34:20 +00:00
Aaron J. Seigo
44fe05f668 create a Package if we have a scripted plasmoid on hand.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690104
2007-07-20 03:28:34 +00:00
Aaron J. Seigo
1b6070d807 X-KDE-ParentApp is already registered, but X-Plasma-Language isn't
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690103
2007-07-20 03:25:33 +00:00
Aaron J. Seigo
11cba27eee * dissallow copying of PackageStructure as it has a dptr but no copy ctor
* Package::isValid() checks if the Package is valid, e.g. all required files and dirs are present
* add methods to PackageStructure which return just the required bits

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690102
2007-07-20 03:21:40 +00:00