演示如何使用布局类型来排列 UI。
此范例展示如何轻松将 UI 组件排列在 layouts with GridLayout , RowLayout ,和 ColumnLayout .
要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,见 Qt Creator: Tutorial: Build and run .
范例工程 @ code.qt.io
运行范例