Qt Quick Layouts QML 類型

The Qt Quick Layouts module provides QML types for arranging QML items in a user interface. These QML types work in conjunction with Qt Quick and Qt Quick Controls .

The QML types can be imported into your application using the following import statement in your .qml file.

import QtQuick.Layouts 1.3
					
Layout 為把項壓入 GridLayout、RowLayout 或 ColumnLayout 提供附加特性
ColumnLayout 等同 GridLayout,但隻有一列
GridLayout 提供在柵格中動態排列項的方式
RowLayout 等同 GridLayout,但隻有一行
StackLayout 每次僅一項可見的項堆棧