Commit Graph

26 Commits

Author SHA1 Message Date
Aaron J. Seigo
725c0c3137 when the contianment goes away, zero our pointer to it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871483
2008-10-15 00:26:42 +00:00
Allen Winter
81d09742bb fix spelling
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +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
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
Aaron J. Seigo
9244760edb make this connectable outside of libplasma
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852177
2008-08-25 13:16:31 +00:00
Aaron J. Seigo
3f7d35a61b fix up swapContainment a bit; it doesn't need to take the old containment, as we already know what that is, document with some comments, and make better use of save/restore and addApplet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849912
2008-08-20 13:13:03 +00:00
Petri Damstén
bacc1d65d4 Add swapContainment function
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849802
2008-08-20 08:07:09 +00:00
Richard Dale
dc878d9033 * Make the multiple inclusion header guard macros all start with PLASMA_
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +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
e97bd8e855 clearer apidox
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811688
2008-05-23 15:43:49 +00:00
Chani Armitage
81985d2b00 clicking an available desktop containment sets the view to that containment
now it's much easier to jump to the activity you want :)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810614
2008-05-21 06:16:45 +00:00
Chani Armitage
4f31401ca9 *basic keyboard shortcuts for desktop-containment-switching
*setContainment went virtual so that switches can be done reliably

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810098
2008-05-20 01:27:49 +00:00
Urs Wolfer
37d49b5283 header cleanness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806732
2008-05-12 09:18:47 +00:00
Rob Scheepmaker
143b126bca Improved drag&drop: when an applet gets dragged, it now only moves to a toplevel
window when necesarry (when the applet moves over another view or window).


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806641
2008-05-11 22:02:35 +00:00
Rob Scheepmaker
78bfa23fac added setTrackContainmentChanges to view. necesarry for improved drag&drop visualisation.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802187
2008-04-28 19:14:28 +00:00
Rob Scheepmaker
f27fb3fc1b Applied some of the API changes to Plasma::View:
- renamed drawWallpaper
- made config() protected
- moved updateSceneRect() and initGraphicsView to pimpl


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798623
2008-04-18 17:40:57 +00:00
Chani Armitage
fd37ae89b0 correct more lies
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=796953
2008-04-14 15:41:30 +00:00
Aaron J. Seigo
30b0cef28a add view id and config (the latter relying on the former)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=794394
2008-04-07 09:17:10 +00:00
Aaron J. Seigo
9c638f076d * remove the screen based ctor. now we always require a containment.
* move some code into setContainment that was always needed, not just in setScreen
* fix a boolean logic error

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786174
2008-03-16 07:19:27 +00:00
Aaron J. Seigo
9089d89b12 signals for when the view is about to adjust its scene rect in response to the containment changing so that geometry changes made in view subclasses can be properly coordinated
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782388
2008-03-05 00:02:37 +00:00
Aaron J. Seigo
2b68bb49ee This lets the View have a desktop set to it and when drawing a Containment we pass in the effective desktop # being currently painted. The Containment is free to ignore this information, or it can try and cast the passed in options to a Containment::StyleOption to retrieve this information. This should be used for any per-desktop painting that happens (e.g. separate background per desktop) and opens the way to having View-per-Desktop for better composite manager support (think: desktop grid or cube where more than one desktop is simultaneously visible)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778239
2008-02-22 23:41:44 +00:00
Riccardo Iaconelli
8c6436d69c Fix up aaron's... ehm... interesting doc :P
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=763266
2008-01-19 02:45:55 +00:00
Jason Stubbs
4a1823bff4 Initialize the graphicsview with default properties regardless of which
constructor is called. This is important to the panel because QGraphicsView
has an off-by-one bug when using the default AlignCenter alignment and an
odd height.

CCBUG: 154832

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754550
2007-12-30 07:32:48 +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
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
030ca6d6d2 a common view class
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736997
2007-11-15 08:22:58 +00:00