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