[Panel-devel] [PATCH] Layout Code Update
Matias Valdenegro T.
mvaldenegro at informatica.utem.cl
Sun Jul 22 02:41:50 CEST 2007
Hi :
Latest code for Layouts, interface is probably finished and just need to port
Widgets to use Plasma::Widget API, so they can be managed by the layout
managers, and implement HBoxLayout and GridLayout.
And just added a Text label and a Translucent Rectangle, for trying out the
Layouts. Rectangle needs heavy work to be themeable and such.
Mandatory screenshot at
http://informatica.utem.cl/~mvaldenegro/Fotos/plasmaRocks.png
and code is :
Rectangle *r = new Rectangle(0);
r->setLayout(new VBoxLayout(r));
r->setPos(200, 200);
PushButton *a = new PushButton(r);
PushButton *b = new PushButton(r);
PushButton *c = new PushButton(r);
addItem(r);
Label *i = new Label(r);
r->resize(200.0f, 200.0f);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlayout.diff
Type: text/x-diff
Size: 28625 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070721/2cf96f86/attachment-0001.bin
More information about the Panel-devel
mailing list