2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
2023-01-04 08:52:22 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
import QtQuick 2.15
|
|
|
|
|
import QtQuick.Layouts 1.15
|
2015-02-06 10:05:50 +01:00
|
|
|
import HelperWidgets 2.0
|
2019-07-01 16:24:56 +02:00
|
|
|
import StudioControls 1.0 as StudioControls
|
2021-06-21 16:48:19 +02:00
|
|
|
import StudioTheme 1.0 as StudioTheme
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
SectionLayout {
|
2021-06-21 16:48:19 +02:00
|
|
|
id: root
|
|
|
|
|
|
2015-02-06 10:05:50 +01:00
|
|
|
property variant backendValue: backendValues.Layout_alignment
|
2021-06-21 16:48:19 +02:00
|
|
|
property variant valueFromBackend: backendValue === undefined ? 0 : backendValue.value
|
|
|
|
|
property bool isInModel: backendValue === undefined ? false : backendValue.isInModel
|
|
|
|
|
property bool isInSubState: backendValue === undefined ? false : backendValue.isInSubState
|
2015-02-06 10:05:50 +01:00
|
|
|
property bool blockAlignment: false
|
|
|
|
|
|
|
|
|
|
onIsInModelChanged: evaluateAlignment()
|
|
|
|
|
onIsInSubStateChanged: evaluateAlignment()
|
|
|
|
|
onBackendValueChanged: evaluateAlignment()
|
|
|
|
|
onValueFromBackendChanged: evaluateAlignment()
|
|
|
|
|
|
|
|
|
|
Connections {
|
|
|
|
|
target: modelNodeBackend
|
2021-06-21 16:48:19 +02:00
|
|
|
function onSelectionChanged() {
|
2015-02-06 10:05:50 +01:00
|
|
|
evaluateAlignment()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Component.onCompleted: evaluateAlignment()
|
|
|
|
|
|
|
|
|
|
function indexOfVerticalAlignment() {
|
2021-06-21 16:48:19 +02:00
|
|
|
if (backendValue === undefined)
|
|
|
|
|
return 0
|
|
|
|
|
|
2015-02-06 10:05:50 +01:00
|
|
|
if (backendValue.expression === undefined)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignVCenter") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignTop") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 1
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignBottom") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 2
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignBaseline") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 3
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function indexOfHorizontalAlignment() {
|
2021-06-21 16:48:19 +02:00
|
|
|
if (backendValue === undefined)
|
|
|
|
|
return 0
|
|
|
|
|
|
2015-02-06 10:05:50 +01:00
|
|
|
if (backendValue.expression === undefined)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignLeft") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignHCenter") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 1
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
if (backendValue.expression.indexOf("AlignRight") !== -1)
|
2021-06-21 16:48:19 +02:00
|
|
|
return 2
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
return 0
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function evaluateAlignment() {
|
|
|
|
|
blockAlignment = true
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
verticalAlignmentComboBox.currentIndex = indexOfVerticalAlignment()
|
|
|
|
|
horizontalAlignmentComboBox.currentIndex = indexOfHorizontalAlignment()
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
blockAlignment = false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function composeExpressionString() {
|
|
|
|
|
if (blockAlignment)
|
2021-06-21 16:48:19 +02:00
|
|
|
return
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
var expressionStr = "";
|
|
|
|
|
if (horizontalAlignmentComboBox.currentIndex !== 0
|
|
|
|
|
|| verticalAlignmentComboBox.currentIndex !== 0) {
|
|
|
|
|
expressionStr = "Qt." + horizontalAlignmentComboBox.currentText
|
|
|
|
|
+ " | "
|
|
|
|
|
+ "Qt." + verticalAlignmentComboBox.currentText
|
|
|
|
|
|
|
|
|
|
backendValue.expression = expressionStr
|
|
|
|
|
} else {
|
|
|
|
|
expressionStr = "Qt.AlignLeft | Qt.AlignVCenter";
|
|
|
|
|
backendValue.expression = expressionStr
|
2021-06-21 16:48:19 +02:00
|
|
|
backendValue.resetValue()
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Alignment")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Alignment of a component within the cells it occupies.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
2019-07-01 16:24:56 +02:00
|
|
|
StudioControls.ComboBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
id: horizontalAlignmentComboBox
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
property bool __isCompleted: false
|
|
|
|
|
|
|
|
|
|
implicitWidth: StudioTheme.Values.singleControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
|
|
|
|
labelColor: horizontalAlignmentComboBox.currentIndex === 0 ? colorLogic.__defaultTextColor
|
|
|
|
|
: colorLogic.__changedTextColor
|
|
|
|
|
model: ["AlignLeft", "AlignHCenter", "AlignRight"]
|
2016-10-10 11:42:32 +02:00
|
|
|
|
2019-07-01 16:24:56 +02:00
|
|
|
actionIndicator.icon.color: extFuncLogic.color
|
|
|
|
|
actionIndicator.icon.text: extFuncLogic.glyph
|
|
|
|
|
actionIndicator.onClicked: extFuncLogic.show()
|
2020-03-25 14:25:54 +01:00
|
|
|
actionIndicator.forceVisible: extFuncLogic.menuVisible
|
2019-07-01 16:24:56 +02:00
|
|
|
actionIndicator.visible: true
|
|
|
|
|
|
|
|
|
|
onActivated: {
|
2015-02-06 10:05:50 +01:00
|
|
|
if (!horizontalAlignmentComboBox.__isCompleted)
|
2021-06-21 16:48:19 +02:00
|
|
|
return
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2019-07-01 16:24:56 +02:00
|
|
|
horizontalAlignmentComboBox.currentIndex = index
|
2021-06-21 16:48:19 +02:00
|
|
|
composeExpressionString()
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
Component.onCompleted: horizontalAlignmentComboBox.__isCompleted = true
|
|
|
|
|
|
|
|
|
|
ColorLogic { id: colorLogic }
|
|
|
|
|
|
|
|
|
|
ExtendedFunctionLogic {
|
|
|
|
|
id: extFuncLogic
|
|
|
|
|
backendValue: backendValues.Layout_alignment
|
|
|
|
|
onReseted: {
|
|
|
|
|
horizontalAlignmentComboBox.currentIndex = 0
|
|
|
|
|
verticalAlignmentComboBox.currentIndex = 0
|
|
|
|
|
}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel { text: "" }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
2019-07-01 16:24:56 +02:00
|
|
|
StudioControls.ComboBox {
|
2015-02-06 10:05:50 +01:00
|
|
|
id: verticalAlignmentComboBox
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
property bool __isCompleted: false
|
|
|
|
|
|
|
|
|
|
implicitWidth: StudioTheme.Values.singleControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
|
|
|
|
labelColor: verticalAlignmentComboBox.currentIndex === 0 ? colorLogic.__defaultTextColor
|
|
|
|
|
: colorLogic.__changedTextColor
|
|
|
|
|
model: ["AlignVCenter", "AlignTop", "AlignBottom", "AlignBaseline"]
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2019-07-01 16:24:56 +02:00
|
|
|
actionIndicator.icon.color: extFuncLogic.color
|
|
|
|
|
actionIndicator.icon.text: extFuncLogic.glyph
|
|
|
|
|
actionIndicator.onClicked: extFuncLogic.show()
|
2020-03-25 14:25:54 +01:00
|
|
|
actionIndicator.forceVisible: extFuncLogic.menuVisible
|
2019-07-01 16:24:56 +02:00
|
|
|
actionIndicator.visible: true
|
|
|
|
|
|
|
|
|
|
onActivated: {
|
2015-02-06 10:05:50 +01:00
|
|
|
if (!verticalAlignmentComboBox.__isCompleted)
|
2021-06-21 16:48:19 +02:00
|
|
|
return
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2019-07-01 16:24:56 +02:00
|
|
|
verticalAlignmentComboBox.currentIndex = index
|
2021-06-21 16:48:19 +02:00
|
|
|
composeExpressionString()
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
Component.onCompleted: verticalAlignmentComboBox.__isCompleted = true
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Fill layout")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Expands the component as much as possible within the given constraints.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
CheckBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_fillWidth
|
2021-06-21 16:48:19 +02:00
|
|
|
text: qsTr("Width")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Spacer {
|
|
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnGap
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CheckBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_fillHeight
|
2021-06-21 16:48:19 +02:00
|
|
|
text: qsTr("Height")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Preferred size")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Preferred size of a component in a layout. If the preferred height or width is -1, it is ignored.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_preferredWidth
|
|
|
|
|
minimumValue: -1
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The width of the object
|
|
|
|
|
text: qsTr("W", "width")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_preferredHeight
|
|
|
|
|
minimumValue: -1
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
|
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The height of the object
|
|
|
|
|
text: qsTr("H", "height")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Minimum size")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Minimum size of a component in a layout.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_minimumWidth
|
|
|
|
|
minimumValue: 0
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The width of the object
|
|
|
|
|
text: qsTr("W", "width")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_minimumHeight
|
|
|
|
|
minimumValue: 0
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
|
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The height of the object
|
|
|
|
|
text: qsTr("H", "height")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Maximum size")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Maximum size of a component in a layout.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_maximumWidth
|
|
|
|
|
minimumValue: 0
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The width of the object
|
|
|
|
|
text: qsTr("W", "width")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlGap }
|
2015-02-06 10:05:50 +01:00
|
|
|
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_maximumHeight
|
2019-01-29 17:52:09 +01:00
|
|
|
minimumValue: 0
|
|
|
|
|
maximumValue: 0xffff
|
|
|
|
|
decimals: 0
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
|
|
|
|
|
|
2021-07-13 18:36:25 +02:00
|
|
|
ControlLabel {
|
|
|
|
|
//: The height of the object
|
|
|
|
|
text: qsTr("H", "height")
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Row span")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Row span of a component in a Grid Layout.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_rowSpan
|
|
|
|
|
minimumValue: 0
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
2021-06-21 16:48:19 +02:00
|
|
|
PropertyLabel {
|
2015-02-06 10:05:50 +01:00
|
|
|
text: qsTr("Column span")
|
2021-03-18 13:55:35 +01:00
|
|
|
tooltip: qsTr("Column span of a component in a Grid Layout.")
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SecondColumnLayout {
|
|
|
|
|
SpinBox {
|
2021-06-21 16:48:19 +02:00
|
|
|
implicitWidth: StudioTheme.Values.twoControlColumnWidth
|
|
|
|
|
+ StudioTheme.Values.actionIndicatorWidth
|
2015-02-06 10:05:50 +01:00
|
|
|
backendValue: backendValues.Layout_columnSpan
|
|
|
|
|
minimumValue: 0
|
2019-10-01 10:48:16 +02:00
|
|
|
maximumValue: 0xffff
|
2015-02-06 10:05:50 +01:00
|
|
|
decimals: 0
|
|
|
|
|
}
|
2021-06-21 16:48:19 +02:00
|
|
|
|
|
|
|
|
ExpandingSpacer {}
|
2015-02-06 10:05:50 +01:00
|
|
|
}
|
|
|
|
|
}
|