QmlDesigner: Add Combo box for states

Change-Id: I91494e297cc2c1aa4b192081b5cd31acbca87ce9
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2020-04-24 19:45:17 +02:00
parent 104852e09d
commit 4435a19979

View File

@@ -103,11 +103,14 @@ Section {
text: qsTr("State")
}
SecondColumnLayout {
LineEdit {
ComboBox {
Layout.fillWidth: true
backendValue: backendValues.state
showTranslateCheckBox: false
enabled: anchorBackend.hasParent || isBaseState
model: allStateNames
valueType: ComboBox.String
}
ExpandingSpacer {
}
}