forked from qt-creator/qt-creator
QmlDesigner: Remove debug UI in connections editor
Change-Id: Ifc3c0b3c1fa09eff0b0ea650540ceeb00091789d Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
171e11b4c7
commit
41ee64b8a4
@@ -147,51 +147,6 @@ Column {
|
||||
}
|
||||
}
|
||||
|
||||
Flow {
|
||||
spacing: root.horizontalSpacing
|
||||
width: root.width
|
||||
|
||||
Repeater {
|
||||
model: backend.conditionListModel
|
||||
|
||||
Text {
|
||||
text: value
|
||||
color: "white"
|
||||
|
||||
Rectangle {
|
||||
z: -1
|
||||
opacity: 0.2
|
||||
anchors.fill: parent
|
||||
color: {
|
||||
if (type === ConditionListModel.Intermediate)
|
||||
return "darkorange"
|
||||
if (type === ConditionListModel.Invalid)
|
||||
return "red"
|
||||
if (type === ConditionListModel.Operator)
|
||||
return "blue"
|
||||
if (type === ConditionListModel.Literal)
|
||||
return "green"
|
||||
if (type === ConditionListModel.Variable)
|
||||
return "yellow"
|
||||
if (type === ConditionListModel.Shadow)
|
||||
return "hotpink"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TextInput {
|
||||
id: commandInput
|
||||
width: root.width
|
||||
onAccepted: backend.conditionListModel.command(commandInput.text)
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "invalid " + backend.conditionListModel.error
|
||||
visible: !backend.conditionListModel.valid
|
||||
}
|
||||
|
||||
HelperWidgets.AbstractButton {
|
||||
style: StudioTheme.Values.connectionPopupButtonStyle
|
||||
width: 160
|
||||
|
Reference in New Issue
Block a user