[PyKDE] Multiple layouts on same Window

Andreas Pakulat apaku at gmx.de
Thu Jan 25 23:33:13 GMT 2007


On 25.01.07 15:07:46, Tony Cappellini wrote:
> Using this as a reference
> http://doc.trolltech.com/4.1/qvboxlayout.html#details
> 
> I want to have two QVboxLayouts side by side, with buttons 6-10 in another
> QVBoxLayout on the same window.
> Ideally, there would be one vertical stack of widgets on the left, and
> another stack of vertical widgets on the right.
> 
> Do I need to add another layout or container to the window first, in order
> to add 2 QVboxlayouts, side by side?

Yes, possibly a QHBoxLayout and then add the 2 vboxes as childlayouts of
that layout.

Andreas

-- 
Don't feed the bats tonight.




More information about the PyQt mailing list