Commit Graph

3015 Commits

Author SHA1 Message Date
Marco Martin
0cc762d4a0 a bit more doc
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876535
2008-10-27 13:28:55 +00:00
Aaron J. Seigo
14e75cc43a yes, visible tips should hide (really, we should just re-use the same actual widget, but that's for later i suppose); also set the delayedHide properly always
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876181
2008-10-26 17:39:46 +00:00
Aaron J. Seigo
5eb18a635b allow tips to autohide; having them just stay there forever and ever is an annoyance. some tips need to be permanent to be useful though (e.g. on the clock) so introduced a way to make that happen. needed to get this in before we go BC =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876166
2008-10-26 16:55:54 +00:00
Marco Martin
9dfd938d17 new theming capabilities into the bar meter widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876149
2008-10-26 16:00:32 +00:00
Rob Scheepmaker
08b16a80dc Fixed extender appearence in dialogs of applets on the desktop.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875773
2008-10-25 14:49:31 +00:00
Rob Scheepmaker
d09ca6858f Also automatically hide dialogs from popupapplets if the last extender item is destroyed.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875760
2008-10-25 14:17:17 +00:00
Sebastian Kügler
34f4813559 some grammar fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875759
2008-10-25 14:15:16 +00:00
Sebastian Kügler
3da27e9822 Grammar fixes in APIDOX
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875758
2008-10-25 14:15:13 +00:00
Rob Scheepmaker
704fad3d81 Small extender api improvements:
* extender() -> protected
* initExtenderItem() no longer a slot
* autoExpireDelay return uint instead of bool


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875751
2008-10-25 13:41:00 +00:00
Marco Martin
caef45dcf9 syncronize the minimum size with the one of graphicsWidget() or widget()
upon containment change

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875720
2008-10-25 11:28:06 +00:00
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