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")
|
||||
}
|
||||
SecondColumnLayout {
|
||||
LineEdit {
|
||||
|
||||
ComboBox {
|
||||
Layout.fillWidth: true
|
||||
backendValue: backendValues.state
|
||||
showTranslateCheckBox: false
|
||||
enabled: anchorBackend.hasParent || isBaseState
|
||||
model: allStateNames
|
||||
valueType: ComboBox.String
|
||||
}
|
||||
|
||||
ExpandingSpacer {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user