added picker dialog
[engrid.git] / guismoothsurface.ui
blob8eec4ad88efd9753b0465722c0bc7306e1d216c4
1 <ui version="4.0" >
2  <class>GuiSmoothSurface</class>
3  <widget class="QDialog" name="GuiSmoothSurface" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>708</width>
9     <height>714</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>smooth surface</string>
14   </property>
15   <property name="windowIcon" >
16    <iconset resource="engrid.qrc" >
17     <normaloff>:/icons/resources/icons/G.png</normaloff>:/icons/resources/icons/G.png</iconset>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout_2" >
20    <item>
21     <widget class="QTabWidget" name="tabWidget" >
22      <property name="currentIndex" >
23       <number>0</number>
24      </property>
25      <widget class="QWidget" name="tab" >
26       <attribute name="title" >
27        <string>Main options</string>
28       </attribute>
29       <layout class="QHBoxLayout" name="horizontalLayout_2" >
30        <item>
31         <layout class="QVBoxLayout" name="verticalLayout_4" >
32          <property name="sizeConstraint" >
33           <enum>QLayout::SetMaximumSize</enum>
34          </property>
35          <item>
36           <layout class="QGridLayout" name="_3" >
37            <item row="2" column="0" >
38             <widget class="QLabel" name="label_8" >
39              <property name="text" >
40               <string>Convergence</string>
41              </property>
42             </widget>
43            </item>
44            <item row="3" column="0" >
45             <widget class="QLabel" name="label_11" >
46              <property name="text" >
47               <string>NumberOfIterations</string>
48              </property>
49             </widget>
50            </item>
51            <item row="4" column="0" >
52             <widget class="QLabel" name="label_12" >
53              <property name="text" >
54               <string>RelaxationFactor</string>
55              </property>
56             </widget>
57            </item>
58            <item row="7" column="0" >
59             <widget class="QLabel" name="label_13" >
60              <property name="text" >
61               <string>FeatureAngle</string>
62              </property>
63             </widget>
64            </item>
65            <item row="8" column="0" >
66             <widget class="QLabel" name="label_15" >
67              <property name="text" >
68               <string>EdgeAngle</string>
69              </property>
70             </widget>
71            </item>
72            <item row="7" column="1" >
73             <widget class="QDoubleSpinBox" name="doubleSpinBox_FeatureAngle" >
74              <property name="maximum" >
75               <double>180.000000000000000</double>
76              </property>
77              <property name="value" >
78               <double>45.000000000000000</double>
79              </property>
80             </widget>
81            </item>
82            <item row="3" column="1" >
83             <widget class="QSpinBox" name="spinBox_NumberOfIterations" >
84              <property name="maximum" >
85               <number>2147483647</number>
86              </property>
87              <property name="singleStep" >
88               <number>10</number>
89              </property>
90              <property name="value" >
91               <number>100</number>
92              </property>
93             </widget>
94            </item>
95            <item row="4" column="1" >
96             <widget class="QLineEdit" name="lineEdit_RelaxationFactor" />
97            </item>
98            <item row="6" column="0" colspan="2" >
99             <widget class="QCheckBox" name="checkBox_FeatureEdgeSmoothing" >
100              <property name="text" >
101               <string>FeatureEdgeSmoothing</string>
102              </property>
103             </widget>
104            </item>
105            <item row="8" column="1" >
106             <widget class="QDoubleSpinBox" name="doubleSpinBox_EdgeAngle" >
107              <property name="maximum" >
108               <double>180.000000000000000</double>
109              </property>
110              <property name="value" >
111               <double>45.000000000000000</double>
112              </property>
113             </widget>
114            </item>
115            <item row="9" column="0" colspan="2" >
116             <widget class="QCheckBox" name="checkBox_BoundarySmoothing" >
117              <property name="text" >
118               <string>BoundarySmoothing</string>
119              </property>
120             </widget>
121            </item>
122            <item row="10" column="0" colspan="2" >
123             <widget class="QCheckBox" name="checkBox_GenerateErrorScalars" >
124              <property name="text" >
125               <string>GenerateErrorScalars</string>
126              </property>
127             </widget>
128            </item>
129            <item row="11" column="0" colspan="2" >
130             <widget class="QCheckBox" name="checkBox_GenerateErrorVectors" >
131              <property name="text" >
132               <string>GenerateErrorVectors</string>
133              </property>
134             </widget>
135            </item>
136            <item row="2" column="1" >
137             <widget class="QDoubleSpinBox" name="doubleSpinBox_Convergence" >
138              <property name="maximum" >
139               <double>1.000000000000000</double>
140              </property>
141              <property name="singleStep" >
142               <double>0.010000000000000</double>
143              </property>
144             </widget>
145            </item>
146            <item row="5" column="0" >
147             <widget class="QLabel" name="label" >
148              <property name="text" >
149               <string>PassBand</string>
150              </property>
151             </widget>
152            </item>
153            <item row="5" column="1" >
154             <widget class="QDoubleSpinBox" name="doubleSpinBox_PassBand" >
155              <property name="maximum" >
156               <double>2.000000000000000</double>
157              </property>
158              <property name="singleStep" >
159               <double>0.100000000000000</double>
160              </property>
161             </widget>
162            </item>
163           </layout>
164          </item>
165          <item>
166           <widget class="QGroupBox" name="groupBox_2" >
167            <property name="title" >
168             <string>Source</string>
169            </property>
170            <layout class="QVBoxLayout" name="verticalLayout" >
171             <item>
172              <widget class="QListWidget" name="listWidget_Source" >
173               <property name="sizePolicy" >
174                <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
175                 <horstretch>0</horstretch>
176                 <verstretch>0</verstretch>
177                </sizepolicy>
178               </property>
179              </widget>
180             </item>
181             <item>
182              <layout class="QHBoxLayout" name="horizontalLayout" >
183               <item>
184                <widget class="QPushButton" name="pushButton_SelectAll_Source" >
185                 <property name="text" >
186                  <string>Select all</string>
187                 </property>
188                </widget>
189               </item>
190               <item>
191                <widget class="QPushButton" name="pushButton_ClearAll_Source" >
192                 <property name="text" >
193                  <string>Clear all</string>
194                 </property>
195                </widget>
196               </item>
197              </layout>
198             </item>
199            </layout>
200           </widget>
201          </item>
202         </layout>
203        </item>
204        <item>
205         <layout class="QVBoxLayout" name="verticalLayout_6" >
206          <item>
207           <widget class="QGroupBox" name="groupBox" >
208            <property name="title" >
209             <string>boundary codes</string>
210            </property>
211            <layout class="QVBoxLayout" name="verticalLayout_5" >
212             <item>
213              <widget class="QListWidget" name="listWidget" />
214             </item>
215             <item>
216              <layout class="QHBoxLayout" name="horizontalLayout_6" >
217               <item>
218                <widget class="QPushButton" name="pushButton_SelectAll_BC" >
219                 <property name="text" >
220                  <string>Select all</string>
221                 </property>
222                </widget>
223               </item>
224               <item>
225                <widget class="QPushButton" name="pushButton_ClearAll_BC" >
226                 <property name="text" >
227                  <string>Clear all</string>
228                 </property>
229                </widget>
230               </item>
231              </layout>
232             </item>
233            </layout>
234           </widget>
235          </item>
236          <item>
237           <layout class="QFormLayout" name="formLayout" >
238            <property name="fieldGrowthPolicy" >
239             <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
240            </property>
241            <property name="labelAlignment" >
242             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
243            </property>
244            <item row="0" column="0" >
245             <widget class="QLabel" name="label_3" >
246              <property name="maximumSize" >
247               <size>
248                <width>41</width>
249                <height>16777215</height>
250               </size>
251              </property>
252              <property name="text" >
253               <string>Method :</string>
254              </property>
255             </widget>
256            </item>
257            <item row="0" column="1" >
258             <widget class="QComboBox" name="SmoothMethod" >
259              <property name="sizePolicy" >
260               <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
261                <horstretch>0</horstretch>
262                <verstretch>0</verstretch>
263               </sizepolicy>
264              </property>
265              <property name="sizeAdjustPolicy" >
266               <enum>QComboBox::AdjustToContents</enum>
267              </property>
268             </widget>
269            </item>
270            <item row="1" column="0" >
271             <widget class="QLabel" name="label_4" >
272              <property name="text" >
273               <string>Boundary code for new cells :</string>
274              </property>
275             </widget>
276            </item>
277            <item row="1" column="1" >
278             <widget class="QLineEdit" name="lineEdit_BoundaryCode" />
279            </item>
280            <item row="2" column="0" >
281             <widget class="QLabel" name="label_2" >
282              <property name="text" >
283               <string>Number of subdivisions :</string>
284              </property>
285             </widget>
286            </item>
287            <item row="2" column="1" >
288             <widget class="QSpinBox" name="spinBox_NumberOfSubdivisions" />
289            </item>
290            <item row="3" column="0" >
291             <widget class="QLabel" name="label_5" >
292              <property name="text" >
293               <string>VTK_SIMPLE_VERTEX :</string>
294              </property>
295             </widget>
296            </item>
297            <item row="3" column="1" >
298             <widget class="QDoubleSpinBox" name="doubleSpinBox_VTK_SIMPLE_VERTEX" >
299              <property name="minimum" >
300               <double>-1.000000000000000</double>
301              </property>
302             </widget>
303            </item>
304            <item row="4" column="0" >
305             <widget class="QLabel" name="label_6" >
306              <property name="text" >
307               <string>VTK_FIXED_VERTEX :</string>
308              </property>
309             </widget>
310            </item>
311            <item row="5" column="0" >
312             <widget class="QLabel" name="label_7" >
313              <property name="text" >
314               <string>VTK_FEATURE_EDGE_VERTEX :</string>
315              </property>
316             </widget>
317            </item>
318            <item row="6" column="0" >
319             <widget class="QLabel" name="label_9" >
320              <property name="text" >
321               <string>VTK_BOUNDARY_EDGE_VERTEX :</string>
322              </property>
323             </widget>
324            </item>
325            <item row="4" column="1" >
326             <widget class="QDoubleSpinBox" name="doubleSpinBox_VTK_FIXED_VERTEX" >
327              <property name="minimum" >
328               <double>-1.000000000000000</double>
329              </property>
330             </widget>
331            </item>
332            <item row="5" column="1" >
333             <widget class="QDoubleSpinBox" name="doubleSpinBox_VTK_FEATURE_EDGE_VERTEX" >
334              <property name="minimum" >
335               <double>-1.000000000000000</double>
336              </property>
337             </widget>
338            </item>
339            <item row="6" column="1" >
340             <widget class="QDoubleSpinBox" name="doubleSpinBox_VTK_BOUNDARY_EDGE_VERTEX" >
341              <property name="minimum" >
342               <double>-1.000000000000000</double>
343              </property>
344             </widget>
345            </item>
346            <item row="7" column="0" >
347             <widget class="QLabel" name="label_10" >
348              <property name="text" >
349               <string>Convergence_meshdensity :</string>
350              </property>
351             </widget>
352            </item>
353            <item row="7" column="1" >
354             <widget class="QDoubleSpinBox" name="doubleSpinBox_Convergence_meshdensity" >
355              <property name="decimals" >
356               <number>6</number>
357              </property>
358              <property name="singleStep" >
359               <double>0.010000000000000</double>
360              </property>
361             </widget>
362            </item>
363            <item row="8" column="0" >
364             <widget class="QCheckBox" name="checkBox_insert_FP" >
365              <property name="sizePolicy" >
366               <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
367                <horstretch>0</horstretch>
368                <verstretch>0</verstretch>
369               </sizepolicy>
370              </property>
371              <property name="text" >
372               <string>Insert field points</string>
373              </property>
374             </widget>
375            </item>
376            <item row="9" column="0" >
377             <widget class="QCheckBox" name="checkBox_remove_FP" >
378              <property name="text" >
379               <string>Remove field points</string>
380              </property>
381             </widget>
382            </item>
383            <item row="8" column="1" >
384             <widget class="QCheckBox" name="checkBox_insert_EP" >
385              <property name="text" >
386               <string>Insert edge points</string>
387              </property>
388             </widget>
389            </item>
390            <item row="9" column="1" >
391             <widget class="QCheckBox" name="checkBox_remove_EP" >
392              <property name="text" >
393               <string>Remove edge points</string>
394              </property>
395             </widget>
396            </item>
397            <item row="10" column="0" >
398             <widget class="QLabel" name="label_14" >
399              <property name="text" >
400               <string>NumberOfSmoothIterations :</string>
401              </property>
402             </widget>
403            </item>
404            <item row="10" column="1" >
405             <widget class="QSpinBox" name="spinBox_NumberOfSmoothIterations" />
406            </item>
407           </layout>
408          </item>
409         </layout>
410        </item>
411       </layout>
412      </widget>
413      <widget class="QWidget" name="tab_2" >
414       <attribute name="title" >
415        <string>Advanced options</string>
416       </attribute>
417       <layout class="QVBoxLayout" name="verticalLayout_3" >
418        <item>
419         <layout class="QVBoxLayout" name="verticalLayout_SettingsSheet" />
420        </item>
421        <item>
422         <layout class="QHBoxLayout" name="horizontalLayout_4" >
423          <item>
424           <widget class="QRadioButton" name="radioButton_length" >
425            <property name="text" >
426             <string>Mesh density in length units</string>
427            </property>
428           </widget>
429          </item>
430          <item>
431           <widget class="QRadioButton" name="radioButton_density" >
432            <property name="text" >
433             <string>Mesh density in length^(-1) units</string>
434            </property>
435           </widget>
436          </item>
437         </layout>
438        </item>
439        <item>
440         <layout class="QHBoxLayout" name="horizontalLayout_3" >
441          <item>
442           <widget class="QPushButton" name="pushButton_RemoveSet" >
443            <property name="text" >
444             <string>Remove set</string>
445            </property>
446           </widget>
447          </item>
448          <item>
449           <widget class="QPushButton" name="pushButton_AddSet" >
450            <property name="text" >
451             <string>Add set</string>
452            </property>
453           </widget>
454          </item>
455          <item>
456           <widget class="QPushButton" name="pushButton_TestSet" >
457            <property name="text" >
458             <string>Test</string>
459            </property>
460           </widget>
461          </item>
462         </layout>
463        </item>
464        <item>
465         <layout class="QHBoxLayout" name="horizontalLayout_5" >
466          <item>
467           <widget class="QPushButton" name="pushButton_Load" >
468            <property name="text" >
469             <string>Load...</string>
470            </property>
471           </widget>
472          </item>
473          <item>
474           <widget class="QPushButton" name="pushButton_Save" >
475            <property name="text" >
476             <string>Save...</string>
477            </property>
478           </widget>
479          </item>
480         </layout>
481        </item>
482       </layout>
483      </widget>
484     </widget>
485    </item>
486    <item>
487     <layout class="QHBoxLayout" >
488      <item>
489       <widget class="QPushButton" name="pushButtonHelp" >
490        <property name="text" >
491         <string>Help</string>
492        </property>
493       </widget>
494      </item>
495      <item>
496       <spacer>
497        <property name="orientation" >
498         <enum>Qt::Horizontal</enum>
499        </property>
500        <property name="sizeHint" stdset="0" >
501         <size>
502          <width>40</width>
503          <height>20</height>
504         </size>
505        </property>
506       </spacer>
507      </item>
508      <item>
509       <widget class="QDialogButtonBox" name="buttonBox" >
510        <property name="orientation" >
511         <enum>Qt::Horizontal</enum>
512        </property>
513        <property name="standardButtons" >
514         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
515        </property>
516       </widget>
517      </item>
518     </layout>
519    </item>
520   </layout>
521  </widget>
522  <resources>
523   <include location="engrid.qrc" />
524  </resources>
525  <connections>
526   <connection>
527    <sender>buttonBox</sender>
528    <signal>accepted()</signal>
529    <receiver>GuiSmoothSurface</receiver>
530    <slot>accept()</slot>
531    <hints>
532     <hint type="sourcelabel" >
533      <x>248</x>
534      <y>254</y>
535     </hint>
536     <hint type="destinationlabel" >
537      <x>157</x>
538      <y>274</y>
539     </hint>
540    </hints>
541   </connection>
542   <connection>
543    <sender>buttonBox</sender>
544    <signal>rejected()</signal>
545    <receiver>GuiSmoothSurface</receiver>
546    <slot>reject()</slot>
547    <hints>
548     <hint type="sourcelabel" >
549      <x>316</x>
550      <y>260</y>
551     </hint>
552     <hint type="destinationlabel" >
553      <x>286</x>
554      <y>274</y>
555     </hint>
556    </hints>
557   </connection>
558  </connections>
559 </ui>