From 383bca9fded2c690672bf61b7326bc9fad7d474b Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Tue, 28 Apr 2020 18:48:50 -0500 Subject: [PATCH] Gui: change string from Document to Documentation The add property dialog (introduced by the LinkMerge) previously showed "Document" which is confusing. The edit box is there to provide an explanation on the new property, that is, "Documentation". Also improve the tooltips. Also change "Append" to "Prefix" in the checkbox as it's more clear that the `Group` is added at the beginning to form the full name of the property. --- src/Gui/DlgAddProperty.ui | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/Gui/DlgAddProperty.ui b/src/Gui/DlgAddProperty.ui index 31059b42f6..ef45352f9b 100644 --- a/src/Gui/DlgAddProperty.ui +++ b/src/Gui/DlgAddProperty.ui @@ -6,7 +6,7 @@ 0 0 - 354 + 418 258 @@ -15,7 +15,7 @@ - + Type @@ -25,7 +25,7 @@ - + Group @@ -35,7 +35,7 @@ - + Name @@ -45,22 +45,33 @@ - + + + Verbose description of the new property. + - Document + Documentation - + + + Verbose description of the new property. + + - Append the group name in front of the property name in the form of 'group'_'name' to avoid conflict with existing property. The prefixed group name will be auto trimmed when shown in the property editor. + Prefix the property name with the group name in the form 'Group_Name' to avoid conflicts with an existing property. +In this case the prefix will be automatically trimmed when shown in the property editor. +However, the property is still used in a script with the full name, like 'obj.Group_Name'. + +If this is not ticked, then the property must be uniquely named, and it is accessed like 'obj.Name'. - Append group name + Prefix group name