<!DOCTYPE HTML PIC"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>T-Online eMail</title>
</head>
<!-- <div background-color: #ffffff; background-repeat:repeat; margin-left:0cm; margin-right:0cm"> -->
<body link="#000000" vlink="#000000" alink="#000080" topmargin=0 leftmargin=0 marginwidth="0" marginheight="0"><font face="Courier New" size=2> </font> "Tony Cappellini"
<cappy2112@gmail.com> schrieb:
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<P>
Is this what you mean?<br>If not- would you add an example?<br><br>[snipped]</P>
<P>
self.h_layout.addChildLayout(self.v1_layout)<br> self.h_layout.addChildLayout(self.v2_layout)<br></P></BLOCKQUOTE>
<P align=left><FONT face="Courier New" size=2>Probably wrong, should
be:</FONT></P>
<P align=left><FONT face="Courier New"
size=2>self.h_layout.addLayout(self.v1_layout)<BR></FONT><FONT
face="Courier New" size=2>self.h_layout.addLayout(self.v2_layout)</FONT></P>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<P><br>I've added 2 QVBoxLayouts as children of the QHBoxLayout.<br>A tiny window appears without any widgets.<br>What have I not done correctly?
<br><br>class Dialog(QtGui.QDialog):<br></P></BLOCKQUOTE>
<P>
<font face="Courier New" size=2> 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.</font></P>
<P><FONT face="Courier New" size=2>HTH,</FONT></P>
<P><FONT face="Courier New" size=2>Sibylle</FONT></P>
<P><br><FONT face="Courier New" size=2>-- <br>Dr. Sibylle Koczian <BR>Fasanenstrasse 12 <BR>D-82293 Mittelstetten <BR></FONT></P></body>
</div>
</html>