1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>Gui::Dialog::DlgAddProperty</class>
4
<widget class="QDialog" name="Gui::Dialog::DlgAddProperty">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Add property</string>
16
<layout class="QFormLayout" name="formLayout">
17
<item row="0" column="0">
18
<widget class="QLabel" name="label_type">
19
<property name="text">
24
<item row="0" column="1">
25
<widget class="QComboBox" name="comboType"/>
27
<item row="1" column="0">
28
<widget class="QLabel" name="label_group">
29
<property name="text">
30
<string>Group</string>
34
<item row="1" column="1">
35
<widget class="QLineEdit" name="edtGroup"/>
37
<item row="2" column="0">
38
<widget class="QLabel" name="label_name">
39
<property name="text">
44
<item row="2" column="1">
45
<widget class="QLineEdit" name="edtName"/>
47
<item row="3" column="0">
48
<widget class="QLabel" name="label_doc">
49
<property name="toolTip">
50
<string>Verbose description of the new property.</string>
52
<property name="text">
53
<string>Documentation</string>
57
<item row="3" column="1">
58
<widget class="QPlainTextEdit" name="edtDoc">
59
<property name="toolTip">
60
<string>Verbose description of the new property.</string>
64
<item row="4" column="1">
65
<widget class="QCheckBox" name="chkAppend">
66
<property name="toolTip">
67
<string>Prefix the property name with the group name in the form 'Group_Name' to avoid conflicts with an existing property.
68
In this case the prefix will be automatically trimmed when shown in the property editor.
69
However, the property is still used in a script with the full name, like 'obj.Group_Name'.
71
If this is not ticked, then the property must be uniquely named, and it is accessed like 'obj.Name'.</string>
73
<property name="text">
74
<string>Prefix group name</string>
78
<item row="5" column="0" colspan="2">
79
<widget class="QDialogButtonBox" name="buttonBox">
80
<property name="orientation">
81
<enum>Qt::Horizontal</enum>
83
<property name="standardButtons">
84
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
91
<tabstop>comboType</tabstop>
92
<tabstop>edtGroup</tabstop>
93
<tabstop>edtName</tabstop>
98
<sender>buttonBox</sender>
99
<signal>accepted()</signal>
100
<receiver>Gui::Dialog::DlgAddProperty</receiver>
101
<slot>accept()</slot>
103
<hint type="sourcelabel">
107
<hint type="destinationlabel">
114
<sender>buttonBox</sender>
115
<signal>rejected()</signal>
116
<receiver>Gui::Dialog::DlgAddProperty</receiver>
117
<slot>reject()</slot>
119
<hint type="sourcelabel">
123
<hint type="destinationlabel">