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
Aaron J. Seigo
07d6548471
simplify this code, remove a bunch of duplication, re-order the calls in what should be the safest ordering and, most importantly for the bug report, remove the scene event filter from the handle immediately
...
CCBUG:164849
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824875
2008-06-26 19:23:07 +00:00
Richard Dale
64016f5660
* Oops, got move and copy error messages round the wrong way.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824862
2008-06-26 18:39:52 +00:00
Aaron J. Seigo
6c96501e15
make package installation work; test passes now.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824846
2008-06-26 18:09:45 +00:00
Aaron J. Seigo
3bd5f495e0
test passes now
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824841
2008-06-26 17:59:49 +00:00
Richard Dale
41d8ae9752
* If an archived package is being installed use KIO::file_copy() to move it to the destination. If
...
it is a directory, use KIO::copy() to copy the directory heirarchy over instead.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824785
2008-06-26 16:30:40 +00:00
Script Kiddy
2299f72880
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824402
2008-06-25 17:27:50 +00:00
Aaron J. Seigo
350bb8c48e
AppletScript::shape()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=824153
2008-06-25 00:33:46 +00:00
Script Kiddy
4f25215729
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823977
2008-06-24 14:18:37 +00:00
Marco Martin
ccd106ac36
let's try to fix this just another time.
...
don't remove the scene event filter on start fading otherwise the
previous fix will work a single time.
(really need to kill this file some day:)
BUG: 164628
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823868
2008-06-24 12:11:17 +00:00
Sebastian Sauer
1c59c73ae2
Don't assert since it's tmp and not temp ;)
...
But it doesn't work yet anyway cause we don't pass install/remove commands around.
BUG:164411
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823774
2008-06-24 05:22:06 +00:00
Aaron J. Seigo
2fc9fca715
make setConfigurationRequired match setFailedToLaunch by adding a reason string. this allows more than just a mysterious "Configure" button. thanks to Chani for spotting the API irregularity.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823770
2008-06-24 03:17:38 +00:00
Aaron J. Seigo
8a974f0f46
small changes that make the code more readable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823769
2008-06-24 03:16:33 +00:00
Aaron J. Seigo
03d7946373
update with the theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823768
2008-06-24 03:15:56 +00:00
Marco Martin
f359a0f551
removes the modifications of the maximum and minimum size hints made in
...
flushPendingConstraintsEvents, now it changes only the sizepolicy
and the enforcing is done by returning the proper values in sizeHint.
ConstrainedSquare behaves like square with sizes less than
Liconloader::sizeLarge, otherwise the size is not much controllable and
would be hard to have the right (not blurry) icon sizes when the panel
is not so big
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823640
2008-06-23 18:49:10 +00:00
William Viana Soares
f8aa360b28
Replaced wrong signal name from wrong class (probably qt api change). Now the widget works again.
...
CCMAIL: aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823375
2008-06-23 07:50:33 +00:00
Aaron J. Seigo
0a89bbc5ea
BIC change, but necessary. i found a very valid case for this being virtual (sadly)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823337
2008-06-23 04:26:13 +00:00