不好意思啊,谁能告诉我addlayou, addchildlayout的区别么?谢谢。
------解决方案--------------------
看Manual,它的信息量应该足够了:
void QLayout::addChildLayout ( QLayout * l ) [protected]
This function is called from addLayout() or insertLayout() functions in subclasses to add layout l as a sub-layout.
The only scenario in which you need to call it directly is if you implement a custom layout that supports nested layouts.
------解决方案--------------------