added methods to convert between Cartesian and spherical coordinates
[engrid-github.git] / src / libengrid / guicreatesurfacemesh.ui
blob9171b4a254ccc708c672f405a36bd1e93e412664
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>GuiCreateSurfaceMesh</class>
4 <widget class="QDialog" name="GuiCreateSurfaceMesh">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>641</width>
10 <height>462</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Create surface mesh</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="QVBoxLayout" name="verticalLayout_2">
21 <item>
22 <widget class="QTabWidget" name="tabWidget">
23 <property name="currentIndex">
24 <number>0</number>
25 </property>
26 <widget class="QWidget" name="tab_4">
27 <attribute name="title">
28 <string>general</string>
29 </attribute>
30 <layout class="QGridLayout" name="gridLayout_4">
31 <item row="4" column="0">
32 <widget class="QLabel" name="label_9">
33 <property name="text">
34 <string>nodes per 2D feature</string>
35 </property>
36 </widget>
37 </item>
38 <item row="4" column="1">
39 <widget class="QDoubleSpinBox" name="doubleSpinBox2DFeature">
40 <property name="enabled">
41 <bool>true</bool>
42 </property>
43 <property name="singleStep">
44 <double>0.500000000000000</double>
45 </property>
46 <property name="value">
47 <double>0.000000000000000</double>
48 </property>
49 </widget>
50 </item>
51 <item row="5" column="0">
52 <widget class="QLabel" name="label_10">
53 <property name="text">
54 <string>nodes per 3D feature</string>
55 </property>
56 </widget>
57 </item>
58 <item row="0" column="1">
59 <widget class="QLineEdit" name="lineEditMaximalEdgeLength">
60 <property name="text">
61 <string>1000</string>
62 </property>
63 </widget>
64 </item>
65 <item row="0" column="0">
66 <widget class="QLabel" name="label">
67 <property name="text">
68 <string>maximal edge length:</string>
69 </property>
70 </widget>
71 </item>
72 <item row="5" column="1">
73 <widget class="QDoubleSpinBox" name="doubleSpinBox3DFeature">
74 <property name="enabled">
75 <bool>true</bool>
76 </property>
77 <property name="singleStep">
78 <double>0.500000000000000</double>
79 </property>
80 <property name="value">
81 <double>0.000000000000000</double>
82 </property>
83 </widget>
84 </item>
85 <item row="1" column="0">
86 <widget class="QLabel" name="label_4">
87 <property name="text">
88 <string>minimal edge length</string>
89 </property>
90 </widget>
91 </item>
92 <item row="3" column="0">
93 <widget class="QLabel" name="label_2">
94 <property name="text">
95 <string>nodes per quarter circle</string>
96 </property>
97 </widget>
98 </item>
99 <item row="3" column="1">
100 <widget class="QDoubleSpinBox" name="doubleSpinBoxCurvature">
101 <property name="enabled">
102 <bool>true</bool>
103 </property>
104 <property name="singleStep">
105 <double>0.500000000000000</double>
106 </property>
107 <property name="value">
108 <double>0.000000000000000</double>
109 </property>
110 </widget>
111 </item>
112 <item row="1" column="1">
113 <widget class="QLineEdit" name="lineEditMinimalEdgeLength">
114 <property name="text">
115 <string>0</string>
116 </property>
117 </widget>
118 </item>
119 <item row="2" column="1">
120 <widget class="QLineEdit" name="lineEditGrowthFactor">
121 <property name="text">
122 <string>1.5</string>
123 </property>
124 </widget>
125 </item>
126 <item row="2" column="0">
127 <widget class="QLabel" name="label_3">
128 <property name="text">
129 <string>cell growth factor:</string>
130 </property>
131 </widget>
132 </item>
133 <item row="6" column="0">
134 <spacer name="verticalSpacer_2">
135 <property name="orientation">
136 <enum>Qt::Vertical</enum>
137 </property>
138 <property name="sizeHint" stdset="0">
139 <size>
140 <width>20</width>
141 <height>40</height>
142 </size>
143 </property>
144 </spacer>
145 </item>
146 <item row="0" column="2">
147 <spacer name="horizontalSpacer_3">
148 <property name="orientation">
149 <enum>Qt::Horizontal</enum>
150 </property>
151 <property name="sizeHint" stdset="0">
152 <size>
153 <width>40</width>
154 <height>20</height>
155 </size>
156 </property>
157 </spacer>
158 </item>
159 </layout>
160 </widget>
161 <widget class="QWidget" name="tab">
162 <attribute name="title">
163 <string>boundaries</string>
164 </attribute>
165 <layout class="QVBoxLayout" name="verticalLayout">
166 <item>
167 <layout class="QGridLayout" name="gridLayout_2">
168 <item row="1" column="1">
169 <widget class="QTextEdit" name="textEdit">
170 <property name="font">
171 <font>
172 <family>Liberation Mono</family>
173 </font>
174 </property>
175 </widget>
176 </item>
177 <item row="1" column="0">
178 <widget class="QListWidget" name="listWidget">
179 <property name="sizePolicy">
180 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
181 <horstretch>0</horstretch>
182 <verstretch>0</verstretch>
183 </sizepolicy>
184 </property>
185 </widget>
186 </item>
187 <item row="2" column="0">
188 <layout class="QHBoxLayout" name="horizontalLayout_6">
189 <item>
190 <widget class="QPushButton" name="pushButton_SelectAll_BC">
191 <property name="text">
192 <string>Select all</string>
193 </property>
194 </widget>
195 </item>
196 <item>
197 <widget class="QPushButton" name="pushButton_ClearAll_BC">
198 <property name="text">
199 <string>Clear all</string>
200 </property>
201 </widget>
202 </item>
203 </layout>
204 </item>
205 <item row="2" column="1">
206 <spacer name="horizontalSpacer">
207 <property name="orientation">
208 <enum>Qt::Horizontal</enum>
209 </property>
210 <property name="sizeHint" stdset="0">
211 <size>
212 <width>40</width>
213 <height>20</height>
214 </size>
215 </property>
216 </spacer>
217 </item>
218 <item row="0" column="0">
219 <widget class="QLabel" name="label_5">
220 <property name="text">
221 <string>surfaces to mesh</string>
222 </property>
223 </widget>
224 </item>
225 <item row="0" column="1">
226 <widget class="QLabel" name="label_6">
227 <property name="text">
228 <string>rules for mesh resolution</string>
229 </property>
230 </widget>
231 </item>
232 </layout>
233 </item>
234 </layout>
235 </widget>
236 <widget class="QWidget" name="tab_2">
237 <attribute name="title">
238 <string>sources</string>
239 </attribute>
240 <layout class="QVBoxLayout" name="verticalLayout_3">
241 <item>
242 <layout class="QGridLayout" name="gridLayout">
243 <item row="0" column="0" rowspan="6">
244 <widget class="QListWidget" name="listWidgetSources"/>
245 </item>
246 <item row="0" column="1">
247 <widget class="QPushButton" name="pushButtonAddSphere">
248 <property name="text">
249 <string>add sphere</string>
250 </property>
251 </widget>
252 </item>
253 <item row="5" column="1">
254 <spacer name="verticalSpacer">
255 <property name="orientation">
256 <enum>Qt::Vertical</enum>
257 </property>
258 <property name="sizeHint" stdset="0">
259 <size>
260 <width>20</width>
261 <height>40</height>
262 </size>
263 </property>
264 </spacer>
265 </item>
266 <item row="3" column="1">
267 <widget class="QPushButton" name="pushButtonEditSource">
268 <property name="text">
269 <string>edit</string>
270 </property>
271 </widget>
272 </item>
273 <item row="4" column="1">
274 <widget class="QPushButton" name="pushButtonDeleteSource">
275 <property name="enabled">
276 <bool>true</bool>
277 </property>
278 <property name="text">
279 <string>delete</string>
280 </property>
281 </widget>
282 </item>
283 <item row="1" column="1">
284 <widget class="QPushButton" name="pushButtonAddCone">
285 <property name="text">
286 <string>add cone</string>
287 </property>
288 </widget>
289 </item>
290 <item row="2" column="1">
291 <widget class="QPushButton" name="pushButtonAddBox">
292 <property name="text">
293 <string>add box</string>
294 </property>
295 </widget>
296 </item>
297 </layout>
298 </item>
299 </layout>
300 </widget>
301 <widget class="QWidget" name="tab_3">
302 <property name="enabled">
303 <bool>false</bool>
304 </property>
305 <attribute name="title">
306 <string>prismatic layers</string>
307 </attribute>
308 <layout class="QHBoxLayout" name="horizontalLayout">
309 <item>
310 <layout class="QGridLayout" name="gridLayout_3">
311 <item row="1" column="1">
312 <widget class="QTextEdit" name="textEditPrismaticLayers">
313 <property name="font">
314 <font>
315 <family>Liberation Mono</family>
316 </font>
317 </property>
318 </widget>
319 </item>
320 <item row="1" column="0">
321 <widget class="QListWidget" name="listWidgetPrismaticLayers">
322 <property name="enabled">
323 <bool>false</bool>
324 </property>
325 <property name="sizePolicy">
326 <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
327 <horstretch>0</horstretch>
328 <verstretch>0</verstretch>
329 </sizepolicy>
330 </property>
331 </widget>
332 </item>
333 <item row="2" column="0">
334 <layout class="QHBoxLayout" name="horizontalLayout_7">
335 <item>
336 <widget class="QPushButton" name="pushButton_SelectAll_BC_2">
337 <property name="text">
338 <string>Select all</string>
339 </property>
340 </widget>
341 </item>
342 <item>
343 <widget class="QPushButton" name="pushButton_ClearAll_BC_2">
344 <property name="text">
345 <string>Clear all</string>
346 </property>
347 </widget>
348 </item>
349 </layout>
350 </item>
351 <item row="2" column="1">
352 <spacer name="horizontalSpacer_2">
353 <property name="orientation">
354 <enum>Qt::Horizontal</enum>
355 </property>
356 <property name="sizeHint" stdset="0">
357 <size>
358 <width>40</width>
359 <height>20</height>
360 </size>
361 </property>
362 </spacer>
363 </item>
364 <item row="0" column="0">
365 <widget class="QLabel" name="label_7">
366 <property name="text">
367 <string>surface for prismatic layer</string>
368 </property>
369 </widget>
370 </item>
371 <item row="0" column="1">
372 <widget class="QLabel" name="label_8">
373 <property name="text">
374 <string>rules for mesh resolution</string>
375 </property>
376 </widget>
377 </item>
378 </layout>
379 </item>
380 </layout>
381 </widget>
382 </widget>
383 </item>
384 <item>
385 <layout class="QHBoxLayout">
386 <item>
387 <widget class="QPushButton" name="pushButtonHelp">
388 <property name="text">
389 <string>Help</string>
390 </property>
391 </widget>
392 </item>
393 <item>
394 <spacer>
395 <property name="orientation">
396 <enum>Qt::Horizontal</enum>
397 </property>
398 <property name="sizeHint" stdset="0">
399 <size>
400 <width>40</width>
401 <height>20</height>
402 </size>
403 </property>
404 </spacer>
405 </item>
406 <item>
407 <widget class="QDialogButtonBox" name="buttonBox">
408 <property name="orientation">
409 <enum>Qt::Horizontal</enum>
410 </property>
411 <property name="standardButtons">
412 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
413 </property>
414 </widget>
415 </item>
416 </layout>
417 </item>
418 </layout>
419 </widget>
420 <resources>
421 <include location="engrid.qrc"/>
422 <include location="engrid.qrc"/>
423 </resources>
424 <connections>
425 <connection>
426 <sender>buttonBox</sender>
427 <signal>accepted()</signal>
428 <receiver>GuiCreateSurfaceMesh</receiver>
429 <slot>accept()</slot>
430 <hints>
431 <hint type="sourcelabel">
432 <x>248</x>
433 <y>254</y>
434 </hint>
435 <hint type="destinationlabel">
436 <x>157</x>
437 <y>274</y>
438 </hint>
439 </hints>
440 </connection>
441 <connection>
442 <sender>buttonBox</sender>
443 <signal>rejected()</signal>
444 <receiver>GuiCreateSurfaceMesh</receiver>
445 <slot>reject()</slot>
446 <hints>
447 <hint type="sourcelabel">
448 <x>316</x>
449 <y>260</y>
450 </hint>
451 <hint type="destinationlabel">
452 <x>286</x>
453 <y>274</y>
454 </hint>
455 </hints>
456 </connection>
457 </connections>
458 </ui>