Commit Graph

2514 Commits

Author SHA1 Message Date
Aaron J. Seigo
3fceec2f20 --4.2 TODO
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831075
2008-07-11 19:38:47 +00:00
Loic Marteau
17e88ccf66 minor code claryfication
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830656
2008-07-10 22:11:18 +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
2c7369030d header too, that helps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830601
2008-07-10 20:16:10 +00:00
Aaron J. Seigo
0a5a98a968 use a gradient on larger handles, from the colour to transparent and back again.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830580
2008-07-10 19:48:55 +00:00
Aaron J. Seigo
960705d5bc fix zOrder persistence regression
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=830266
2008-07-10 01:39:18 +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
Script Kiddy
c89d4239d7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=829587
2008-07-08 17:29:47 +00:00
Loic Marteau
4b36ec4560 - some code rewriting in calculate size to become more readable
- use m_applet->contentsRect().top() for positionning the top of applet handle
- increase a little the leave interval timer to let the user reach the applet handle a little more easily


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=829263
2008-07-07 22:59:03 +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
Andrew Lake
31c7b8d064 Use transform-scale instead of transform-move icon for resize. Not a fan of the current
oxygen icon but that's an artwork issue.

Approved by Marco Martin.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828921
2008-07-06 23:23:52 +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
Marco Martin
02203edad2 check if the applet pointer has been resetted to 0 by switchContainment
BUG: 165850

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828716
2008-07-06 13:01:02 +00:00
Aaron J. Seigo
6425a5a4d9 no wonder people on suse were missing the toolbox; it's pretty much invisible with aya. still need something more visible, i think, but this is better (as in: moderately visible) and we can visit it again in 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828645
2008-07-06 10:22:40 +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
e675d65da3 --compiler_warning;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828631
2008-07-06 09:45:31 +00:00
Script Kiddy
4ac3957747 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828584
2008-07-06 05:35:58 +00:00
Loic Marteau
2689994448 Replace the frame in the applet handle with something more tiny.
Thanks to Marco Martin for his help on the shape zone stuff. 

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828484
2008-07-06 00:18:43 +00:00
Aaron J. Seigo
87cdc14398 fix test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828245
2008-07-05 05:22:46 +00:00
Aaron J. Seigo
6a912784f2 separate concept of Category from Type and get it right in the file written out!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828243
2008-07-05 05:21:07 +00:00
Aaron J. Seigo
1e35b37d5c SVN_SILENT: ws tightening
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828242
2008-07-05 05:20:40 +00:00
Aaron J. Seigo
0d9ab9ab38 it's *always* Type=Service
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828239
2008-07-05 05:13:00 +00:00
Aaron J. Seigo
a404763830 don't check the view for regular applets; the problem only affect containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828205
2008-07-04 21:48:25 +00:00
Marco Martin
f203f0ffff don't setFocus on applets or containments when the view is zoomed out,
that would drive to an automatic scrolling of the view when clicking on
it, hiding other containments

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828193
2008-07-04 21:13:48 +00:00
Aaron J. Seigo
b6393ba5a2 a bit of code detangling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828176
2008-07-04 20:39:45 +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
Aaron J. Seigo
b9419d74bb don't fade out when we're toggled until we closed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828087
2008-07-04 16:47:01 +00:00
Aaron J. Seigo
6f06fd2590 take care of our own connecting, thank you very much
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828086
2008-07-04 16:46:30 +00:00
Aaron J. Seigo
9e8629645a always connect the toolbox toggle signal to the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=828085
2008-07-04 16:45:34 +00:00
Aaron J. Seigo
55db8b640a update the hearder guard
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827964
2008-07-04 09:32:46 +00:00
Andrew Lake
5fd5e739d2 painter translation in drawTextLayout causes text to be draw slightly lower than shadow.
Adjusted shadow offset to compensate.  Result is closer pixel-wise to folderview text.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827897
2008-07-04 05:06:57 +00:00
Andrew Lake
c6897f66ae Correct text and shadow composition to accomodate negative offsets.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827890
2008-07-04 03:55:14 +00:00
Aaron J. Seigo
922c85c705 it makes no sense to have the blur stuff in one header/namespace and the roundedRectangle stuff in another: it's all painting related. putting them together, however, makes "ImageEffects" really not accurate. ImageEffects will also clash, concept-wise, with a real effects lib.
therefore, introducing Plasma::PaintUtils.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827859
2008-07-03 23:50:13 +00:00
Aaron J. Seigo
1c0edaceb7 you can't include CamelCase includes from files in kdebase: the CamelCase includes aren't available until kdebase is installed.
CCMAIL:notmart@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827810
2008-07-03 20:43:00 +00:00
Marco Martin
c6d8e7e8c1 blur radius and displacement same as folderview, and when the shadow is
light it becomes an halo (displacement 0)
this could even be decided by the theme?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827783
2008-07-03 19:22:49 +00:00
Marco Martin
4c7e3d1d0b drop shadow behind the icon text,
so now the icon background is gone and appears only on mouse over

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827715
2008-07-03 17:04:56 +00:00
Sebastian Sauer
6d5bd4b176 We extend QStyleOptionGraphicsItem and need to increment the version else we run into a crash on qstyleoption_cast<const Containment::StyleOption *>(option)->view if we got a QStyleOptionGraphicsItem rather then a Containment::StyleOption.
And now "plasmoidviewer panel" does work too :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827678
2008-07-03 15:58:37 +00:00
Aaron J. Seigo
92ee66d578 be extra sure that the applet has an entry in the config on being added so when we config sync we're guaranteed they are in there
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827479
2008-07-03 05:46:25 +00:00
Aaron J. Seigo
355df19374 SVN_SILENT: ocd much?
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827478
2008-07-03 05:45:32 +00:00
Aaron J. Seigo
8e9e1e1478 allow the main script to be overriden
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827477
2008-07-03 05:45:07 +00:00
Aaron J. Seigo
40dc671844 SVN_SILENT: minor header cleanups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827474
2008-07-03 05:13:15 +00:00
Marco Martin
c8dfb2f98c add missing camelcase header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827124
2008-07-02 10:55:02 +00:00
Andrew Lake
4675e518b5 Plasma::ImageEffects namespace. Add shadowBlur and shadowText functions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=827065
2008-07-02 08:02:27 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
b1a56d99ee drop the max time until config sync to 30s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826886
2008-07-01 18:41:42 +00:00
Aaron J. Seigo
5a7eaf2ca9 consintency in action naming, spotted by Richard Moore
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826881
2008-07-01 18:23:39 +00:00
Aaron J. Seigo
a4ba7d48f2 put dataUpdated magic back into the text displayers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826536
2008-06-30 22:05:11 +00:00
Marco Martin
878966df21 immutability() doesn't always return d->immutability()
it cause the clock to be moved also in locked mode


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826501
2008-06-30 21:05:16 +00:00
Aaron J. Seigo
09dcefccf8 add the zoom actions to all non-panel containments, but only add them to the toolbox by default for desktop containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826349
2008-06-30 14:41:31 +00:00