Commit Graph

2842 Commits

Author SHA1 Message Date
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
Alex Merry
33f7e1e3d6 Actually relicense the files this time. Last time, I managed to change the text from GPL to... GPL.
Again, plasma-devel@kde.org mail archives have the permissions.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858780
2008-09-08 17:32:25 +00:00
Aaron J. Seigo
28a014d6fe use the standard KPluginInfo stuff for this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858758
2008-09-08 16:55:05 +00:00
Aaron J. Seigo
d14e6c63bb add setHasConfigurationInterface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858745
2008-09-08 16:20:28 +00:00
Alessandro Diaferia
49211892df we need to inform about resize happened
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858684
2008-09-08 12:33:46 +00:00
Alexis Ménard
ee24c05983 Optimization
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858374
2008-09-07 22:07:03 +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
Alex Merry
90f5feb1a6 Relicense files. See plasma-devel@kde.org mailing list archives for permissions.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858364
2008-09-07 21:33:02 +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
Sebastian Kügler
f9c49d0488 Cache the result of graphicsWidget(), it gets called quite
often and might not be really fast for applets that do all
the setting up of the widget in this function.

Also fix the indenting, in some places it was 3 instead
of 4 spaces.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858350
2008-09-07 20:49:10 +00:00
Alessandro Diaferia
ca0a7d962f added support for resizing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858269
2008-09-07 16:55:37 +00:00
Aaron J. Seigo
d3280cee63 even simpler, and preserves the old contentsRect as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858253
2008-09-07 16:22:34 +00:00
Script Kiddy
1ce1108c39 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858087
2008-09-07 10:56:32 +00:00
Marco Martin
37b09554ce if d->dialog is child of view when the formfactor changes the dialog is
done on the canvas, in the panel, so mostly invisible
so delete it by hand

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857881
2008-09-06 20:04:59 +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
6fbfe14609 * public inheritence
* contextChanged -> changed

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857851
2008-09-06 16:28:57 +00:00
Script Kiddy
4d96fb5f65 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857775
2008-09-06 12:15:37 +00:00
Aaron J. Seigo
9907d96b11 parent popups to the view, change the parenting when the parent changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857619
2008-09-05 20:44:43 +00:00
Aaron J. Seigo
fa32b0f2b6 be a little more forgiving in trying to find the Best View
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857615
2008-09-05 20:37:15 +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
Marco Martin
cd4565ce3d cleared a bit of useless lines for the layouting, some wrong that made
the icon to not resize with the panel and set as constrainedsquare, as
applet icons should be

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857535
2008-09-05 16:24:32 +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
b422757da1 add a generic contextChanged signal (need to do an API review on this class next week once we have more of the nepomuk stuff together)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857494
2008-09-05 14:46:05 +00:00
Rob Scheepmaker
8d3ef3e367 Don't destroy extenderitems that are being dragged around.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857487
2008-09-05 14:16:55 +00:00
Rob Scheepmaker
73a1b6715e Open up extender containing PopupApplets when hovering over it with an ExtenderItem.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857473
2008-09-05 13:44:45 +00:00
Rob Scheepmaker
dfbf606c6c Set the same minimumsize on the spacer and and emptyExtenderTextLabel when removing the
last ExtenderItem, so it looks a bit nicer.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857468
2008-09-05 13:28:03 +00:00
Laurent Montel
1f7c26124e Translate it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857276
2008-09-05 07:20:11 +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
Rob Scheepmaker
dcaf4a4b8a And finally we can drag even the last ExtenderItem from PopupApplet without stuff
breaking all around, and some random crashes are avoided too, all by making the
Dialog in PopupApplet no longer of the type Qt::Popup and installing an event filter
to still hide the dialog when you click somewhere else on your screen.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857095
2008-09-04 17:09:34 +00:00
Marco Martin
04d513894b draw the slider with plasma theme svgs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857080
2008-09-04 16:20:49 +00:00
Aaron J. Seigo
be440d788a * always set up a job to run when an operation call is made, even if it fails
* call emitResult() from setResult

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856872
2008-09-03 23:55:06 +00:00
Aaron J. Seigo
124dd4bd63 various fixes i've come across while working on services stuff today
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856868
2008-09-03 23:33:57 +00:00
Aaron J. Seigo
d89e799c96 don't rely on KConfigSkeleton actually creating groups in the config or even being useful in telling us what groups it knows about. KConfigSkeleton is far too tightly coupled with the idea of KConfigDialog to be useful for half the things it should be useful for. =(
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856847
2008-09-03 22:28:10 +00:00
Aaron J. Seigo
b53e688306 make it possible to connect to this signal outside the Plasma namespace
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856845
2008-09-03 22:25:13 +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
456e81518e * update the source (if appropriate) when query is called
* use the source name for the destination of NullService; handy in debugging

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856772
2008-09-03 18:52:23 +00:00
Aaron J. Seigo
6774525044 preserve the target information with NullService
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856771
2008-09-03 18:51:41 +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
Aaron J. Seigo
35bfe20877 why yes, dani_l, i have looked into this issue. ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856686
2008-09-03 15:06:02 +00:00
Aaron J. Seigo
bfbd49b438 remove the no longer used private slot, and add a default start() method so it can be used as is
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856499
2008-09-03 04:25:49 +00:00
Aaron J. Seigo
2963de33e6 just toRect will suffice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856498
2008-09-03 04:25:24 +00:00
Aaron J. Seigo
3c7c59d9f8 don't repaint the entire item *every time* if the exposed area is just a small section. this saves huge numbers of whole screen repaints.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856476
2008-09-02 23:29:54 +00:00
Aaron J. Seigo
9367d50a83 simplify ..
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856475
2008-09-02 23:28:59 +00:00