Commit Graph

313 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
6d5e0b18f5 fix various handle regressions, including:
* move applet or resize it then move with handle and it pops to a new location
* handles unhover too soon
* handles don't show on the correct side always
* handles are not visually associated well enough with the target applet
* icons are hard to see
BUG:166149

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830264
2008-07-10 01:35:51 +00:00
Aaron J. Seigo
0e5f15dc50 * add Corona::addContainmentDelayed for more control on the Corona subclass side during default layout loading
* accept bad config objectsin Applet::save and Containment::save
* move some initialization code around to be more robust with external use (will make more sense in next commit to workspace/plasma/plasma)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828940
2008-07-07 02:16:08 +00:00
Aaron J. Seigo
9ccc9336a5 * prevent removing active containments (brute force mechanism: just ignore the request totally)
* select the correct containment for removal when zoomed out (will have isses on multi-screen; see FIXME)
* move containment destruction logic out of Corona; it really doesn't belong there
* remove the hack to not set focus on a containment when clicked as that doesn't seem to reliably trigger it for me here and it doesn't address the issue of a new containment still messing things up, so we really ought to have a generic solution instead of a slightly ugly hack

BUG:id=165670

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828906
2008-07-06 22:43:53 +00:00
Aaron J. Seigo
762be363ec rework the toolbox creation, containment type setting and isContainment setting code to make it resilient against when and where those properties are set
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828636
2008-07-06 10:03:10 +00:00
Aaron J. Seigo
6230340508 allow for customized panels; we only touch them for geometry management and nothing else
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828634
2008-07-06 09:49:23 +00:00
Aaron J. Seigo
be453f062b type and version setting so qstyleoption_cast works
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828146
2008-07-04 19:24:45 +00:00