Commit Graph

3423 Commits

Author SHA1 Message Date
Aaron J. Seigo
4b8f4092a0 * @internal: introduce a containmentConstraintsUpdated so that we can manage some containment specific things
* introduce CustomContainment types which will be more 'hands off'

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738503
2007-11-19 01:19:58 +00:00
Aaron J. Seigo
8d29e6f5e8 move the toolbox into libplasma as a private class to allow all containments to access it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738501
2007-11-19 01:19:12 +00:00
Aaron J. Seigo
997f9e75a8 allow moving on any part of the applet surface; it seems our widgets still work just fine with this which is pretty cool; in this case i like the event model for QGV =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738454
2007-11-18 23:03:57 +00:00
Aaron J. Seigo
bcb4268c19 only paint the part of the background that is needed; avoid creating lots of variables when we're using the cached version
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738450
2007-11-18 22:46:46 +00:00
Aaron J. Seigo
5b4dbbe303 we do actually still want context menus on applets, even with the hover thing.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738430
2007-11-18 22:02:01 +00:00
Aaron J. Seigo
c9ce91e944 nicer painting of the bakground. we use the colour scheme from the theme for this, though now an svg. i want this to be a bit more of a standardized element and svg's don't deal overly well with having rounded corners bent to odd proportions =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738425
2007-11-18 21:34:27 +00:00
Aaron J. Seigo
9c9e6e4371 provide a rounded rectangle path generator so we can share this implementatoin around plasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738424
2007-11-18 21:33:04 +00:00
Aaron J. Seigo
86d745a644 get rid of the crash for now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738319
2007-11-18 16:24:38 +00:00
Script Kiddy
16f5c95fef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738178
2007-11-18 07:51:51 +00:00
Aaron J. Seigo
b4bcccace7 durrrrrrrrrrrrrrrr
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738149
2007-11-18 02:39:37 +00:00
Aaron J. Seigo
db730a36d9 add a little bit of snapping to the rotate at 90 degree intervals
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738148
2007-11-18 02:37:30 +00:00
Aaron J. Seigo
fa25221352 * we don't really need a move button now i guess
* put close at the bottom and move it away a bit
* increase the size of the icons a little bit (i went too small last); though this probably should be a property of the screen res

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738147
2007-11-18 02:00:20 +00:00
Aaron J. Seigo
bf7580d942 DataEngine::isEmpty() for shawn
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738136
2007-11-18 01:32:11 +00:00
Aaron J. Seigo
3af857e265 aseigo's first run over this code;
* don't use magic pixel values, use static const ints and it makes everything so easy to play with
* make the borders and icons much smaller
* allow dragging using any area that isn't the applet. really, we ought to be able to drag on the applet border as well, but ce la vis?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738128
2007-11-18 01:16:47 +00:00
Aaron J. Seigo
1dae9bba86 SVN_SILENT: misc ws fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738072
2007-11-17 21:42:36 +00:00
Aaron J. Seigo
b7ef853123 stub in elementAtPoint; it doesn't actually do anything right now pending changes to QSvgRenderer, but the code is all there ready to go
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738069
2007-11-17 21:34:28 +00:00
Aaron J. Seigo
2f5fa3f5fa remove items that are removed from us from our layout, as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738068
2007-11-17 21:32:21 +00:00
Aaron J. Seigo
40e5395c3e guard a bit better against multiple desktop containments claiming the same screen
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738061
2007-11-17 20:50:57 +00:00
Aaron J. Seigo
c28155b585 when we change our border painting status, we need to update the geometry, not just prepare a movement change; the former also re-jigs our layouts
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738039
2007-11-17 19:03:17 +00:00
Aaron J. Seigo
d9493e73ef avoid unecessary updates, use d->size consistently so problem, if they arise, show up more consistently ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738038
2007-11-17 19:01:02 +00:00
Aaron J. Seigo
e5dca92fdf always use the parent's geometry when available and stop keeping track of our own geometry in FreeLayout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738036
2007-11-17 18:53:16 +00:00
Aaron J. Seigo
47130fbba5 * initConstraints -> loadConstraints, since that's actually what it does
* turn off the background right away in containments to avoid getting size hints with the boundaries!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737709
2007-11-17 03:31:25 +00:00
Benjamin Reed
d239ceb342 need opengl include directory
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737561
2007-11-16 14:42:04 +00:00
Andre Duffeck
3ff97459e4 Split the AppletBrowser into AppletBrowser and AppletBrowserWidget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737519
2007-11-16 12:23:42 +00:00
Andre Duffeck
7677e98e9f do not disconnect if there's nothing to disconnect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737447
2007-11-16 08:52:09 +00:00
Allen Winter
1c4dd4a05a DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737278
2007-11-15 22:33:12 +00:00
Laurent Montel
287a5db49d SVN_SILENT: not necessary to add endl;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737177
2007-11-15 18:46:43 +00:00
Dirk Mueller
002907bd2a header cleanness++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737164
2007-11-15 17:43:04 +00:00
Andre Duffeck
eabba50aa2 this may result in an endless loop and is not necessary
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737074
2007-11-15 12:54:37 +00:00
Andre Duffeck
174096635e Add signals that incicate an application launch. DashBoardView can
connect and hide itself then, for example.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737051
2007-11-15 11:06:33 +00:00
Andre Duffeck
7a333aee4c Try harder to find the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737050
2007-11-15 11:01:17 +00:00
Aaron J. Seigo
6aa793e6a8 * fix the case of empty pluginName properly
* mark containments as containments; we need to do this here because a containment may also be used as a regular applet; only the corona knows which is when

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737028
2007-11-15 09:41:55 +00:00
Aaron J. Seigo
bfcc1e31e6 * get rid of the paintHover, that's deprecated by kevin's hover stuff in the coronal world
* don't paint the interface of containments being shown on views that don't want a background

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737026
2007-11-15 09:39:46 +00:00
Aaron J. Seigo
206b07ece1 and now panels set themselves properly again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737021
2007-11-15 09:15:53 +00:00
Aaron J. Seigo
58d7e745f9 camel case include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736999
2007-11-15 08:30:26 +00:00
Aaron J. Seigo
030ca6d6d2 a common view class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736997
2007-11-15 08:22:58 +00:00
Andre Duffeck
3b6b25445d Do not use space for text if there is none set
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736901
2007-11-15 06:59:25 +00:00
Aaron J. Seigo
44297aaddb this can, and should, return 0 if it doesn't exist. this isn't a create-on-demand method.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736897
2007-11-15 06:32:54 +00:00
Aaron J. Seigo
ce765ec610 better button mouse interaction; patch by Jason Stubbs
CCMAIL:jasonstubbs@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736872
2007-11-15 03:35:12 +00:00
Jeremy Paul Whiting
311f58dea6 SVN_SILENT conform to kdelibs style
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736150
2007-11-13 15:49:28 +00:00
Andre Duffeck
f1af4e3271 i forgot to adapt the button mapping at the changed button positions.
Thanks marsmissions for reporting.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736006
2007-11-13 09:00:52 +00:00
Andre Duffeck
0a24d0948f we need to also update the parent layout if there is one
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735993
2007-11-13 08:34:37 +00:00
Script Kiddy
eca39f1264 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735977
2007-11-13 07:45:41 +00:00
Andre Duffeck
29501c53f2 require less space if the applet does not have a configuration interface
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735975
2007-11-13 07:43:10 +00:00
Andre Duffeck
a99f124c4d Do not leave a gap if the applet does not have a configuration
interface

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735974
2007-11-13 07:40:21 +00:00
Andre Duffeck
e59c8c7241 At least set an interval of 1 or it sometimes crashes with division by zero
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735966
2007-11-13 06:29:46 +00:00
Jeremy Paul Whiting
a9673b0ac7 don't crash when hovering over the panel plasmoids
I'm fairly confident the assertion that used to be here is bogus because of panels not belonging to the desktop containment
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735913
2007-11-13 00:29:09 +00:00
Kevin Ottens
bf77e378a6 Add support for applet handles in plasma containments.
Still a couple of issues to flesh out, but that's usable already.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735845
2007-11-12 19:27:21 +00:00
Script Kiddy
27374262f5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735598
2007-11-12 08:08:14 +00:00
Aaron J. Seigo
f242476e72 items were getting added to the same layout more than once. now that the desktop actually knows what its layout is, this screws things up pretty badly. so fix that.
however, the panel is now screwed and will be until i write a proper layout for it. be warned: i really don't want to hear about the panel until then.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735280
2007-11-11 09:22:17 +00:00