首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > QT开发 >

请问addlayout,addchildlayout的区别

2012-05-05 
请教addlayout,addchildlayout的区别不好意思啊,谁能告诉我addlayou, addchildlayout的区别么?谢谢。[解决

请教addlayout,addchildlayout的区别
不好意思啊,谁能告诉我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.
[解决办法]

探讨
看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.
……

热点排行