Commit Graph

342 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
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
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
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
b5df90348f don't load the wallpaper config until we paint. this means that if we have off-screen containments, even with complex wallpapers, they don't take up unecessary memory or delay start up because they won't render the wallpaper until the first paint event.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872755
2008-10-18 01:31:52 +00:00
Aaron J. Seigo
d725fd9413 swap screens with the containment we kick off our screen if we have a screen of our own to trade them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872382
2008-10-17 05:16:26 +00:00
Aaron J. Seigo
5e987c6ba8 send the containment along with the signal for consitency with similar signals
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872308
2008-10-16 20:54:15 +00:00
Aaron J. Seigo
11536c679b this was a hack, albeit a mildly useful one, but it's in the way now; need to find a better solution for the keyboard shortcuts madness (or just switch to qt 4.5)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872302
2008-10-16 20:30:34 +00:00
Guillaume Pothier
7b201201b0 Fixed positioning of desktop containments' toolbox
BUG: 166770

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872129
2008-10-16 11:47:03 +00:00
Aaron J. Seigo
2118460d27 applet -> widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871125
2008-10-13 23:16:22 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Aaron J. Seigo
06e71be8c3 we no longer need to check for spontaneity; move the trick up to Applet as well to avoid repaints where possible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868200
2008-10-05 17:48:44 +00:00
Konstantin Heil
a99aee5e8d Scrolling on desktop travels the virtual desktop in reverge direction than scrolling on the pager. Because scolling on desktop was a little bit confusing: changed scoll direction.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867906
2008-10-04 22:09:15 +00:00
Aaron J. Seigo
367936cc09 * remove the check for layout() in setFormFactor; that's no longer valid
* emit config needs saving signals when these things change
* only write the changes if the values actually do change

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865206
2008-09-27 01:54:24 +00:00
Aaron J. Seigo
d732923026 save changes as they happen
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865205
2008-09-27 01:51:52 +00:00
Aaron J. Seigo
cd7e48a164 a bit less convoluted and does the same thing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863697
2008-09-22 21:50:01 +00:00
Aaron J. Seigo
a90457d7a1 only care about mucking about with the focus item if it isn't null
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863641
2008-09-22 18:35:24 +00:00
Aaron J. Seigo
56a9ad52ce make it harder for people to fall into the temptation of nesting containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863619
2008-09-22 17:50:23 +00:00
Aaron J. Seigo
f505d063e7 and if it isn't acting as a containment, but an applet, then use the standard configuration mechanism as provided by Applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862308
2008-09-18 14:58:06 +00:00
Aaron J. Seigo
c633c8ac57 hook up the containment configuration interface to the generic containment configuration mechanism; now it shows in the toolbox too! whee!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859593
2008-09-10 18:51:30 +00:00
Aaron J. Seigo
bf942582e8 support adding the configuration entry to the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589
2008-09-10 18:42:52 +00:00
Aaron J. Seigo
4ae5e8bdf7 respect "null" as a containment request: no wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858909
2008-09-09 01:16:10 +00:00
Aaron J. Seigo
d404d951f2 one more call using geometry rather than boundingRect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858894
2008-09-08 23:08:25 +00:00
Aaron J. Seigo
eed04daf07 should be boundingrect; wallpapers paint relative to the containment at all times
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858893
2008-09-08 22:56:55 +00:00
Marco Martin
2c2e7ecf3b set a default wallpaper when the user creates a new containment from the
ui

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858793
2008-09-08 18:38:14 +00:00
Aaron J. Seigo
329b1782f1 better ...
CCMAIL:kossebau@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858370
2008-09-07 21:47:55 +00:00
Aaron J. Seigo
8ef4eaa1d4 don't duplicate this over and over again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858359
2008-09-07 21:07:30 +00:00
Aaron J. Seigo
f5168c65de put notmart out of his misery on this one =) let containment tell the world when it's context changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857852
2008-09-06 16:29:47 +00:00
Aaron J. Seigo
99e664d0c5 make is possible to ask for the containment's own context menu
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857605
2008-09-05 20:06:30 +00:00
Aaron J. Seigo
b244d65ec5 let's keep each paper's config separate from each other, so that when you switch between papers your config is actually saved
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857511
2008-09-05 15:32:55 +00:00
Aaron J. Seigo
90d21e4b31 be a lot more careful about what we save, when and how. leaves us still with an annoying problem with save/restore of papers at runtime though .. working on that now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857505
2008-09-05 15:16:49 +00:00
Aaron J. Seigo
3b314b6578 * delete the wallpaper config group when we change plugins
* save the wallpaper config before moving on if the wallpaper remains the same, so that when we restore the paper later on we're all good and safe

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857500
2008-09-05 15:01:30 +00:00
Aaron J. Seigo
72aff55a52 it's wheelEvent, not mouseWheelEvent
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857248
2008-09-05 04:33:40 +00:00
Aaron J. Seigo
d89ad4cba0 context API adjustments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857207
2008-09-05 00:22:42 +00:00
Aaron J. Seigo
b3b8ac7ee3 ignore the event if we don't care
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857154
2008-09-04 20:13:23 +00:00
Benoît Jacob
6d24078bc7 Forward wheel events to the wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857101
2008-09-04 18:11:46 +00:00
Aaron J. Seigo
e8bbd8c33f ensure we get mouse focus even if the wallpaper accpets the event
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856795
2008-09-03 19:57:53 +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
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
Alex Merry
20af95eee1 Bogus foreach.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853577
2008-08-27 22:17:28 +00:00
Aaron J. Seigo
8d6f5e7196 get rid of some api bloat; this can be gotten from the wallpaper plugin itself, after all
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850854
2008-08-22 12:14:10 +00:00
Aaron J. Seigo
ae115c4cbb when we get a non-file dropped, check to see if any applets support any of the mimetypes in the drop. if so, create a tempfile with the data in it and start the applet with that data. it's pretty ... interesting to drop web content from a webbrowser onto the desktop and get a miniwebrowser showing the results.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850349
2008-08-21 10:07:07 +00:00
Aaron J. Seigo
145069e66f if we aren't a containment, don't do anything; and don't bother calling Applet::init as nothing interesting happens there for us.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850293
2008-08-21 07:49:46 +00:00
Aaron J. Seigo
9a94a36afd introduce a detroy(bool confirm) for containments so that we can confirm on zoom out, but not on containment swapping; was not a pleasant surprise to have a containment instantly evaporated without this =/
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850224
2008-08-21 02:57:42 +00:00
Aaron J. Seigo
6101f26c52 update to context->activity changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849913
2008-08-20 13:13:31 +00:00
Aaron J. Seigo
71796f6bf3 save the wallpaper info when save() is called
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849901
2008-08-20 12:45:19 +00:00