From 714f67bfc89508b04df8a698f6d6c5aff3aab6c4 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Wed, 11 Aug 2021 12:39:11 +0200 Subject: [PATCH] QmlDesigner: Temporarily remove linking/mirroring Remove the linking indicator and the mirroring buttons until the functionality will be implemented. Change-Id: I7d76209fc8c184001690b001cbb0e9a8255bde9f Reviewed-by: Thomas Hartmann --- .../QtQuick/BorderImageSpecifics.qml | 5 +++-- .../QtQuick/Controls/ScrollViewSpecifics.qml | 5 +++-- .../QtQuick/GeometrySection.qml | 15 +++++++++------ .../QtQuick/GridViewSpecifics.qml | 5 +++-- .../HelperWidgets/FlickableGeometrySection.qml | 15 +++++++++------ .../imports/HelperWidgets/ImageSection.qml | 5 +++-- 6 files changed, 30 insertions(+), 20 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/BorderImageSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/BorderImageSpecifics.qml index 2de4b88b0ca..af81e1aacef 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/BorderImageSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/BorderImageSpecifics.qml @@ -93,11 +93,12 @@ Column { text: qsTr("H", "height") enabled: backendValues.sourceSize_height.isAvailable } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Controls/ScrollViewSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Controls/ScrollViewSpecifics.qml index ce01026c80e..a38ea1ce220 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Controls/ScrollViewSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Controls/ScrollViewSpecifics.qml @@ -83,11 +83,12 @@ Column { text: qsTr("H", "height") tooltip: qsTr("Content height used for calculating the total implicit height.") } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GeometrySection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GeometrySection.qml index 2c52d321e59..6e63651539c 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GeometrySection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GeometrySection.qml @@ -112,11 +112,12 @@ Section { tooltip: xSpinBox.enabled ? "Y" : root.disbaledTooltip enabled: ySpinBox.enabled } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } @@ -167,11 +168,12 @@ Section { tooltip: heightSpinBox.enabled ? qsTr("Height") : root.disbaledTooltip enabled: heightSpinBox.enabled } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } @@ -197,7 +199,8 @@ Section { text: "°" enabled: backendValues.rotation.isAvailable } - +/* + TODO QDS-4835 Spacer { implicitWidth: StudioTheme.Values.controlGap } StudioControls.ButtonRow { @@ -223,7 +226,7 @@ Section { iconRotation: 90 } } - +*/ ExpandingSpacer {} } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GridViewSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GridViewSpecifics.qml index 314005b384f..a8b70939ae2 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GridViewSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/GridViewSpecifics.qml @@ -79,11 +79,12 @@ Column { //: The height of the object text: qsTr("H", "height") } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FlickableGeometrySection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FlickableGeometrySection.qml index 12698c83707..234185e4749 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FlickableGeometrySection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/FlickableGeometrySection.qml @@ -73,11 +73,12 @@ Section { text: qsTr("H", "height") tooltip: qsTr("Content height used for calculating the total implicit height.") } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } @@ -109,11 +110,12 @@ Section { Spacer { implicitWidth: StudioTheme.Values.controlLabelGap } ControlLabel { text: "Y" } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } @@ -157,11 +159,12 @@ Section { text: "Y" enabled: backendValues.originY.isAvailable } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ImageSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ImageSection.qml index 1dffa44c082..0c9de6af40a 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ImageSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ImageSection.qml @@ -103,11 +103,12 @@ Section { text: qsTr("H", "height") enabled: backendValues.sourceSize_height.isAvailable } - +/* + TODO QDS-4836 Spacer { implicitWidth: StudioTheme.Values.controlGap } LinkIndicator2D {} - +*/ ExpandingSpacer {} }