Aaron J. Seigo
71b89ebb5f
don't show categories with no visible items in them
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738621
2007-11-19 09:46:52 +00:00
Aaron J. Seigo
07e9e1d3e3
stub in the code for restoring the transform; however it doesn't work as the FIXME explains. but i'm too tired to do anymore on this tonight
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738595
2007-11-19 09:21:57 +00:00
Aaron J. Seigo
523c2971c6
* save the transform to the config file
...
* clean up some dead code
* try and get rid of a few of the jaggies that happen when rotating
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738594
2007-11-19 09:21:11 +00:00
Aaron J. Seigo
8158515bfd
* actually resize the applet rather than just change its matrix
...
* correct the positioning of the close button
* correct the minimum required size bit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738577
2007-11-19 07:58:31 +00:00
Aaron J. Seigo
d4438218f4
don't manage our own size, use the facilities in Widget
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738576
2007-11-19 07:57:04 +00:00
Aaron J. Seigo
1a3aec4af2
add another setSize convenience method and use d->size more consistently internally for clarity
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738568
2007-11-19 07:53:48 +00:00
Aaron J. Seigo
78293fea45
always return something, well, even though we always would have. g++ isn't *that* smart ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738560
2007-11-19 07:40:25 +00:00
Aaron J. Seigo
85e8a49d7c
tighten up the applet handles a little more even
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738555
2007-11-19 07:23:07 +00:00
Aaron J. Seigo
0006ce0ec4
introduce per-side margins to layouts. you can still just call setMargin(qreal) if you wish, but now this is much more useful for, say, panels.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738526
2007-11-19 03:30:24 +00:00
Aaron J. Seigo
fbf2505f8a
only if it is being used as a containment actually give it the toolbox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738519
2007-11-19 02:27:53 +00:00
Aaron J. Seigo
b0789ebe14
here, have your containments back. type() was pretty widely used and rather important apparently ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738514
2007-11-19 02:14:18 +00:00
Aaron J. Seigo
aad6b2a52b
interesting; with that const fix i discovered this clashed with QGrahpicsItem::type() .. doh!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738507
2007-11-19 01:35:10 +00:00
Aaron J. Seigo
b57b27550a
a bit of const correctness
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738506
2007-11-19 01:26:50 +00:00
Aaron J. Seigo
67b7161912
* call containmentConstraintsChanged appropriately
...
* don't use another bool to maintain the state of stretched borders
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738504
2007-11-19 01:21:41 +00:00
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