[PyKDE] pyuic and Access to QGridLayout

Andreas Pakulat apaku at gmx.de
Fri Feb 3 00:28:02 GMT 2006


On 02.02.06 16:52:26, Chad Brantly wrote:
> no way to access group_boxLayout.  I can access self.group_box, but the
> layout instance is not preserved.  

It is preserved as a child of that QGroupBox

> My next thought was that I would access the layout widget by name using:
> 
>    self.group_box.layout().child('mygridlayout')  

?? group_box.layout() gives you exactly the layout instance you want. 

Andreas

-- 
Try to relax and enjoy the crisis.
		-- Ashleigh Brilliant




More information about the PyQt mailing list