forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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";
|
||||||
|
Reference in New Issue
Block a user