dongli (4th July 2009)
Hi, wysota,
I didn't use setParent, and it works.![]()
Qt Code:
groupBoxList_dataFormat->at(i)->setLayout(binaryDataFormatUI->at(i)->layout);To copy to clipboard, switch view to plain text mode
Maybe it besause binaryDataFormatUI->at(i)->layout is not declared with setting groupBoxList_dataFormat->at(i) as parent.
If you move a layout to another widget (if that's possible) then the widgets in a layout get reparented to the new widget.
dongli (4th July 2009)
Bookmarks