[Panel-devel] Finishing up the Layout Stuff

Thomas tageorgiou at gmail.com
Thu Jun 21 05:10:58 CEST 2007


On Wednesday 20 June 2007 10:38:28 pm Matias Valdenegro T. wrote:
> The actual proposal is just make ALL widgets inherit Plasma::Widget and
> create glue/wrapper code for the elements already provided by Qt (SVG,
> Text, etc)
I think this way is better since it would make it easier to write new widgets 
and if the api is the same, to migrate once the trolls come up with their 
solution.

> Other way is use Dynamic Properties for storing the geometry data (Doing it
> manually in each widget), but LayoutItem would need to inherit
> QGraphicsItem for the update() method, called after setting the geometry.
This way would make making widgets more complicated.

If I were to finish the layout stuff, I would go with the first way.

Thomas Georgiou


More information about the Panel-devel mailing list