implemented method to access individual variables from an XML section
[engrid-github.git] / src / libengrid / guinormalextrusion.ui
blob7e6c39035512103afae572c69d7b9610fb8210d2
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>GuiNormalExtrusion</class>
4 <widget class="QDialog" name="GuiNormalExtrusion">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>654</width>
10 <height>587</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>extrusion</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="engrid.qrc">
18 <normaloff>:/icons/resources/icons/G.png</normaloff>:/icons/resources/icons/G.png</iconset>
19 </property>
20 <layout class="QGridLayout" name="gridLayout_3">
21 <item row="1" column="0" colspan="3">
22 <spacer name="verticalSpacer">
23 <property name="orientation">
24 <enum>Qt::Vertical</enum>
25 </property>
26 <property name="sizeHint" stdset="0">
27 <size>
28 <width>20</width>
29 <height>40</height>
30 </size>
31 </property>
32 </spacer>
33 </item>
34 <item row="2" column="0" colspan="3">
35 <layout class="QHBoxLayout">
36 <item>
37 <widget class="QPushButton" name="pushButtonHelp">
38 <property name="text">
39 <string>Help</string>
40 </property>
41 </widget>
42 </item>
43 <item>
44 <widget class="QDialogButtonBox" name="buttonBox">
45 <property name="orientation">
46 <enum>Qt::Horizontal</enum>
47 </property>
48 <property name="standardButtons">
49 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
50 </property>
51 </widget>
52 </item>
53 </layout>
54 </item>
55 <item row="0" column="1">
56 <layout class="QVBoxLayout" name="verticalLayout">
57 <item>
58 <widget class="QGroupBox" name="groupBox_2">
59 <property name="title">
60 <string>extrusion type</string>
61 </property>
62 <layout class="QVBoxLayout" name="verticalLayout_2">
63 <item>
64 <widget class="QRadioButton" name="radioButtonNormal">
65 <property name="text">
66 <string>surface normal</string>
67 </property>
68 <property name="checked">
69 <bool>true</bool>
70 </property>
71 </widget>
72 </item>
73 <item>
74 <widget class="QRadioButton" name="radioButtonFixed">
75 <property name="enabled">
76 <bool>true</bool>
77 </property>
78 <property name="text">
79 <string>prescribed normal</string>
80 </property>
81 </widget>
82 </item>
83 <item>
84 <widget class="QRadioButton" name="radioButtonCylinder">
85 <property name="text">
86 <string>cylindrical</string>
87 </property>
88 </widget>
89 </item>
90 <item>
91 <widget class="QRadioButton" name="radioButtonRotation">
92 <property name="text">
93 <string>rotational</string>
94 </property>
95 </widget>
96 </item>
97 </layout>
98 </widget>
99 </item>
100 <item>
101 <widget class="QGroupBox" name="groupBoxFixed">
102 <property name="enabled">
103 <bool>false</bool>
104 </property>
105 <property name="title">
106 <string>prescribed normal</string>
107 </property>
108 <layout class="QGridLayout" name="gridLayout_2">
109 <item row="0" column="1">
110 <widget class="QLineEdit" name="lineEditFixedNX">
111 <property name="text">
112 <string>0</string>
113 </property>
114 </widget>
115 </item>
116 <item row="1" column="0">
117 <widget class="QLabel" name="label_10">
118 <property name="text">
119 <string>normal = </string>
120 </property>
121 </widget>
122 </item>
123 <item row="1" column="1">
124 <widget class="QLineEdit" name="lineEditFixedNY">
125 <property name="text">
126 <string>0</string>
127 </property>
128 </widget>
129 </item>
130 <item row="2" column="1">
131 <widget class="QLineEdit" name="lineEditFixedNZ">
132 <property name="text">
133 <string>0</string>
134 </property>
135 </widget>
136 </item>
137 <item row="0" column="2">
138 <spacer name="horizontalSpacer">
139 <property name="orientation">
140 <enum>Qt::Horizontal</enum>
141 </property>
142 <property name="sizeHint" stdset="0">
143 <size>
144 <width>40</width>
145 <height>20</height>
146 </size>
147 </property>
148 </spacer>
149 </item>
150 <item row="3" column="1">
151 <widget class="QLineEdit" name="lineEditFixedDist">
152 <property name="text">
153 <string>-1</string>
154 </property>
155 </widget>
156 </item>
157 <item row="3" column="0">
158 <widget class="QLabel" name="label_11">
159 <property name="text">
160 <string>min. distance</string>
161 </property>
162 </widget>
163 </item>
164 </layout>
165 </widget>
166 </item>
167 <item>
168 <widget class="QGroupBox" name="groupBoxCylinder">
169 <property name="enabled">
170 <bool>true</bool>
171 </property>
172 <property name="title">
173 <string>cylindrical/rotational extrusion</string>
174 </property>
175 <layout class="QGridLayout" name="gridLayout">
176 <item row="0" column="1">
177 <widget class="QLineEdit" name="lineEditCylinderX0">
178 <property name="text">
179 <string>0</string>
180 </property>
181 </widget>
182 </item>
183 <item row="0" column="3">
184 <widget class="QLineEdit" name="lineEditCylinderNX">
185 <property name="text">
186 <string>1</string>
187 </property>
188 </widget>
189 </item>
190 <item row="1" column="0">
191 <widget class="QLabel" name="label_8">
192 <property name="text">
193 <string>origin = </string>
194 </property>
195 </widget>
196 </item>
197 <item row="1" column="1">
198 <widget class="QLineEdit" name="lineEditCylinderY0">
199 <property name="text">
200 <string>0</string>
201 </property>
202 </widget>
203 </item>
204 <item row="1" column="2">
205 <widget class="QLabel" name="label_9">
206 <property name="text">
207 <string> axis = </string>
208 </property>
209 </widget>
210 </item>
211 <item row="1" column="3">
212 <widget class="QLineEdit" name="lineEditCylinderNY">
213 <property name="text">
214 <string>0</string>
215 </property>
216 </widget>
217 </item>
218 <item row="2" column="1">
219 <widget class="QLineEdit" name="lineEditCylinderZ0">
220 <property name="text">
221 <string>0</string>
222 </property>
223 </widget>
224 </item>
225 <item row="2" column="3">
226 <widget class="QLineEdit" name="lineEditCylinderNZ">
227 <property name="text">
228 <string>0</string>
229 </property>
230 </widget>
231 </item>
232 </layout>
233 </widget>
234 </item>
235 <item>
236 <widget class="QGroupBox" name="groupBox_4">
237 <property name="title">
238 <string>restrict to plane</string>
239 </property>
240 <layout class="QVBoxLayout" name="verticalLayout_3">
241 <item>
242 <widget class="QRadioButton" name="radioButtonNoRestrict">
243 <property name="text">
244 <string>none</string>
245 </property>
246 <property name="checked">
247 <bool>true</bool>
248 </property>
249 </widget>
250 </item>
251 <item>
252 <widget class="QRadioButton" name="radioButtonXY">
253 <property name="text">
254 <string>XY</string>
255 </property>
256 </widget>
257 </item>
258 <item>
259 <widget class="QRadioButton" name="radioButtonXZ">
260 <property name="text">
261 <string>XZ</string>
262 </property>
263 </widget>
264 </item>
265 <item>
266 <widget class="QRadioButton" name="radioButtonYZ">
267 <property name="text">
268 <string>YZ</string>
269 </property>
270 </widget>
271 </item>
272 </layout>
273 </widget>
274 </item>
275 <item>
276 <spacer name="verticalSpacer_2">
277 <property name="orientation">
278 <enum>Qt::Vertical</enum>
279 </property>
280 <property name="sizeHint" stdset="0">
281 <size>
282 <width>20</width>
283 <height>40</height>
284 </size>
285 </property>
286 </spacer>
287 </item>
288 </layout>
289 </item>
290 <item row="0" column="2">
291 <layout class="QVBoxLayout">
292 <item>
293 <widget class="QGroupBox" name="groupBox">
294 <property name="title">
295 <string>boundary codes</string>
296 </property>
297 <layout class="QGridLayout" name="gridLayout_4">
298 <item row="1" column="1">
299 <widget class="QLineEdit" name="lineEditVolumeName">
300 <property name="text">
301 <string>new_vol</string>
302 </property>
303 </widget>
304 </item>
305 <item row="1" column="0">
306 <widget class="QLabel" name="label_12">
307 <property name="text">
308 <string>volume name</string>
309 </property>
310 </widget>
311 </item>
312 <item row="2" column="0" colspan="2">
313 <widget class="QListWidget" name="listWidget"/>
314 </item>
315 <item row="0" column="0" colspan="2">
316 <widget class="QCheckBox" name="checkBoxNewVolume">
317 <property name="text">
318 <string>create new volume</string>
319 </property>
320 </widget>
321 </item>
322 </layout>
323 </widget>
324 </item>
325 <item>
326 <spacer>
327 <property name="orientation">
328 <enum>Qt::Vertical</enum>
329 </property>
330 <property name="sizeHint" stdset="0">
331 <size>
332 <width>20</width>
333 <height>40</height>
334 </size>
335 </property>
336 </spacer>
337 </item>
338 </layout>
339 </item>
340 <item row="0" column="0">
341 <layout class="QVBoxLayout">
342 <item>
343 <widget class="QGroupBox" name="groupBox_3">
344 <property name="title">
345 <string>layer spacing type</string>
346 </property>
347 <layout class="QVBoxLayout">
348 <item>
349 <widget class="QRadioButton" name="radioButtonSimple">
350 <property name="text">
351 <string>simple</string>
352 </property>
353 <property name="checked">
354 <bool>true</bool>
355 </property>
356 </widget>
357 </item>
358 <item>
359 <widget class="QRadioButton" name="radioButtonFixedHeights">
360 <property name="text">
361 <string>fixed heights</string>
362 </property>
363 </widget>
364 </item>
365 </layout>
366 </widget>
367 </item>
368 <item>
369 <widget class="QGroupBox" name="groupBoxSimple">
370 <property name="title">
371 <string>simple parameters</string>
372 </property>
373 <layout class="QGridLayout">
374 <item row="0" column="0">
375 <widget class="QLabel" name="label">
376 <property name="text">
377 <string>number of layers</string>
378 </property>
379 </widget>
380 </item>
381 <item row="0" column="1">
382 <widget class="QLineEdit" name="lineEditSimpleNumLayers">
383 <property name="minimumSize">
384 <size>
385 <width>100</width>
386 <height>0</height>
387 </size>
388 </property>
389 <property name="text">
390 <string>1</string>
391 </property>
392 </widget>
393 </item>
394 <item row="1" column="0">
395 <widget class="QLabel" name="label_2">
396 <property name="text">
397 <string>height of first layer</string>
398 </property>
399 </widget>
400 </item>
401 <item row="2" column="0">
402 <widget class="QLabel" name="label_3">
403 <property name="text">
404 <string>increase factor</string>
405 </property>
406 </widget>
407 </item>
408 <item row="1" column="1">
409 <widget class="QLineEdit" name="lineEditSimpleHeight">
410 <property name="text">
411 <string>1</string>
412 </property>
413 </widget>
414 </item>
415 <item row="2" column="1">
416 <widget class="QLineEdit" name="lineEditSimpleIncrease">
417 <property name="text">
418 <string>1</string>
419 </property>
420 </widget>
421 </item>
422 </layout>
423 </widget>
424 </item>
425 <item>
426 <widget class="QGroupBox" name="groupBoxFixedHeights">
427 <property name="enabled">
428 <bool>false</bool>
429 </property>
430 <property name="title">
431 <string>fixed heights (appr. tanh)</string>
432 </property>
433 <layout class="QGridLayout">
434 <item row="0" column="0">
435 <widget class="QLabel" name="label_4">
436 <property name="text">
437 <string>number of layers</string>
438 </property>
439 </widget>
440 </item>
441 <item row="0" column="1">
442 <widget class="QLineEdit" name="lineEditFixedHeightsNumLayers">
443 <property name="text">
444 <string>1</string>
445 </property>
446 </widget>
447 </item>
448 <item row="1" column="1">
449 <widget class="QLineEdit" name="lineEditFixedHeightsHeightFirst">
450 <property name="text">
451 <string>0</string>
452 </property>
453 </widget>
454 </item>
455 <item row="2" column="1">
456 <widget class="QLineEdit" name="lineEditFixedHeightsHeightLast">
457 <property name="text">
458 <string>0</string>
459 </property>
460 </widget>
461 </item>
462 <item row="1" column="0">
463 <widget class="QLabel" name="label_5">
464 <property name="text">
465 <string>height of first layer</string>
466 </property>
467 </widget>
468 </item>
469 <item row="2" column="0">
470 <widget class="QLabel" name="label_6">
471 <property name="text">
472 <string>height of last layer</string>
473 </property>
474 </widget>
475 </item>
476 <item row="3" column="1">
477 <widget class="QLineEdit" name="lineEditFixedHeightsTotalHeight">
478 <property name="text">
479 <string>1</string>
480 </property>
481 </widget>
482 </item>
483 <item row="3" column="0">
484 <widget class="QLabel" name="label_7">
485 <property name="text">
486 <string>total height</string>
487 </property>
488 </widget>
489 </item>
490 </layout>
491 </widget>
492 </item>
493 <item>
494 <spacer>
495 <property name="orientation">
496 <enum>Qt::Vertical</enum>
497 </property>
498 <property name="sizeHint" stdset="0">
499 <size>
500 <width>216</width>
501 <height>31</height>
502 </size>
503 </property>
504 </spacer>
505 </item>
506 </layout>
507 </item>
508 </layout>
509 </widget>
510 <tabstops>
511 <tabstop>radioButtonSimple</tabstop>
512 <tabstop>radioButtonFixedHeights</tabstop>
513 <tabstop>lineEditSimpleNumLayers</tabstop>
514 <tabstop>lineEditSimpleHeight</tabstop>
515 <tabstop>lineEditSimpleIncrease</tabstop>
516 <tabstop>lineEditFixedHeightsNumLayers</tabstop>
517 <tabstop>lineEditFixedHeightsHeightFirst</tabstop>
518 <tabstop>lineEditFixedHeightsHeightLast</tabstop>
519 <tabstop>lineEditFixedHeightsTotalHeight</tabstop>
520 <tabstop>radioButtonNormal</tabstop>
521 <tabstop>radioButtonFixed</tabstop>
522 <tabstop>radioButtonCylinder</tabstop>
523 <tabstop>radioButtonRotation</tabstop>
524 <tabstop>lineEditFixedNX</tabstop>
525 <tabstop>lineEditFixedNY</tabstop>
526 <tabstop>lineEditFixedNZ</tabstop>
527 <tabstop>lineEditFixedDist</tabstop>
528 <tabstop>lineEditCylinderX0</tabstop>
529 <tabstop>lineEditCylinderY0</tabstop>
530 <tabstop>lineEditCylinderZ0</tabstop>
531 <tabstop>lineEditCylinderNX</tabstop>
532 <tabstop>lineEditCylinderNY</tabstop>
533 <tabstop>lineEditCylinderNZ</tabstop>
534 <tabstop>radioButtonNoRestrict</tabstop>
535 <tabstop>radioButtonXY</tabstop>
536 <tabstop>radioButtonXZ</tabstop>
537 <tabstop>radioButtonYZ</tabstop>
538 <tabstop>checkBoxNewVolume</tabstop>
539 <tabstop>lineEditVolumeName</tabstop>
540 <tabstop>listWidget</tabstop>
541 <tabstop>pushButtonHelp</tabstop>
542 <tabstop>buttonBox</tabstop>
543 </tabstops>
544 <resources>
545 <include location="engrid.qrc"/>
546 <include location="engrid.qrc"/>
547 </resources>
548 <connections>
549 <connection>
550 <sender>buttonBox</sender>
551 <signal>rejected()</signal>
552 <receiver>GuiNormalExtrusion</receiver>
553 <slot>reject()</slot>
554 <hints>
555 <hint type="sourcelabel">
556 <x>68</x>
557 <y>196</y>
558 </hint>
559 <hint type="destinationlabel">
560 <x>195</x>
561 <y>104</y>
562 </hint>
563 </hints>
564 </connection>
565 <connection>
566 <sender>buttonBox</sender>
567 <signal>accepted()</signal>
568 <receiver>GuiNormalExtrusion</receiver>
569 <slot>accept()</slot>
570 <hints>
571 <hint type="sourcelabel">
572 <x>68</x>
573 <y>196</y>
574 </hint>
575 <hint type="destinationlabel">
576 <x>195</x>
577 <y>104</y>
578 </hint>
579 </hints>
580 </connection>
581 <connection>
582 <sender>radioButtonSimple</sender>
583 <signal>toggled(bool)</signal>
584 <receiver>groupBoxSimple</receiver>
585 <slot>setEnabled(bool)</slot>
586 <hints>
587 <hint type="sourcelabel">
588 <x>123</x>
589 <y>46</y>
590 </hint>
591 <hint type="destinationlabel">
592 <x>123</x>
593 <y>159</y>
594 </hint>
595 </hints>
596 </connection>
597 <connection>
598 <sender>radioButtonFixedHeights</sender>
599 <signal>toggled(bool)</signal>
600 <receiver>groupBoxFixedHeights</receiver>
601 <slot>setEnabled(bool)</slot>
602 <hints>
603 <hint type="sourcelabel">
604 <x>123</x>
605 <y>69</y>
606 </hint>
607 <hint type="destinationlabel">
608 <x>123</x>
609 <y>286</y>
610 </hint>
611 </hints>
612 </connection>
613 <connection>
614 <sender>radioButtonFixed</sender>
615 <signal>toggled(bool)</signal>
616 <receiver>groupBoxFixed</receiver>
617 <slot>setEnabled(bool)</slot>
618 <hints>
619 <hint type="sourcelabel">
620 <x>351</x>
621 <y>66</y>
622 </hint>
623 <hint type="destinationlabel">
624 <x>391</x>
625 <y>175</y>
626 </hint>
627 </hints>
628 </connection>
629 </connections>
630 </ui>