FreeCAD

Форк
0
/
DlgAddProperty.ui 
130 строк · 3.5 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Gui::Dialog::DlgAddProperty</class>
4
 <widget class="QDialog" name="Gui::Dialog::DlgAddProperty">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>418</width>
10
    <height>258</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Add property</string>
15
  </property>
16
  <layout class="QFormLayout" name="formLayout">
17
   <item row="0" column="0">
18
    <widget class="QLabel" name="label_type">
19
     <property name="text">
20
      <string>Type</string>
21
     </property>
22
    </widget>
23
   </item>
24
   <item row="0" column="1">
25
    <widget class="QComboBox" name="comboType"/>
26
   </item>
27
   <item row="1" column="0">
28
    <widget class="QLabel" name="label_group">
29
     <property name="text">
30
      <string>Group</string>
31
     </property>
32
    </widget>
33
   </item>
34
   <item row="1" column="1">
35
    <widget class="QLineEdit" name="edtGroup"/>
36
   </item>
37
   <item row="2" column="0">
38
    <widget class="QLabel" name="label_name">
39
     <property name="text">
40
      <string>Name</string>
41
     </property>
42
    </widget>
43
   </item>
44
   <item row="2" column="1">
45
    <widget class="QLineEdit" name="edtName"/>
46
   </item>
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>
51
     </property>
52
     <property name="text">
53
      <string>Documentation</string>
54
     </property>
55
    </widget>
56
   </item>
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>
61
     </property>
62
    </widget>
63
   </item>
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'.
70

71
If this is not ticked, then the property must be uniquely named, and it is accessed like 'obj.Name'.</string>
72
     </property>
73
     <property name="text">
74
      <string>Prefix group name</string>
75
     </property>
76
    </widget>
77
   </item>
78
   <item row="5" column="0" colspan="2">
79
    <widget class="QDialogButtonBox" name="buttonBox">
80
     <property name="orientation">
81
      <enum>Qt::Horizontal</enum>
82
     </property>
83
     <property name="standardButtons">
84
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
85
     </property>
86
    </widget>
87
   </item>
88
  </layout>
89
 </widget>
90
 <tabstops>
91
  <tabstop>comboType</tabstop>
92
  <tabstop>edtGroup</tabstop>
93
  <tabstop>edtName</tabstop>
94
 </tabstops>
95
 <resources/>
96
 <connections>
97
  <connection>
98
   <sender>buttonBox</sender>
99
   <signal>accepted()</signal>
100
   <receiver>Gui::Dialog::DlgAddProperty</receiver>
101
   <slot>accept()</slot>
102
   <hints>
103
    <hint type="sourcelabel">
104
     <x>199</x>
105
     <y>99</y>
106
    </hint>
107
    <hint type="destinationlabel">
108
     <x>199</x>
109
     <y>58</y>
110
    </hint>
111
   </hints>
112
  </connection>
113
  <connection>
114
   <sender>buttonBox</sender>
115
   <signal>rejected()</signal>
116
   <receiver>Gui::Dialog::DlgAddProperty</receiver>
117
   <slot>reject()</slot>
118
   <hints>
119
    <hint type="sourcelabel">
120
     <x>199</x>
121
     <y>99</y>
122
    </hint>
123
    <hint type="destinationlabel">
124
     <x>199</x>
125
     <y>58</y>
126
    </hint>
127
   </hints>
128
  </connection>
129
 </connections>
130
</ui>
131

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.