内容表

上一话题

Qt Quick 范例 - 键交互

下一话题

Qt Quick 范例 - 本地存储

Qt Quick Layouts - 基本范例

演示如何使用布局类型来排列 UI。

../_images/qtquicklayouts-example-layouts.png

此范例展示如何轻松将 UI 组件排列在 layouts with GridLayout , RowLayout ,和 ColumnLayout .

运行范例

要运行范例从 Qt Creator ,打开 欢迎 模式,然后选择范例从 范例 . For more information, visit Building and Running an Example.

范例工程 @ code.qt.io