Qt 布局

来源:互联网 发布:建筑设计mars软件简介 编辑:程序博客网 时间:2024/06/03 14:54


不同大小的部件按比例随着窗口放大缩小,用Gridlayout 能轻松实现。


步骤:


1、Gridlayout 


2、horizontalLayout


3、label


4、widget


5、label(栅格布局)


6、layoutRowstretch(博主1,12)



7、效果图




原创粉丝点击