Anne-Marie Mahfouf
cde5d1a29f
fix tests
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879114
2008-11-02 13:14:38 +00:00
Laurent Montel
0af4b7d132
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878992
2008-11-02 11:39:25 +00:00
Marco Martin
aaf39fc289
SVN_SILENT: Label->frame
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878986
2008-11-02 11:18:21 +00:00
Pino Toscano
21daad5ce1
adapt to the new Package API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878955
2008-11-02 09:26:59 +00:00
Aaron J. Seigo
4b8da2000a
give it a bit of a curve
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878942
2008-11-02 07:31:51 +00:00
Aaron J. Seigo
7d5c604245
animate that mofo tip!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878938
2008-11-02 07:25:56 +00:00
Aaron J. Seigo
c40e327130
make this work better for the default case
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878937
2008-11-02 07:21:13 +00:00
Aaron J. Seigo
d8f1ce657c
use only one actual tip widget, store the data otherwise
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878933
2008-11-02 06:55:10 +00:00
Aaron J. Seigo
1c75cca9e2
break out Plasma::ToolTipManager::Content to Plasma::ToolTipContent and prep it for BC
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878923
2008-11-02 05:58:42 +00:00
Aaron J. Seigo
1aa252d612
package metadat by reference, not pointer, for API clarity and health
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878840
2008-11-01 22:01:31 +00:00
Aaron J. Seigo
6b1c0f6c91
copy ctor for packagemetadata
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878838
2008-11-01 21:40:20 +00:00
Aaron J. Seigo
416090f5da
help out the translators a bit
...
CCMAIL:aacid@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878807
2008-11-01 20:37:59 +00:00
Marco Martin
1da58c95f4
make paint(painter,pos,elementid) work when containsMultipleImages =
...
true
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878053
2008-10-31 09:43:51 +00:00
Aaron J. Seigo
60ab332312
don't assert, just check. over the next month or two we need to keep an eye on which asserts around corona() get triggered and try and make as many of those calls happen only post-load
...
CCMAIL:faure@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878025
2008-10-31 04:37:56 +00:00
Sebastian Trueg
dc773ab3f4
Major documentation improvement/cleanup/fix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877767
2008-10-30 09:58:10 +00:00
Kevin Ottens
ef6cefb06c
WebContent becomes WebView.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877511
2008-10-29 17:53:30 +00:00
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Rob Scheepmaker
871508e467
Store the title and icon in extenderitem's config so applets don't have to store/restore this info manually.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877485
2008-10-29 17:01:11 +00:00
Guillaume Pothier
bd7e7b10c9
Added screen management methods to Corona and removed usage of QDesktopWidget in plasmalibs.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877451
2008-10-29 15:22:38 +00:00
Script Kiddy
0f3987cd9a
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876968
2008-10-28 12:52:47 +00:00
Aaron J. Seigo
b4e741c3f0
something i've wanted for a bit: autohide on fade. perfect kind of "i don't have to think to add this" kind of feature to fill in my boredom during meetings full of powerpoint presentations ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876852
2008-10-28 09:25:57 +00:00
Marco Martin
8560092760
don't try to paint when there is no image
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876828
2008-10-28 08:29:39 +00:00
Rob Scheepmaker
a00b42cf69
Correct placement when detaching extenderItems.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876615
2008-10-27 17:16:41 +00:00
Rob Scheepmaker
eb62f23c04
setting the size hints before changing the views sceneRect fixes the bug where reordering items within an extender resizes the dialog to a size that is too small.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=876611
2008-10-27 17:02:43 +00:00
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