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
Ambroz Bizjak
b7e61e34c4
Fix a rare bug when a new applet handle is created before the previous one is
...
destroyed, causing the applet not to follow the handle when moved or fail to appear.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849828
2008-08-20 09:14:27 +00:00
Petri Damstén
0a2eb79e61
Wallpaper API changes:
...
- modes -> renderingModes
- remove modeName & modeIcon
- add config group to init for reading config
- add save for config saving
Update containment for api changes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849801
2008-08-20 08:06:34 +00:00
Aaron J. Seigo
84007a813a
save/restore containment context (activity)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849513
2008-08-19 17:50:35 +00:00
Aaron J. Seigo
46ef63168e
allow applets to query for their context, update the context via a constraint (we're running out of them!)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00
Marco Martin
5f27b7bb30
kill the handle when the applet is destroyed, so don't crash when locking
...
desktop
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=845313
2008-08-11 13:16:46 +00:00
Alex Merry
ba285be2ff
Don't try to make an icon with a data: URI - Icon can't handle them.
...
BUG: 164120
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=844088
2008-08-08 17:14:35 +00:00
Aaron J. Seigo
5c9c48ef75
forward mouse move, press and release events to the wallpaper
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842825
2008-08-06 01:59:44 +00:00
Aaron J. Seigo
2c8f554ffd
wheel scroll == desktop switch; no configuration, let's see how people react.
...
moment of philosophy: there are some features used almost exclusively by people who can't (or can't be bothered to) write code, but know where our bug tracker is, my blog is, what my email address is, etc... this is one such feature. amazing. or sad. i'm not sure which.
BUG:159876
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842821
2008-08-06 01:22:05 +00:00
Aaron J. Seigo
41565045e3
API addition, constification and param naming clarity
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842640
2008-08-05 17:32:47 +00:00
Petri Damstén
0183db7d30
Base for Plasma::Wallpaper plugins.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842590
2008-08-05 15:27:48 +00:00
Laurent Montel
234aef73f2
Translate it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841976
2008-08-04 11:40:06 +00:00
Aaron J. Seigo
577a64f563
extender is not a Plasma Widget (it doesn't follow the API pattern, isn't a button/menu/etc, isn't meant to be used as a general widget in a random layout...)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841164
2008-08-02 17:46:32 +00:00
Chani Armitage
db8bb180e8
let's not have overzealous shorcuts.
...
(will this need to be changed back when we have proper qgraphicswidget shortcuts?)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=840837
2008-08-01 23:25:24 +00:00
Aaron J. Seigo
63bce9d1b4
move all the prive code into private/; makes it much clearer with the division lines are
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=839792
2008-07-30 20:35:42 +00:00
Aaron J. Seigo
42018972e6
hand hover events more responsibly in containment and applethandle; another patch by ambro
...
(abro: one more solid patch like this and i'll be hitting you up to get an svn account of your own ;)
BUG:167551
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838889
2008-07-29 00:07:57 +00:00
Sebastian Sauer
19e5356bf5
Don't crash if d->toolBox is NULL.
...
"plasmoidviewer desktop" works now too :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=836717
2008-07-22 20:46:34 +00:00
Aaron J. Seigo
85275b25ea
reposition the toolbox whenever changing our zoom state
...
BUG:166860
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834951
2008-07-19 18:51:22 +00:00
Aaron J. Seigo
abf220d8db
associate broken applets with the id so they will be removedable (automatically at next start, even)
...
BUG:166811
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833967
2008-07-17 18:21:55 +00:00
Aaron J. Seigo
adbf92d5dc
disconnect before deleting; we don't want to get informed of any changes from this point forward.
...
perhaps the cause of the "crash on lock" bug?
CCBUG:166802
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833582
2008-07-17 05:56:52 +00:00
Aaron J. Seigo
92c7ffc9df
* a const fix
...
* BIG WARNINGS TO AVOID FUTURE ERRORS
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833500
2008-07-16 21:58:36 +00:00
Aaron J. Seigo
9fa78a4688
thought i committed this yesterday; apparently not.. safer handle clearing.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833352
2008-07-16 17:51:58 +00:00
Alex Merry
cffda2ec3f
Clear handles when we go immutable. Also remove an out-of-date TODO.
...
BUG: 166004
CCMAIL: panel-devel@kde.org
Should be backported.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=832059
2008-07-14 00:22:11 +00:00
Aaron J. Seigo
f81134ff97
correct save point for applets; now they don't get saved with a 0,0,0,0,0,1 matrix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830604
2008-07-10 20:20:37 +00:00