Qt Quick Layouts QML Types

Qt Quick の「Layouts」モジュールは、ユーザーインターフェース上でQMLアイテムを配置するためのQML型を提供します。これらのQML型は、 Qt Quick および「Qt Quick Controls」と連携して動作します。

これらのQML型は、.qmlファイル内で以下のimport文を使用することで、アプリケーションにインポートできます。

import QtQuick.Layouts

ColumnLayout

GridLayoutと同様ですが、列は1つだけです

FlexboxLayout

このQML構造体は、クイックアイテム用のフレキシブルなレイアウトを提供します

GridLayout

グリッド内でアイテムを動的に配置する方法を提供します

Layout

GridLayout、RowLayout、または ColumnLayout に追加されたアイテムに対して、アタッチドプロパティを提供します

LayoutItemProxy

レイアウト内の QQuickItem のプレースホルダー

RowLayout

GridLayoutと同じですが、行が1つだけのもの

StackLayout

一度に1つのアイテムのみが表示されるアイテムのスタック

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.