Commit Graph

2950 Commits

Author SHA1 Message Date
Aaron J. Seigo
456e81518e * update the source (if appropriate) when query is called
* use the source name for the destination of NullService; handy in debugging

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856772
2008-09-03 18:52:23 +00:00
Aaron J. Seigo
6774525044 preserve the target information with NullService
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856771
2008-09-03 18:51:41 +00:00
Aaron J. Seigo
02c5028f8c make it possible for the wallpaper to accept mouse clicks, thereby getting mouse moves
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856723
2008-09-03 16:46:01 +00:00
Aaron J. Seigo
35bfe20877 why yes, dani_l, i have looked into this issue. ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856686
2008-09-03 15:06:02 +00:00
Aaron J. Seigo
bfbd49b438 remove the no longer used private slot, and add a default start() method so it can be used as is
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856499
2008-09-03 04:25:49 +00:00
Aaron J. Seigo
2963de33e6 just toRect will suffice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856498
2008-09-03 04:25:24 +00:00
Aaron J. Seigo
3c7c59d9f8 don't repaint the entire item *every time* if the exposed area is just a small section. this saves huge numbers of whole screen repaints.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856476
2008-09-02 23:29:54 +00:00
Aaron J. Seigo
9367d50a83 simplify ..
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856475
2008-09-02 23:28:59 +00:00
Rob Scheepmaker
d93456515d Cancel the popup timer when the user manually opens or closes the popup.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856281
2008-09-02 14:54:58 +00:00
Laurent Montel
918e00a85b Pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855755
2008-09-01 11:38:23 +00:00
Alexis Ménard
91e63390b4 Now tooltip on kickoff works again, when hide/show it.
The popupApplet has now the capability to know if the dialog is displayed or not, then call popupEvent.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855715
2008-09-01 10:45:33 +00:00
Alexis Ménard
7943daabac only reshow tooltip if it's the current widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855654
2008-09-01 10:16:43 +00:00
Marco Martin
e037260031 this patch removes the centering and makes the tabbar to take up all the
width when it's not like a tabwidget and there is some
sizepolicy/preferred sizes setting fixes that makes it behave better in
a panel (especially vertical ones)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854953
2008-08-30 18:14:45 +00:00
Rob Scheepmaker
8a0f530641 Size the extender correctly directly after creation.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854553
2008-08-29 19:09:27 +00:00
Rob Scheepmaker
c066ea7027 PopupApplet monitors the size of the applet now. And fixed scenePosFromScreenPos so you can now
reorder extenderitems within a Dialog. Stuff still breaks when detaching the last item, I'm still 
working on that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854547
2008-08-29 19:00:10 +00:00
Alexis Ménard
7c817fd06c Fix a little bug
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854104
2008-08-28 20:34:03 +00:00
Alexis Ménard
384f31bf82 add an activate method to specify if the tooltip has to be displayed or not.
Use-case : Display it on demand, when hovering. ie Kickoff

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854098
2008-08-28 20:23:39 +00:00
Davide Bettio
5f1f8a5d1f added missing call to popupMe and a TODO.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854073
2008-08-28 19:43:36 +00:00
Davide Bettio
e79a749db8 moved back...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854052
2008-08-28 18:49:37 +00:00
Davide Bettio
f9b6807bfb moving popupEvent to protected...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854048
2008-08-28 18:32:51 +00:00
Davide Bettio
2a8024d4a1 Added popupEvent.
CCMAIL:plasma-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854047
2008-08-28 18:30:50 +00:00
Alexis Ménard
a32ca528f0 sometimes the tooltip is shown before it take his correct position
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=854008
2008-08-28 17:02:42 +00:00
Marco Martin
0df88727ef allows the Desktop toolbox to be positioned in the four corners or four
edges, rendering the right bits of the arc.
this now is used by the containment to render a non cutted toolbox when
there is a panel on top or on right
and to put the toolbox on the left with RTL layouts

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853991
2008-08-28 15:59:03 +00:00
Rob Scheepmaker
1bae884531 Improved Extender support in popupApplet. Dialog resizes correctly, and even the last
item is removable. Implementation is still not perfect, but it's now a lot better then it 
was.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853962
2008-08-28 14:32:48 +00:00
Alex Merry
20af95eee1 Bogus foreach.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853577
2008-08-27 22:17:28 +00:00
Olivier Goffart
8e96263a52 Optimisation: createMaskFromColor is slow, and PanelSvg::mask() is called quite often.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853506
2008-08-27 19:59:12 +00:00
Alex Merry
7ee88a1007 We shouldn't be doing this. Containment deletes us itself.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853474
2008-08-27 19:15:59 +00:00
Aaron J. Seigo
16ee834701 set signal relays to be queued upon creation, so that if they are not immediately updated (e.g. the first relay) but then data becomes immediately available afterwards, an update still occurs. this addresses the connecting-using-a-relay-to-an-async-process issue; it's a bit of an odd case, but we've found at least one use case for it and there's no reason not to make it work in the code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853470
2008-08-27 19:08:46 +00:00
Script Kiddy
c64b91b9d3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853252
2008-08-27 12:41:04 +00:00
Alessandro Diaferia
813647bdbd reverting to previous revision since aaron dislikes the patch as it is.. hoping for a better new one =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853143
2008-08-27 10:45:43 +00:00
Alessandro Diaferia
f58ae0fbc4 * added setAlwaysIconified(bool) to allow using the
applet iconified even on the desktop (useful for Kickoff)
* added bool alwaysIconified()


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853100
2008-08-27 07:41:29 +00:00
Sebastian Kügler
9d5e4b488e Correct these calls, even if they're commented, one might still want to have this correct
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853024
2008-08-27 01:06:40 +00:00
Sebastian Kügler
ef72738960 Correct include guards name
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853013
2008-08-27 00:38:26 +00:00
Alex Merry
9ce3660816 * rename operationIsEnabled to isOperationEnabled
* add disassociateWidget() methods
* don't allow a widget to associated with more than one operation
* set the enabled status properly when we associate a widget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852983
2008-08-26 23:04:53 +00:00
Alex Merry
8355e9e027 operationIsEnabled() should be public.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852940
2008-08-26 21:42:23 +00:00
Aaron J. Seigo
3d6b183011 try to keep updateSourcEvents to a minimum by only triggering an immediate update from the SignalRelay object if it is not the first visualization connected to the source
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852899
2008-08-26 20:37:53 +00:00
Alex Merry
df4423255f Move the clearFocus() fix to before "delete d", since we delete containments in ~CoronaPrivate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852814
2008-08-26 17:25:04 +00:00
Alex Merry
d362e7989c When should you or shouldn't you emit sourceAdded and sourceRemoved yourself? This is when.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852803
2008-08-26 16:47:34 +00:00
Alex Merry
f202c3af80 Better main page for the libplasma api docs.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852791
2008-08-26 16:06:05 +00:00
Alex Merry
d3b6dfab61 Make the authors list in alphabetical order, rather than vaguely sort-of alphabetical order.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852775
2008-08-26 15:14:59 +00:00
Alex Merry
22e5a4d36a I supposed I've probably done enough in libplasma to merit a mention here...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852774
2008-08-26 15:12:14 +00:00
Andreas Hartmetz
d65308eb0a Fix build breakage done by infidels trying to make this holy codebase compile on non-blessed systems. Yes SaroEngels, I'm looking at you ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852583
2008-08-26 02:13:29 +00:00
Patrick Spendrin
72b392a650 fix if DL_LIBRARY is not set
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852552
2008-08-25 23:55:52 +00:00
Rob Scheepmaker
3127a7be81 Add some much needed apidox to PopupApplet.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852548
2008-08-25 23:46:00 +00:00
Rob Scheepmaker
56fc76d150 Detaching ExtenderItems from a Plasma::Dialog works now, but resizing the dialog isn't
always done correctly yet. I'm still looking into that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852535
2008-08-25 23:16:18 +00:00
Script Kiddy
dd7f1d815c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852518
2008-08-25 23:01:08 +00:00
Aaron J. Seigo
364aabf073 drop the requirement of a containment on construction
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852337
2008-08-25 19:25:15 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Alex Merry
71fec1c364 Improve apidocs, get rid of a commented-out line, fix an indent.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852237
2008-08-25 16:03:56 +00:00
Rob Scheepmaker
60a62db177 Make attached ExtenderItems non persistent, since that is more logical default behavior.
Fixed the screwed up positioning of the ExtenderItem toolbox.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852222
2008-08-25 15:17:54 +00:00