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.15
| 等同 GridLayout,但隻有一列 | |
| 提供在柵格中動態排列項的方式 | |
| 為把項壓入 GridLayout、RowLayout 或 ColumnLayout 提供附加特性 | |
| 等同 GridLayout,但隻有一行 | |
| 每次僅一項可見的項堆棧 |