2018年7月8日

Flow

モジュール

QtQuick 2.6

クラス継承

QQuickFlow → QQuickBasePositioner (internal) → QQuickImplicitSizeItem (internal) → QQuickItemQObject

プロパティー

flow: Flow = Flow.LeftToRight
layoutDirection: Qt::LayoutDirection = Qt.LeftToRight
effectiveLayoutDirection: Qt::LayoutDirection = Qt.LeftToRight readonly

spacing: double = 0 inherited
populate: QQuickTransition* = null inherited
move: QQuickTransition* = null inherited
add: QQuickTransition* = null inherited
padding: real = 0 inherited
topPadding: real = 0 inherited
leftPadding: real = 0 inherited
rightPadding: real = 0 inherited
bottomPadding: real = 0 inherited

implicitWidth: real = 0 readonly inherited override
implicitHeight: real = 0 readonly inherited override

シグナル

flowChanged()
layoutDirectionChanged()
effectiveLayoutDirectionChanged()

spacingChanged() inherited
populateChanged() inherited
moveChanged() inherited
addChanged() inherited
paddingChanged() inherited
topPaddingChanged() inherited
leftPaddingChanged() inherited
rightPaddingChanged() inherited
bottomPaddingChanged() inherited
positioningComplete() inherited

implicitWidthChanged() inherited
implicitHeightChanged() inherited

メソッド

public void forceLayout() inherited

スロット

protected void prePositioning() inherited

列挙

Flow
        LeftToRight = 0
        TopToBottom = 1

説明


プロパティーの説明

flow: Flow

layoutDirection: Qt::LayoutDirection

effectiveLayoutDirection: Qt::LayoutDirection


spacing: double

populate: QQuickTransition*

move: QQuickTransition*

add: QQuickTransition*

padding: real

topPadding: real

leftPadding: real

rightPadding: real

bottomPadding: real


implicitWidth: real = 0 readonly inherited override

implicitHeight: real = 0 readonly inherited override

シグナルの説明

positioningComplete() inherited

メソッドの説明

public void forceLayout() inherited

スロットの説明

protected void prePositioning() inherited

列挙の説明


参考情報

StackLayout

モジュール

QtQuick.Layouts 1.3

クラス継承

QQuickStackLayout → QQuickLayout (internal) → QQuickItem, QQuickItemChangeListener (internal) → QObject

プロパティー

count: int = 0 readonly
currentIndex: int = -1

シグナル

currentIndexChanged()
countChanged()

メソッド

public QQuickItem* itemAt(int index)

スロット

protected void invalidateSenderItem() inherited

説明


プロパティーの説明

count: int

currentIndex: int

メソッドの説明

public QQuickItem* itemAt(int index)

スロットの説明

protected void invalidateSenderItem() inherited

問題


StackLayout のリファレンスに itemAt() が記載されていない。

参考情報

GridLayout

モジュール

QtQuick.Layouts 1.0

クラス継承

QQuickRowLayout → QQuickGridLayoutBase (internal) → QQuickLayout (internal) → QQuickItem, QQuickItemChangeListener (internal) → QObject

プロパティー

columnSpacing: double = 5
rowSpacing: double = 5
columns: int = -1
rows: int = -1
flow: Flow = GridLayout.LeftToRight

layoutDirection: Qt::LayoutDirection = Qt.LeftToRight inherited

シグナル

columnSpacingChanged()
rowSpacingChanged()
columnsChanged()
rowsChanged()
flowChanged()

layoutDirectionChanged() inherited

スロット

protected void invalidateSenderItem() inherited

列挙

Flow
        LeftToRight
        TopToBottom

説明


プロパティーの説明

columnSpacing: double

rowSpacing: double

columns: int

rows: int

flow: Flow


layoutDirection: Qt::LayoutDirection

シグナルの説明

columnSpacingChanged()

rowSpacingChanged()

columnsChanged()

rowsChanged()

flowChanged()


layoutDirectionChanged()

スロットの説明

protected void invalidateSenderItem() inherited

列挙の説明


参考情報

Layout

モジュール

QtQuick.Layouts 1.2

クラス継承

QQuickLayout (internal) → QQuickItem, QQuickItemChangeListener (internal) → QObject

アタッチトプロパティー

minimumWidth: real = 0
minimumHeight: real = 0
preferredWidth: real = -1
preferredHeight: real = -1
maximumWidth: real = Infinity
maximumHeight: real = Infinity
fillHeight: bool = false
fillWidth: bool = false
row: int = 0
column: int = 0
rowSpan: int = 1
columnSpan: int = 1
alignment: Qt::Alignment = 0
margins: real = 0
leftMargin: real = 0
topMargin: real = 0
rightMargin: real = 0
bottomMargin: real = 0

シグナル

minimumWidthChanged()
minimumHeightChanged()
preferredWidthChanged()
preferredHeightChanged()
maximumWidthChanged()
maximumHeightChanged()
fillHeightChanged()
fillWidthChanged()
rowChanged()
columnChanged()
rowSpanChanged()
columnSpanChanged()
alignmentChanged()
marginsChanged()
leftMarginChanged()
topMarginChanged()
rightMarginChanged()
bottomMarginChanged()

説明


アタッチトプロパティーの説明

minimumWidth: real

minimumHeight: real

preferredWidth: real

preferredHeight: real

maximumWidth: real

maximumHeight: real

fillHeight: bool

fillWidth: bool

row: int

column: int

rowSpan: int

columnSpan: int

alignment: Qt::Alignment

margins: real

leftMargin: real

topMargin: real

rightMargin: real

bottomMargin: real

参考情報

2018年7月7日

RowLayout

モジュール

QtQuick.Layouts 1.0

クラス継承

QQuickRowLayout → QQuickLinearLayout (internal) → QQuickGridLayoutBase (internal) → QQuickLayout (internal) → QQuickItem, QQuickItemChangeListener (internal) → QObject

プロパティー

layoutDirection: Qt::LayoutDirection = Qt.LeftToRight inherited
spacing: real = 5 inherited

シグナル

layoutDirectionChanged() inherited
spacingChanged() inherited

スロット

protected void invalidateSenderItem() inherited

説明


プロパティーの説明

layoutDirection: Qt::LayoutDirection

spacing: real

スロットの説明

protected void invalidateSenderItem()

参考情報