C
ColumnLayout QML Type
GridLayout と同じだが、列が1つしかない。さらに...
| Import Statement: | import QtQuick.Layouts |
| Since: | Qt Quick Ultralite 2.8 |
| Inherits: | |
| Inherited By: |
プロパティ
- layoutDirection : Qt::LayoutDirection
- spacing : int
詳細説明
ColumnLayoutは、Qt Quick Layoutsの同じQML型の動作に従います。Qt Quick Layouts モジュールの一般的な仕組みについてはQt Quick Layouts Overviewを参照してください。
ColumnLayoutは開発者の便宜のために用意されたAPIです。
ColumnLayoutのアイテムは、これらの付属プロパティをサポートしています:
- Layout.minimumWidth
- Layout.minimumHeight
- Layout.preferredWidth
- Layout.preferredHeight
- Layout.maximumWidth
- Layout.maximumHeight
- Layout.fillWidth
- Layout.fillHeight
- Layout.alignment
- Layout.margins
- Layout.leftMargin
- Layout.rightMargin
- Layout.topMargin
- Layout.bottomMargin
RowLayout 、GridLayout 、Columnも参照してください 。
プロパティの説明
layoutDirection : Qt::LayoutDirection |
このプロパティは、カラムレイアウトのレイアウト方向を保持します - アイテムが左から右にレイアウトされるか、右から左にレイアウトされるかを制御します。Qt.RightToLeft が指定された場合、左揃えの項目は右揃えになり、右揃えの項目は左揃えになります。
GridLayout::layoutDirection とRowLayout::layoutDirectionも参照してください 。
spacing : int |
このプロパティは、各セルの間隔を保持します。
特定の Qt ライセンスの下で利用可能です。
詳細を見る。