Commit Graph

3138 Commits

Author SHA1 Message Date
Simon Edwards
2b932160e6 Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Aaron J. Seigo
b56a365200 tell the user we failed if we fail
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874562
2008-10-21 20:19:57 +00:00
Aaron J. Seigo
195cfe61a4 move this somewhere i can get to for testing purposes again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874555
2008-10-21 20:13:00 +00:00
Davide Bettio
cf3a8181de I think I have fixed background enum API doc.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874503
2008-10-21 18:50:38 +00:00
Marco Martin
ea4c9227bc the cached pixmap can be invalid, when the panel size is invalid
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874489
2008-10-21 18:01:08 +00:00
Laurent Montel
53c6071fc8 Fix mem leak found by valgrind
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874299
2008-10-21 07:33:06 +00:00
Simon Edwards
90de22f3ca If think the data engine code is actually interested in DataEngineComponents and not runners.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874280
2008-10-21 06:40:12 +00:00
Aaron J. Seigo
6fe3502be7 we have workspace/libs/ for a reason
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874257
2008-10-21 02:31:43 +00:00
Beat Wolf
3e7ff8ac3d small fix for a crash
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874249
2008-10-21 01:59:22 +00:00
Aaron J. Seigo
fae76869af * make it possible to activate/deactivate/inhibit tooltips globally
* delete all the tips; not an important leak as it only gets destroyed on app close, but still...

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874248
2008-10-21 01:58:01 +00:00
Aaron J. Seigo
7abb5164a5 remove gratuitous "ToolTip"s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874244
2008-10-21 01:33:32 +00:00
Aaron J. Seigo
70abf9ff86 first set of API adjustments, via Kevin "API Review Bitch" Ottens
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874234
2008-10-21 01:01:12 +00:00
Aaron J. Seigo
4253ba670d safer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874231
2008-10-21 00:49:07 +00:00
Aaron J. Seigo
5c8d95bade so that's why we do it for every containment, regardless of screen =P
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874224
2008-10-21 00:03:06 +00:00
Kevin Ottens
0d9f0575fe I know Alexis is cute, but that's no reason to put him twice in the
authors list. :-)

SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874176
2008-10-20 22:00:00 +00:00
Marco Martin
9975e18a2c fix themes with tiled elements...
can use fluffybunny again :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874143
2008-10-20 20:26:17 +00:00
Marco Martin
7e4ef1027b be a bit more paranoid
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874119
2008-10-20 19:56:26 +00:00
Marco Martin
63a8fba67c show an empty area when dropping applets from applet browser to the
panel, making easier to add applets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874087
2008-10-20 18:51:15 +00:00
Davide Bettio
9ed5641257 Added click signal to SvgWidget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874074
2008-10-20 18:26:25 +00:00
Aaron J. Seigo
1dc982c466 be safe (view can be null!) and don't call view() repeatedly as it requires tromping through all the views. not a killer in most situations, but nice to avoide unecessary work
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874045
2008-10-20 16:42:37 +00:00
Rob Scheepmaker
e5c19dde50 Fixed two potential problems found by fredrikh.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874016
2008-10-20 16:03:30 +00:00
Script Kiddy
eacbb7c148 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873942
2008-10-20 11:47:20 +00:00
Rob Scheepmaker
a26b73b6bb Give extenders the 'stacked' look from Pinheiro's mockup. It still needs some minor tweaks, but it allready looks quite sexy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873867
2008-10-20 10:58:37 +00:00
Aaron J. Seigo
6ef3b851ac update some of these todos
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873711
2008-10-20 01:41:15 +00:00
Aaron J. Seigo
b31b4da0ba ok, this is a much, much easier way to approach the grouping and doesn't require QDesktopWidget either
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873703
2008-10-20 00:42:50 +00:00
Aaron J. Seigo
8005bf4a73 nothing actually used this, and it breaks with the whole view/model thing and brings one more dep on QDesktopWidget with it, so good riddence
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873691
2008-10-19 23:27:58 +00:00
Aaron J. Seigo
3fb4975896 swap the magic number for a constant
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873689
2008-10-19 23:21:03 +00:00
Aaron J. Seigo
25da9776f7 unnecessary include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873688
2008-10-19 23:20:46 +00:00
Aaron J. Seigo
d2a6019704 where's the Q_OBJECT macro? ah, there it is! ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873687
2008-10-19 23:20:27 +00:00
Script Kiddy
30f24cbe86 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873435
2008-10-19 13:39:44 +00:00
Pino Toscano
f33695a670 use relative path to the header (the CamelCase is not installed at this point yet)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873170
2008-10-18 22:57:50 +00:00
Aaron J. Seigo
43b749901e ws fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873139
2008-10-18 21:36:36 +00:00
Aaron J. Seigo
2839ebec00 style fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873137
2008-10-18 21:35:40 +00:00
Davide Bettio
dd9445d885 Added svgwidget.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873133
2008-10-18 21:30:02 +00:00
Aaron J. Seigo
62c417fe46 get the connection right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=873121
2008-10-18 20:59:53 +00:00
Aaron J. Seigo
b5df90348f don't load the wallpaper config until we paint. this means that if we have off-screen containments, even with complex wallpapers, they don't take up unecessary memory or delay start up because they won't render the wallpaper until the first paint event.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872755
2008-10-18 01:31:52 +00:00
Aaron J. Seigo
390f76d33a prepare Wallpaper for delay init: add a setRenderingMode and an isInitialized
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872753
2008-10-18 01:30:52 +00:00
Aaron J. Seigo
333b91acfb allow swapping of arbitrary containments, not just this view's containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872751
2008-10-18 01:29:42 +00:00
Aaron J. Seigo
2f501ace5e make cache strategies configurable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872726
2008-10-17 23:41:34 +00:00
Aaron J. Seigo
f1accd0eba ok, don't need this shouting all the time anymore
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872725
2008-10-17 23:41:13 +00:00
Marco Martin
027957f2e5 look ma, no FAILs!
use the suffix normal for natural for sizes in the cache, makes not
nevessary the svg size to be initialized

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872706
2008-10-17 21:27:32 +00:00
Marco Martin
84f23dd033 add also enabled borders in the cached name (fixes moving of panel)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872656
2008-10-17 18:53:20 +00:00
Marco Martin
42d446525d fix scrollbar arrows
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872652
2008-10-17 18:42:44 +00:00
Davide Bettio
69155230cd Added a new useful overload.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872636
2008-10-17 17:45:18 +00:00
Alessandro Diaferia
7f51dcbf62 * better behavior with aspectRatioMode.
* one important line more than the diff in reviewboard
  needed to correctly restore the aspectratio.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872574
2008-10-17 13:49:11 +00:00
Marco Martin
88137e4136 comments++
did forgot them on the forst iteration :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872552
2008-10-17 13:09:18 +00:00
Aaron J. Seigo
51e053e529 so people can see when we FAIL and hit up an svg.
the goal is to see *zero* FAILs on a second run

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872383
2008-10-17 05:17:46 +00:00
Aaron J. Seigo
d725fd9413 swap screens with the containment we kick off our screen if we have a screen of our own to trade them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872382
2008-10-17 05:16:26 +00:00
Aaron J. Seigo
573306a3af ok, that was a stupid error. =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872366
2008-10-17 02:52:51 +00:00
Aaron J. Seigo
de112e34fe * remove some (apparently accidently) duplicated code
* add the size of the element we are looking for to the cache, so multiple sizes of the same svg don't result in reading the renderer
* if found, then don't go and re-check it even if the rect is invalid

this commit introduces some breakage since it actually relies on the cache properly now, it's apparent that there are some caching issues and we're getting incorrect values in/out =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872363
2008-10-17 02:30:08 +00:00