Commit Graph

46 Commits

Author SHA1 Message Date
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Aaron Seigo
7f4bd841e2 make graphicsWidget const 2011-05-20 08:10:39 +02:00
Marco Martin
698b513868 the dialog private is in its seprarate file ecause it gets accessed by popupapplet to set an applet pointer
in this way we can use the corona to actually find out the real desktop geometry, that doesn't fail for extended monitors like QDesktopWidget does.

BUG:257955

svn path=/trunk/KDE/kdelibs/; revision=1207416
2010-12-17 22:37:09 +00:00
Marco Martin
2d190922f6 call addOffscreenWidget(widget) before actually embedding the widget in setGraphicsWidget(widget)
svn path=/trunk/KDE/kdelibs/; revision=1158454
2010-08-02 19:29:45 +00:00
Marco Martin
24e9370b7d mention Corona::addOffScreenWidget in setGraphicsWidget apidoc
svn path=/trunk/KDE/kdelibs/; revision=1158403
2010-08-02 18:40:40 +00:00
Aaron J. Seigo
79d8b41bda adjustSize is not a slot, so create a private slot and use that as a relay
svn path=/trunk/KDE/kdelibs/; revision=1125281
2010-05-11 07:20:46 +00:00
Aaron J. Seigo
3e6f6ab670 This patch splits themeUpdated() into a set of methods that do the border checking and mask updating so that only the necessary work is actually done. The resize and move events now also cooperate in the scheduling of calls to checkBorders (reducing them by 50% or more during resizing). Calls to update(), which trigger full repaints, are also minimized.
svn path=/trunk/KDE/kdelibs/; revision=1104141
2010-03-16 20:40:59 +00:00
Aaron J. Seigo
40b3e0bed5 allow users of Dialog to sync to the widget immediately
svn path=/trunk/KDE/kdelibs/; revision=1073291
2010-01-11 22:52:08 +00:00
Marco Martin
8e967abc2d avoid view sync more than every 150 msecs, avoids cpu hogging and displaying garbage
BUG:206946

svn path=/trunk/KDE/kdelibs/; revision=1062972
2009-12-16 14:19:10 +00:00
Michał Dutkiewicz
2be30d0774 Fix documentation a bit
svn path=/trunk/KDE/kdelibs/; revision=1059368
2009-12-06 12:29:05 +00:00
Giulio Camuffo
a35e7394c3 adds aspect ratio modes to Dialog; PopupApplet sets the right one for its dialog
svn path=/trunk/KDE/kdelibs/; revision=1051074
2009-11-18 20:11:03 +00:00
Aaron J. Seigo
f9b2ad74fc api docs and note an API wart that should be fixed in the next BIC release
svn path=/trunk/KDE/kdelibs/; revision=1038110
2009-10-20 16:37:25 +00:00
Aaron J. Seigo
b5d5a9a924 remove a bunch of dead code and some dptr member vars thanks to reliance on the kwin effects
svn path=/trunk/KDE/kdelibs/; revision=1022539
2009-09-12 00:18:26 +00:00
Marco Martin
6a60d6cf75 WindowEffects namespace: here will go functions used to set atoms on
windows to trigger kwin effects, without having t use xlibs directly
from the rest of the code

svn path=/trunk/KDE/kdelibs/; revision=1002670
2009-07-26 18:58:27 +00:00
Aaron J. Seigo
25b34778ce standard naming
svn path=/trunk/KDE/kdelibs/; revision=976575
2009-06-02 05:49:31 +00:00
Aaron J. Seigo
406a0fac5f animated shows as well
svn path=/trunk/KDE/kdelibs/; revision=954617
2009-04-16 04:19:03 +00:00
Aaron J. Seigo
3919fe141a support animated hiding
svn path=/trunk/KDE/kdelibs/; revision=954610
2009-04-16 03:19:02 +00:00
Marco Martin
3f50ffd7ce deactivate the dialog borders that are at the edge of the working
desktop, makes kickoff more fitts law friendly and gives for free an
extender-like appearance to all dialogs

svn path=/trunk/KDE/kdelibs/; revision=934351
2009-03-02 20:32:01 +00:00
Aaron J. Seigo
2b8a8ceec4 escape == hide
svn path=/trunk/KDE/kdelibs/; revision=905313
2009-01-04 07:59:55 +00:00
Aaron J. Seigo
b69d0722d8 clear with transparency; a little better but not perfect yet
svn path=/trunk/KDE/kdelibs/; revision=895441
2008-12-10 18:52:26 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Allen Winter
e88e2faa63 first batch of small coding style fixes.
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Alessandro Diaferia
fbc68c415f convenience method inControlArea()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866786
2008-10-01 21:53:38 +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
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
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
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
Alexis Ménard
91e63390b4 Now tooltip on kickoff works again, when hide/show it.
The popupApplet has now the capability to know if the dialog is displayed or not, then call popupEvent.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=855715
2008-09-01 10:45:33 +00:00
Rob Scheepmaker
1bae884531 Improved Extender support in popupApplet. Dialog resizes correctly, and even the last
item is removable. Implementation is still not perfect, but it's now a lot better then it 
was.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=853962
2008-08-28 14:32:48 +00:00
Rob Scheepmaker
56fc76d150 Detaching ExtenderItems from a Plasma::Dialog works now, but resizing the dialog isn't
always done correctly yet. I'm still looking into that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852535
2008-08-25 23:16:18 +00:00
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Marco Martin
a2d36c8844 sigh, with qgraphicswidgets we don't have the luxury of the
geometrychanged() signal... trying with an event filter

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=843566
2008-08-07 10:34:14 +00:00
Marco Martin
24398315e7 now Plasma::Dialog has setGraphicsWidget(QGraphicsWidget*)
it will be used by all applets that needs to display a graphics widget
in a popup window
at the moment used by popupapplet and clockapplet

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=843265
2008-08-06 20:41:10 +00:00
Aaron J. Seigo
ad7a1256a9 these methods aren't used and were fairly ugly to begin with =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842654
2008-08-05 18:04:31 +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
1cd27868ac SVN_SILENT: cleanups
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816744
2008-06-04 18:17:32 +00:00
Pino Toscano
3d9a4ad7e1 fix signal/slot usage
CCMAIL: darktears31@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798097
2008-04-17 13:12:25 +00:00
Alexis Ménard
cee1f3d1cb API change as decided in tokamak
private slot is now in the pimpl

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798090
2008-04-17 12:45:46 +00:00
Marco Martin
2f6a8de658 recalculate all the margin sizes when the plasma theme changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772465
2008-02-08 20:50:55 +00:00
Aaron J. Seigo
2c264def9d use SvgPanel. nice way to get rid of 80+ lines of duplicate code
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771744
2008-02-06 21:07:16 +00:00
Alexis Ménard
b7e978d04c Add a method to position the dialog just with the QGV
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754467
2007-12-29 21:38:00 +00:00
Pino Toscano
6664c9a206 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745319
2007-12-05 23:16:55 +00:00
Sebastian Kügler
9b112c42ae Use QGraphicsSceneEvent instead of QGraphicsSceneMouseEvent to make it more flexible (actually needed for the devicenotifier)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745315
2007-12-05 23:09:28 +00:00
Sebastian Kügler
d2514a373b Plasma::Dialog, a widget-dialog thing that can be used by plasma
applets to show additional information, using QWidgets and the like.

It's factored out from devicenotifier, thanks to Alexis Menard.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745298
2007-12-05 22:32:45 +00:00