C
RowLayout QML Type
GridLayout と同じですが、1行しかありません。詳細...
| Import Statement: | import QtQuick.Layouts |
| Since: | Qt Quick Ultralite 2.8 |
| Inherits: | |
| Inherited By: |
プロパティ
- layoutDirection : Qt::LayoutDirection
- spacing : int
詳細な説明
RowLayout は、同じ QML タイプである Qt Quick Layouts.Qt Quick Layouts モジュールの一般的な仕組みについてはQt Quick Layouts 概要をご覧ください。
RowLayoutは開発者の便宜のために用意されており、よりすっきりとしたAPIを提供します。
RowLayoutのアイテムは、これらの付属プロパティをサポートしています:
- 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
ColumnLayout 、GridLayout 、Rowも参照してください 。
プロパティのドキュメント
layoutDirection : Qt::LayoutDirection
このプロパティは、行レイアウトのレイアウト方向を保持し、項目が左から右にレイアウトされるか、右から左にレイアウトされるかを制御する。Qt.RightToLeft を指定すると、左揃えの項目は右揃えに、右揃えの項目は左揃えになります。
GridLayout::layoutDirection とColumnLayout::layoutDirectionも参照してください 。
spacing : int [default]
このプロパティは、各セルの間隔を保持します。
特定の Qt ライセンスの下で利用可能です。
詳細はこちら。