Aaron J. Seigo
b3f60fa248
this one took me a while to figure out =/
...
we need a separate private contentSize() for Applet because we need to be able to override what the subclass might be trying to accomplish. since the method is virtual, i had to put it in the dptr and call Applet::contentSize from there on successfully passing various tests such as "is this a script?" and "has this applet been marked as failed?". stupid polymorphism.
end result is that now an applet can, as expected, call setFailedToLaunch(true) and the applet gets the right size, no matter when or where it was called from.
huzzah.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692630
2007-07-26 02:36:53 +00:00
Aaron J. Seigo
0f8b73a399
be careful not call setFailed when we already have
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692626
2007-07-26 02:31:36 +00:00
Aaron J. Seigo
aa1dd0b63f
add the layout to the parent. this sucks because it isn't done in Layout where it should be, but setLayout results in pure virtuals being called... so child class it is for now.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692625
2007-07-26 02:30:16 +00:00
Aaron J. Seigo
455f06eb8b
set immutability even if the applet fails to load
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692621
2007-07-26 02:07:18 +00:00
Aaron Eisenberg
52514c1c35
Improve icon location and size as well as the applet's background in group mode.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692618
2007-07-26 01:45:06 +00:00
Aaron J. Seigo
120bcd5766
always use setFailedToLaunch in case of failure
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692604
2007-07-26 00:12:41 +00:00
Alex Merry
b2058da41f
fix the drag-and-drop positioning
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692602
2007-07-25 23:58:03 +00:00
Alex Merry
b7187ab807
Make the local co-ordinate system clearer.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692598
2007-07-25 23:48:15 +00:00
Aaron J. Seigo
19a46e2c40
only paint the interface on DesktopZoom. based on a patch by The Other Aaron.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692597
2007-07-25 23:42:43 +00:00
Alex Merry
f49f45411b
More apidox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692591
2007-07-25 23:00:25 +00:00
Aaron J. Seigo
fbc83f9780
* apparently we're using .2 for OverviewZoom
...
* add FullScreen so we're catching all enumerated values in the switch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692589
2007-07-25 22:54:35 +00:00
Aaron J. Seigo
0710825034
add a ZoomLevel enum and a conversion method to Plasma namespace
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692584
2007-07-25 22:43:43 +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
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
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
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