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>
This commit is contained in:
Thomas Hartmann
2022-09-27 09:04:00 +02:00
parent 79994c8504
commit 3b4b8aec4b
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ Section {
id: root id: root
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
caption: qsTr("User Added Properties") caption: qsTr("Local Custom Properties")
property DynamicPropertiesModel propertiesModel: null property DynamicPropertiesModel propertiesModel: null

View File

@@ -725,7 +725,7 @@ QString PropertyEditorQmlBackend::templateGeneration(const NodeMetaInfo &type,
QString qmlInnerTemplate = ""; QString qmlInnerTemplate = "";
qmlInnerTemplate += "Section {\n"; qmlInnerTemplate += "Section {\n";
qmlInnerTemplate += "caption: \""+ QObject::tr("User Added Properties") + "\"\n"; qmlInnerTemplate += "caption: \"" + QObject::tr("Exposed Custom Properties") + "\"\n";
qmlInnerTemplate += anchorLeftRight; qmlInnerTemplate += anchorLeftRight;
qmlInnerTemplate += "leftPadding: 0\n"; qmlInnerTemplate += "leftPadding: 0\n";
qmlInnerTemplate += "rightPadding: 0\n"; qmlInnerTemplate += "rightPadding: 0\n";