-
Notifications
You must be signed in to change notification settings - Fork 0
/
centerlineinfodialog.ui
320 lines (320 loc) · 12.3 KB
/
centerlineinfodialog.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>CenterlineInfoDialog</class>
<widget class="QDialog" name="CenterlineInfoDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>248</height>
</rect>
</property>
<property name="windowTitle">
<string>Centerline Information</string>
</property>
<property name="windowIcon">
<pixmap>lignumCAD.png</pixmap>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="2" column="0" rowspan="1" colspan="2">
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="buttonHelp">
<property name="text">
<string>&Help</string>
</property>
<property name="shortcut">
<number>276824136</number>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<spacer name="Horizontal Spacing2">
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="buttonOk">
<property name="text">
<string>&OK</string>
</property>
<property name="shortcut">
<number>276824143</number>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonCancel">
<property name="text">
<string>&Cancel</string>
</property>
<property name="shortcut">
<number>276824131</number>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QGroupBox" name="definitionGroupBox">
<property name="title">
<string>Definition</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="referenceLabel">
<property name="text">
<string>Reference:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="referenceLineEdit">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Offset reference.</string>
</property>
<property name="whatsThis" stdset="0">
<string><p><b>Offset Reference</b></p> <p>This widget shows the geometry item which the centerline is offset from. This value is not editable in this dialog; you must use the regular interface to adjust constraint references.</p></string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="1" colspan="2">
<widget class="QGroupBox" name="offsetButtonGroup">
<property name="title">
<string>Offset</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QRadioButton" name="specifiedRadioButton">
<property name="text">
<string>&Specified</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Use a specified offset.</string>
</property>
<property name="whatsThis" stdset="0">
<string><p><b>Specified Offset</b></p>
<p>Select this option if you want the centerline to have an independent, specified offset.</p></string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="lCDefaultLengthSpinBox" name="offsetLengthSpinBox">
<property name="toolTip" stdset="0">
<string>Enter the offset.</string>
</property>
<property name="whatsThis" stdset="0">
<string><p><b>Specified Offset</b></p>
<p>Enter the offset of the centerline (from the reference). The units of the value are given in the default units specified in the application Preferences (so, you do not have to enter the units abbreviation).</p>
<p>If the default units format is DECIMAL, then the entered value can have the usual floating point representation, e.g.:</p>
<p><code>1.234</code></p>
<p>If the default units format is FRACTIONAL, then, in addition to the decimal format, any of the following representations can be typed in:</p>
<p><code>1</code> (equals 1.0)</p>
<p><code>1/2</code> (equals 0.5)</p>
<p><code>1 1/2</code> (equals 1.5, note the blank separating the whole number and the fraction)</p>
<p>If you modify the value, you can always go back to the default value when the dialog was opened by clicking the <img src="default_active.png"> button</p></string>
</property>
</widget>
</item>
<item row="1" column="0" rowspan="1" colspan="2">
<widget class="Line" name="Line1">
<property name="frameShape">
<enum>QFrame::HLine</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QRadioButton" name="importedRadioButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Imported</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="lCConstraintChooser" name="constraintChooser">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QLabel" name="centerlineNameLabel">
<property name="text">
<string>&Name:</string>
</property>
<property name="buddy" stdset="0">
<cstring>nameEdit</cstring>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="nameEdit">
<property name="toolTip" stdset="0">
<string>Edit the centerline's name.</string>
</property>
<property name="whatsThis" stdset="0">
<string><p><b>Name</b></p>
<p>Edit the name of the centerline. The centerline's name will be updated when the dialog is accepted. If there is already a centerline on this page which has the same name, the name change will be rejected.</p></string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="orientationButtonGroup">
<property name="title">
<string>Orientation</string>
</property>
<property name="toolTip" stdset="0">
<string>Orientation of the centerline.</string>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QRadioButton" name="horizontalButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Horizontal</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="verticalButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Vertical</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>nameEdit</tabstop>
<tabstop>referenceLineEdit</tabstop>
<tabstop>specifiedRadioButton</tabstop>
<tabstop>offsetLengthSpinBox</tabstop>
<tabstop>importedRadioButton</tabstop>
<tabstop>constraintChooser</tabstop>
<tabstop>horizontalButton</tabstop>
<tabstop>verticalButton</tabstop>
<tabstop>buttonHelp</tabstop>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>CenterlineInfoDialog</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>CenterlineInfoDialog</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonHelp</sender>
<signal>clicked()</signal>
<receiver>CenterlineInfoDialog</receiver>
<slot>buttonHelp_clicked()</slot>
</connection>
</connections>
</ui>