forked from qt-creator/qt-creator
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:
@@ -103,11 +103,14 @@ Section {
|
|||||||
text: qsTr("State")
|
text: qsTr("State")
|
||||||
}
|
}
|
||||||
SecondColumnLayout {
|
SecondColumnLayout {
|
||||||
LineEdit {
|
|
||||||
|
ComboBox {
|
||||||
|
Layout.fillWidth: true
|
||||||
backendValue: backendValues.state
|
backendValue: backendValues.state
|
||||||
showTranslateCheckBox: false
|
model: allStateNames
|
||||||
enabled: anchorBackend.hasParent || isBaseState
|
valueType: ComboBox.String
|
||||||
}
|
}
|
||||||
|
|
||||||
ExpandingSpacer {
|
ExpandingSpacer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user