From 41ee64b8a4a8aa8134e8eb6260cda3780bec7362 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Mon, 11 Sep 2023 11:50:36 +0200 Subject: [PATCH] QmlDesigner: Remove debug UI in connections editor Change-Id: Ifc3c0b3c1fa09eff0b0ea650540ceeb00091789d Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Thomas Hartmann --- .../ConnectionsDialogForm.qml | 45 ------------------- 1 file changed, 45 deletions(-) diff --git a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml index af3a44ffae1..8b0404353b2 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/ConnectionsDialogForm.qml @@ -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