Commit Graph

2348 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
c5c1c7b1d6 swap screens when swapping containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826348
2008-06-30 14:40:59 +00:00
Aaron J. Seigo
07613b5b41 SVN_SILENT: ssh.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826347
2008-06-30 14:39:25 +00:00
Dirk Mueller
1fc493c0c7 more link line fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826274
2008-06-30 09:40:15 +00:00
Laurent Montel
135d5c8ac6 Add missing camelcase includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826239
2008-06-30 07:24:50 +00:00
Laurent Montel
c4b662c910 Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826237
2008-06-30 07:15:37 +00:00
Aaron J. Seigo
1de24334c8 copy/paste error, caught by the ChaniReview
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825692
2008-06-29 00:27:04 +00:00
Aaron J. Seigo
6db6dafee6 sync the api with QtWebkit changes in 4.4.0
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825691
2008-06-29 00:20:31 +00:00
Aaron J. Seigo
caa6823d98 always use double click, regardless of single/double click activation in this list (necessary due to update in kstyle in kdelibs)
BUG:165135

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825686
2008-06-29 00:06:04 +00:00
Aaron J. Seigo
bd4c5669a8 respect immutability on panel creation; there's no way to add panels at runtime anymore, but at least this way the locking is respected if somehow one manages to do so.
BUG:165139

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825672
2008-06-28 23:50:43 +00:00
Aaron J. Seigo
cd2feaca66 while writing documentation it occurred to me that the colors file is the wrong place for this: it must be possible to define a wallpaper and colors separately
also put the checking for wallpapers in the theme into theme initialization instead of doing it on every wallpaper lookup

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825612
2008-06-28 20:20:22 +00:00
Aaron J. Seigo
bb1aabc5bf add the wallpapers path to the theme package metadata
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825609
2008-06-28 20:13:28 +00:00
Aaron J. Seigo
96c004fc9d SVN_SILENT: didn't mean to leave this debug output activated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825597
2008-06-28 19:08:14 +00:00
Aaron J. Seigo
f4b17accac Plasma::Theme::wallpaperPath(const QSize&)
a nice improvement that fixes a small handful of packaging bugs and nuisances.
it allows us to do away with harcoding the wallpaper in multiple places (previously 3 places) in application code. as an extra bonus is also allows:

* the theme to define the default wallpaper
* the theme to ship with a default wallpaper (perhaps later on we can load wallpapers shipped with a theme in the config dialog?)
* the default wallpaper to defined in the plasmarc file (so downstream doesn't have to hack the code to change it)

CCMAIL:panel-devel@kde.org
CCMAIL:kde-artists@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825592
2008-06-28 18:57:12 +00:00
Aaron J. Seigo
77214a87b3 make this public for the script writers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825545
2008-06-28 16:02:08 +00:00
Script Kiddy
443dbfce69 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825215
2008-06-27 16:03:42 +00:00
Laurent Montel
17d7e040ff Tag as devel element
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825016
2008-06-27 06:45:00 +00:00