[PyQt] Re: Adding a widget to a layout that belongs to a QGroupBox changes that widget's parent?

Victor Noagbodji noagbodjivictor at gmail.com
Fri Aug 14 10:22:28 BST 2009


hi,

are you sure this behavior is only happening for a qgroupbox?

as far as i understand it, a layout always reset a child widget to its
own parent. in your code, one layout has a qgroupbox as parent. and
the other has the parent you want. so i think it's the correct
behavior.

cheers,

-- 
paul victor noagbodji


More information about the PyQt mailing list