Salome HOME
interpolz dialogs improvement
[modules/hydrosolver.git] / src / salome_hydro / interpolz.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Dialog</class>
4  <widget class="QDialog" name="Dialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>851</width>
10     <height>651</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Dialog</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout">
19      <item>
20       <widget class="QLabel" name="lblMEDFile">
21        <property name="text">
22         <string>Input MED file:</string>
23        </property>
24       </widget>
25      </item>
26      <item>
27       <widget class="QLineEdit" name="MEDFile">
28        <property name="toolTip">
29         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;MED file containing the mesh, that will receive a new or updated field with altitude&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
30        </property>
31       </widget>
32      </item>
33      <item>
34       <widget class="QToolButton" name="btnMEDFile">
35        <property name="text">
36         <string>...</string>
37        </property>
38       </widget>
39      </item>
40     </layout>
41    </item>
42    <item>
43     <widget class="QTabWidget" name="tabWidget">
44      <property name="toolTip">
45       <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set the bathymetry, using an active Calculation Case from HYDRO module:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Calculation Case&lt;/span&gt;: set the bathymetry for all the groups of faces.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;MED group bathymetry&lt;/span&gt;: set the bathymetry for only one MED group of faces (other groups unchanged).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
46      </property>
47      <property name="currentIndex">
48       <number>1</number>
49      </property>
50      <widget class="QWidget" name="caclcase_tab">
51       <attribute name="title">
52        <string>Calculation Case</string>
53       </attribute>
54       <layout class="QVBoxLayout" name="verticalLayout">
55        <item>
56         <layout class="QGridLayout" name="gridLayout">
57          <item row="0" column="1">
58           <widget class="QLabel" name="lblCalcCase">
59            <property name="text">
60             <string>Calculation case:</string>
61            </property>
62           </widget>
63          </item>
64          <item row="0" column="2">
65           <widget class="QLineEdit" name="CalcCase">
66            <property name="toolTip">
67             <string>Select an active calculation case from HYDRO module in SALOME Object Browser</string>
68            </property>
69           </widget>
70          </item>
71         </layout>
72        </item>
73        <item>
74         <widget class="QGroupBox" name="grpParams">
75          <property name="title">
76           <string>Parameters</string>
77          </property>
78          <layout class="QGridLayout" name="gridLayout_6">
79           <item row="0" column="0">
80            <layout class="QGridLayout" name="gridLayout_5">
81             <item row="0" column="0">
82              <widget class="QLabel" name="lblUndefZ">
83               <property name="text">
84                <string>Undefined Z:</string>
85               </property>
86              </widget>
87             </item>
88             <item row="1" column="0">
89              <widget class="QLabel" name="lblInterpMethod">
90               <property name="text">
91                <string>Interpolation method:</string>
92               </property>
93              </widget>
94             </item>
95             <item row="1" column="1">
96              <widget class="QComboBox" name="InterpMethod">
97               <property name="toolTip">
98                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;select the method used to interpolate the bathymetry:&lt;/p&gt;&lt;p&gt;use the z value of the nearest bathymetry point, &lt;/p&gt;&lt;p&gt;interpolate between 3 bathymetry points (linear triangle interpolation),&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
99               </property>
100              </widget>
101             </item>
102             <item row="0" column="1">
103              <widget class="QDoubleSpinBox" name="UndefZ">
104               <property name="toolTip">
105                <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Z value to set when no bathymetry is available for some point&lt;/p&gt;&lt;p&gt;(Mainly used to help in case of problem, when some points are not associated with any  bathymetry)&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
106               </property>
107              </widget>
108             </item>
109            </layout>
110           </item>
111           <item row="1" column="0">
112            <widget class="QTableWidget" name="Groups">
113             <property name="toolTip">
114              <string>Associate MED groups with Regions from Calculation Case</string>
115             </property>
116             <attribute name="horizontalHeaderDefaultSectionSize">
117              <number>250</number>
118             </attribute>
119             <column>
120              <property name="text">
121               <string>MED group</string>
122              </property>
123             </column>
124             <column>
125              <property name="text">
126               <string>Region</string>
127              </property>
128             </column>
129             <column>
130              <property name="text">
131               <string>Interpolation method</string>
132              </property>
133             </column>
134            </widget>
135           </item>
136          </layout>
137         </widget>
138        </item>
139       </layout>
140      </widget>
141      <widget class="QWidget" name="bathy_tab">
142       <attribute name="title">
143        <string>MED Group bathymetry</string>
144       </attribute>
145       <layout class="QGridLayout" name="gridLayout_14">
146        <item row="2" column="0">
147         <widget class="QGroupBox" name="grpParams_2">
148          <property name="sizePolicy">
149           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
150            <horstretch>0</horstretch>
151            <verstretch>0</verstretch>
152           </sizepolicy>
153          </property>
154          <property name="title">
155           <string>Parameters</string>
156          </property>
157          <layout class="QGridLayout" name="gridLayout_10">
158           <item row="0" column="0">
159            <layout class="QGridLayout" name="gridLayout_11">
160             <item row="1" column="0">
161              <widget class="QLabel" name="lblInterpMethod_2">
162               <property name="text">
163                <string>Interpolation method:</string>
164               </property>
165              </widget>
166             </item>
167             <item row="0" column="1">
168              <widget class="QDoubleSpinBox" name="UndefZ_B"/>
169             </item>
170             <item row="0" column="0">
171              <widget class="QLabel" name="lblUndefZ_2">
172               <property name="text">
173                <string>Undefined Z:</string>
174               </property>
175              </widget>
176             </item>
177             <item row="1" column="1">
178              <widget class="QComboBox" name="InterpMethod_B"/>
179             </item>
180            </layout>
181           </item>
182          </layout>
183         </widget>
184        </item>
185        <item row="1" column="0">
186         <layout class="QGridLayout" name="gridLayout_13">
187          <item row="0" column="2">
188           <widget class="QComboBox" name="medGroupNames">
189            <property name="toolTip">
190             <string>^Select a Med group of faces in the list</string>
191            </property>
192           </widget>
193          </item>
194          <item row="0" column="1">
195           <widget class="QLabel" name="lblMedGroup">
196            <property name="text">
197             <string>MED Group:</string>
198            </property>
199           </widget>
200          </item>
201         </layout>
202        </item>
203        <item row="0" column="0">
204         <layout class="QGridLayout" name="gridLayout_9">
205          <item row="0" column="1">
206           <widget class="QLabel" name="lblBathy">
207            <property name="text">
208             <string>Bathymetry:</string>
209            </property>
210           </widget>
211          </item>
212          <item row="0" column="2">
213           <widget class="QLineEdit" name="BathyName">
214            <property name="toolTip">
215             <string>Select an active bathymetry from HYDRO module in SALOME Object Browser</string>
216            </property>
217           </widget>
218          </item>
219         </layout>
220        </item>
221        <item row="3" column="0">
222         <spacer name="verticalSpacer">
223          <property name="orientation">
224           <enum>Qt::Vertical</enum>
225          </property>
226          <property name="sizeHint" stdset="0">
227           <size>
228            <width>20</width>
229            <height>40</height>
230           </size>
231          </property>
232         </spacer>
233        </item>
234       </layout>
235      </widget>
236     </widget>
237    </item>
238    <item>
239     <layout class="QHBoxLayout" name="horizontalLayout_3">
240      <item>
241       <widget class="QLabel" name="lblOutputPath">
242        <property name="text">
243         <string>Script output path:</string>
244        </property>
245       </widget>
246      </item>
247      <item>
248       <widget class="QLineEdit" name="OutputPath">
249        <property name="toolTip">
250         <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;path of the script to create, for generation of bathymetry (altitude) field&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
251        </property>
252       </widget>
253      </item>
254      <item>
255       <widget class="QToolButton" name="btnOutputPath">
256        <property name="text">
257         <string>...</string>
258        </property>
259       </widget>
260      </item>
261     </layout>
262    </item>
263    <item>
264     <widget class="QCheckBox" name="cb_scriptExec">
265      <property name="toolTip">
266       <string>if checked the script is generated and executed on apply, otherwise it is only generated for later use</string>
267      </property>
268      <property name="text">
269       <string>Execute the script</string>
270      </property>
271     </widget>
272    </item>
273    <item>
274     <widget class="QFrame" name="frame">
275      <property name="frameShape">
276       <enum>QFrame::NoFrame</enum>
277      </property>
278      <property name="frameShadow">
279       <enum>QFrame::Plain</enum>
280      </property>
281      <layout class="QHBoxLayout" name="horizontalLayout_2">
282       <property name="spacing">
283        <number>0</number>
284       </property>
285       <property name="leftMargin">
286        <number>0</number>
287       </property>
288       <property name="topMargin">
289        <number>0</number>
290       </property>
291       <property name="rightMargin">
292        <number>0</number>
293       </property>
294       <property name="bottomMargin">
295        <number>0</number>
296       </property>
297       <item>
298        <widget class="QPushButton" name="ApplyClose">
299         <property name="text">
300          <string>Apply and Close</string>
301         </property>
302        </widget>
303       </item>
304       <item>
305        <widget class="QPushButton" name="Apply">
306         <property name="text">
307          <string>Apply</string>
308         </property>
309        </widget>
310       </item>
311       <item>
312        <widget class="QPushButton" name="Close">
313         <property name="text">
314          <string>Close</string>
315         </property>
316        </widget>
317       </item>
318       <item>
319        <spacer name="horizontalSpacer">
320         <property name="orientation">
321          <enum>Qt::Horizontal</enum>
322         </property>
323         <property name="sizeHint" stdset="0">
324          <size>
325           <width>40</width>
326           <height>20</height>
327          </size>
328         </property>
329        </spacer>
330       </item>
331       <item>
332        <widget class="QPushButton" name="Help">
333         <property name="text">
334          <string>Help</string>
335         </property>
336        </widget>
337       </item>
338      </layout>
339     </widget>
340    </item>
341   </layout>
342  </widget>
343  <resources/>
344  <connections/>
345 </ui>