"Tony Cappellini" <[EMAIL PROTECTED]> schrieb: 
Is this what you mean?
If not- would you add an example?

[snipped]
        self.h_layout.addChildLayout(self.v1_layout)
        self.h_layout.addChildLayout(self.v2_layout)

Probably wrong, should be:
self.h_layout.addLayout(self.v1_layout)
self.h_layout.addLayout(self.v2_layout)

I've added 2 QVBoxLayouts as children of the QHBoxLayout.
A tiny window appears without any widgets.
What have I not done correctly? 

class Dialog(QtGui.QDialog):

 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.
HTH,
Sibylle

-- 
Dr. Sibylle Koczian 
Fasanenstrasse 12 
D-82293 Mittelstetten 
_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to