Commit Graph

3055 Commits

Author SHA1 Message Date
Beat Wolf
df65542e6a Position the toolbox in the right place after moving the panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875532
2008-10-24 18:57:59 +00:00
Rob Scheepmaker
f3244ec357 Make ExtenderItem's constructor explicit.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875477
2008-10-24 14:59:21 +00:00
Rob Scheepmaker
16883d6243 Documentation++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875470
2008-10-24 14:49:32 +00:00
Rob Scheepmaker
415a1c213d Also update extender item borders correctly when items are removed from the layout.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875444
2008-10-24 13:20:49 +00:00
Rob Scheepmaker
241d38ad65 A bit more sourceApplet correctness:
* Removed sourceApplet() function, it has no place in public api. That was also discussed in the api review, but I forgot to actually remove it.
* Update sourceApplet's pointer and remove the "return to source" button when the source applet is removed.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875290
2008-10-23 22:42:58 +00:00
Kevin Ottens
3488fd23c7 Small API adjustments of ToolTipManager as discussed with Aaron:
* clearContent() is back, but no default value to setContent();
 * delayedHide() is no more public.

After all I didn't rename it and make it full of static methods
because I noticed the following in the meantime:
1) register/unregister being still around, and passing the
QGraphicsWidget* in most methods, effectively makes it a manager;
2) all managers in libplasma use the singleton pattern, so let's
keep consistency.

CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875285
2008-10-23 22:14:07 +00:00
Rob Scheepmaker
32fa54a46d Allow toggling the collapse state of extender items by double clicking the drag handle.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875202
2008-10-23 16:44:40 +00:00
Rob Scheepmaker
1a63cf107a Fixed another uninitialized memory problem. Valgrind rocks. :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875194
2008-10-23 15:59:46 +00:00
Rob Scheepmaker
68acf18d50 Fixed some uninitialized variable problems found by valgrind.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875186
2008-10-23 15:24:52 +00:00
Rob Scheepmaker
ef3ec40f5d Avoid possible memory leak if an applet tries to create more then one extender.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875161
2008-10-23 14:08:24 +00:00
Enrique Matías Sánchez
e27379f475 SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875089
2008-10-23 09:31:44 +00:00
Aaron J. Seigo
116a1d690c * always create a layout if possible
* trying to set the minimum size here is not helpful; this should be handle by layouts

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874992
2008-10-23 00:16:07 +00:00
Aaron J. Seigo
d9e5d8babd this work around doesn't work
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874990
2008-10-23 00:09:25 +00:00
Aaron J. Seigo
9f70fbd4f3 don't show tips when a popup appears (worst thing about spending a day mostly in conf calls: i can only hack in between them, but then often forget to commit *sigh*)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874970
2008-10-22 22:15:49 +00:00
Marco Martin
1facd63fcc reparent before deleting the dialog, or the widget gets deleted
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874911
2008-10-22 18:51:59 +00:00
Alexis Ménard
fdbafa0337 Fix a crash when you change between desktops with tooltip activated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874774
2008-10-22 12:54:04 +00:00
Pino Toscano
930f16f881 - signals -> Q_SIGNALS
- fix include guard name

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874665
2008-10-22 07:47:44 +00:00
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