aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-09-27 09:04:00 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2022-09-27 10:23:02 +0000
commit3b4b8aec4b6642eb71e48f0ea78f77de400196bb (patch)
treef4f7605cd8cc1b4bfc9f3bd628735eb0197efa4b
parent79994c85040338bbe11b021d173bcda247b2991a (diff)
QmlDesigner: Adjust caption for User Added Properties
Section does not have a tooltip, yet. Task-number: QDS-7765 Change-Id: I5c0254cb81094be690fc5e9a076752f95f27a482 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io> Reviewed-by: Brook Cronin <brook.cronin@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml2
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml
index fedf76bdbb..4e2ef4b044 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml
@@ -35,7 +35,7 @@ Section {
id: root
anchors.left: parent.left
anchors.right: parent.right
- caption: qsTr("User Added Properties")
+ caption: qsTr("Local Custom Properties")
property DynamicPropertiesModel propertiesModel: null
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
index c38136cdd7..da6a477e68 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
@@ -725,7 +725,7 @@ QString PropertyEditorQmlBackend::templateGeneration(const NodeMetaInfo &type,
QString qmlInnerTemplate = "";
qmlInnerTemplate += "Section {\n";
- qmlInnerTemplate += "caption: \""+ QObject::tr("User Added Properties") + "\"\n";
+ qmlInnerTemplate += "caption: \"" + QObject::tr("Exposed Custom Properties") + "\"\n";
qmlInnerTemplate += anchorLeftRight;
qmlInnerTemplate += "leftPadding: 0\n";
qmlInnerTemplate += "rightPadding: 0\n";