Commit Graph

3048 Commits

Author SHA1 Message Date
Aaron J. Seigo
dc8e58fe1b SVN_SILENT: while looking at the test, just rm'd some ws
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879363
2008-11-03 04:45:16 +00:00
Aaron J. Seigo
8c7ed93278 if we're given a layout, don't create another layout for it to live in
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879360
2008-11-03 04:15:34 +00:00
Aaron J. Seigo
fdbd52d617 simplify this quite a bit by moving some of the code out to a helper method; as an added bonus this avoids creating tempdir and other objects unnecessarily
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879356
2008-11-03 03:57:03 +00:00
Aaron J. Seigo
c1ee201060 collapse the construtors into one
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879355
2008-11-03 03:53:12 +00:00
Allen Winter
892396143f no need for find_package(KDE4 REQUIRED) because the module top-level will
do that for us.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879287
2008-11-02 22:04:18 +00:00
Sebastian Kügler
25dfab1702 sssshhhhhht.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879284
2008-11-02 22:02:41 +00:00
Albert Astals Cid
45edd84dfc add context
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879206
2008-11-02 17:38:52 +00:00
Petri Damstén
870e710307 Support for metadata in PackageStructure.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879173
2008-11-02 15:28:59 +00:00
Script Kiddy
648fd5832b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879117
2008-11-02 13:16:59 +00:00
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