[PyKDE] QLayout parent
Sibylle.Koczian at T-Online.de
Sun Jan 28 11:30:00 GMT 2007
"Tony Cappellini" <cappy2112 at gmail.com> schrieb:
Is this what you mean?
If not- would you add an example?
Probably wrong, should be:
I've added 2 QVBoxLayouts as children of the QHBoxLayout.
A tiny window appears without any widgets.
What have I not done correctly?
I think you've got to replace the calls to addChildLayout by calls to addLayout. The documentation says "addChildLayout is called from addLayout" - and I suppose addLayout does more than just this call. Trying your example with this change worked for me, at all events.
Dr. Sibylle Koczian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt