Alex Merry
eddb8f294f
Change how boundingRect() is calculated and backgrounds are drawn.
...
Instead of implementing boundingRect(), applets should now implement
contentSize(), to tell Plasma::Applet how much space they need.
I wrote a long commit log, then realised it belonged in the apidocs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692519
2007-07-25 19:15:23 +00:00
Andre Duffeck
1dede63a8f
fix Applet::contentsRect()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692500
2007-07-25 18:16:07 +00:00
Aaron J. Seigo
04d418f4a7
last round of ebn fixes i had kicking around.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692337
2007-07-25 11:24:07 +00:00
Aaron J. Seigo
6c297f6cbb
* proof of concept dynamic shadow, #if 0'd out
...
* some implementation notes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692252
2007-07-25 07:13:34 +00:00
Script Kiddy
5f1c84a5dd
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692207
2007-07-25 06:02:22 +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
d661a64be4
drawTiledPixmap. about 30s after committing i remembered it existed. *sigh*
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692075
2007-07-25 00:09:15 +00:00
Aaron J. Seigo
052958075c
make the background render properly. i, or someone like me, REALLY needs to implement tiling in Plasma::Svg.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692070
2007-07-24 23:46:54 +00:00
Aaron J. Seigo
4e84fc56fd
a better background
...
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=692069
2007-07-24 23:45:55 +00:00
Matt Broadstone
8f619a954b
QGraphicsItem::ItemClipsToShape is now default, should fix some nasty painting bugs in the future.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692061
2007-07-24 23:31:52 +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
65195f2324
new background svg. it's rather broken, however, but it is pretty close =) the pixel errors really annoy me though. perhaps the artists can make a proper one for us?
...
CCMAIL:nuno@oxygen-icons.org
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=692010
2007-07-24 21:28:13 +00:00
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
37c3b20e77
make the background something that there is a hope of seeing text on; still not final artwork but now perhaps people will actually bother to use it =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/desktoptheme/; revision=690472
2007-07-21 08:29:05 +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