Commit Graph

2703 Commits

Author SHA1 Message Date
Aaron J. Seigo
d0936f32a2 missing file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860029
2008-09-11 19:55:18 +00:00
Rob Scheepmaker
cb4d610219 Move ExtenderApplet to libplasma. This doesn't work just yet, but aseigo will take a look at
it, so it will soon. ;)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860007
2008-09-11 19:26:05 +00:00
Ryan P. Bitanga
d0863e43e8 Remove cruft and fix style in RunnerManager
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859706
2008-09-11 06:37:09 +00:00
Alex Merry
057ad8b01a Fix the calendar dialog popping up in the wrong place the first time.
The issue is that we are using a QProxyWidget, and it seems that QWidgets don't have a sensible size() until they're shown for the first time.  So we use sizeHint() (or effectiveSizeHint() in this case) instead.

The only issue I can see is that if the widget passed to the dialog is in a layout, its size() and effectiveSizeHint(Qt::PreferredSize) might not match.  Is this something we need to deal with?  If so, how?

CCMAIL: plasma-devel@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859660
2008-09-10 21:28:16 +00:00
Aaron J. Seigo
12443b7d98 curves ... no longer just a place for women to work out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859643
2008-09-10 20:51:53 +00:00
Aaron J. Seigo
c633c8ac57 hook up the containment configuration interface to the generic containment configuration mechanism; now it shows in the toolbox too! whee!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859593
2008-09-10 18:51:30 +00:00
Aaron J. Seigo
bf942582e8 support adding the configuration entry to the toolbox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589
2008-09-10 18:42:52 +00:00
Aaron J. Seigo
8b3510bf7e * fix a math error in the movement framerate calc
* increase the quality of movements (more frames)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859588
2008-09-10 18:42:11 +00:00
Script Kiddy
d8d250103a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859075
2008-09-09 10:49:24 +00:00
Aaron J. Seigo
4ae5e8bdf7 respect "null" as a containment request: no wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858909
2008-09-09 01:16:10 +00:00
Aaron J. Seigo
81ff908a3e * for ghost painting, used when dragging, we only need to know true or false .. we don't need to check the view
* cache the current view as this gets called on every mouse move event when dragging something by the handle.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858901
2008-09-09 00:23:02 +00:00
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