[PATCH] Plasma Layouts

Matias Valdenegro T. mvaldenegro at informatica.utem.cl
Mon May 21 19:23:31 BST 2007


El Lun 21 May 2007, Andreas Aardal Hanssen escribió:
> On Monday 21 May 2007 08:01, Matias Valdenegro T. wrote:
> > Attached are :
> > - Patch against kdebase/workspace/plasma/lib
> > - 4 New classes :
> > 	- Layout, base class for layouts
> > 	- LayoutItem, base class for layout-manager items
> > 	- VBoxLayout, vertical box layout implementation
> > 	- Container, a round corner rectangle for widget containment
> > This would be a first look to a layouting system for QGraphicsItems, via
> > inheritance from Plasma::Widget so the layout system can manage widgets
> > in the same fashion that QWidgets are manager by QLayouts.
>
> Wow, you're actually writing a _new_ layout system? I thought you were just
> porting the one in Qt. Is this going to be part of kdelibs?

Yes, a new layout, simpler that Qt's one, just made for Plasma.

The problem as Aaron mentioned, is that QLayout/QLayoutItem can't be used to 
manage QGraphicsItem's, as we need that for plasmoids.



More information about the kde-core-devel mailing list