]> SALOME platform Git repositories - modules/hydrosolver.git/blob - src/salome_hydro/changeCoords.ui
Salome HOME
Adding test from srf2med conversion using MEDCoupling
[modules/hydrosolver.git] / src / salome_hydro / changeCoords.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>704</width>
10     <height>459</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Change Coordinates</string>
15   </property>
16   <property name="layoutDirection">
17    <enum>Qt::LeftToRight</enum>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout_3">
20    <item>
21     <widget class="QCheckBox" name="cb_changeCoordSystem">
22      <property name="toolTip">
23       <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Activate if you need to change the system of coordinates,&lt;/p&gt;&lt;p&gt;for instance Lambert II to Lambert 93&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
24      </property>
25      <property name="text">
26       <string>Change coordinates system</string>
27      </property>
28     </widget>
29    </item>
30    <item>
31     <widget class="QGroupBox" name="groupBoxIn">
32      <property name="title">
33       <string>Input</string>
34      </property>
35      <layout class="QVBoxLayout" name="verticalLayout">
36       <item>
37        <layout class="QHBoxLayout" name="horizontalLayout_2">
38         <item>
39          <widget class="QLabel" name="lb_medFileIn">
40           <property name="sizePolicy">
41            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
42             <horstretch>0</horstretch>
43             <verstretch>0</verstretch>
44            </sizepolicy>
45           </property>
46           <property name="text">
47            <string>MED file</string>
48           </property>
49          </widget>
50         </item>
51         <item>
52          <widget class="QLineEdit" name="le_medFileIn"/>
53         </item>
54         <item>
55          <widget class="QToolButton" name="pb_medFileIn">
56           <property name="sizePolicy">
57            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
58             <horstretch>0</horstretch>
59             <verstretch>0</verstretch>
60            </sizepolicy>
61           </property>
62           <property name="text">
63            <string>...</string>
64           </property>
65          </widget>
66         </item>
67        </layout>
68       </item>
69       <item>
70        <layout class="QGridLayout" name="gridLayout">
71         <item row="0" column="0">
72          <widget class="QLabel" name="lb_offsetXin">
73           <property name="sizePolicy">
74            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
75             <horstretch>0</horstretch>
76             <verstretch>0</verstretch>
77            </sizepolicy>
78           </property>
79           <property name="text">
80            <string>Offset X</string>
81           </property>
82          </widget>
83         </item>
84         <item row="0" column="1">
85          <widget class="QDoubleSpinBox" name="dsb_offsetXin">
86           <property name="sizePolicy">
87            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
88             <horstretch>0</horstretch>
89             <verstretch>0</verstretch>
90            </sizepolicy>
91           </property>
92           <property name="toolTip">
93            <string>X coordinate of origin of input mesh</string>
94           </property>
95           <property name="layoutDirection">
96            <enum>Qt::LeftToRight</enum>
97           </property>
98           <property name="decimals">
99            <number>0</number>
100           </property>
101           <property name="minimum">
102            <double>-10000000.000000000000000</double>
103           </property>
104           <property name="maximum">
105            <double>10000000.000000000000000</double>
106           </property>
107           <property name="singleStep">
108            <double>10000.000000000000000</double>
109           </property>
110          </widget>
111         </item>
112         <item row="0" column="2">
113          <spacer name="horizontalSpacer_2">
114           <property name="orientation">
115            <enum>Qt::Horizontal</enum>
116           </property>
117           <property name="sizeHint" stdset="0">
118            <size>
119             <width>40</width>
120             <height>20</height>
121            </size>
122           </property>
123          </spacer>
124         </item>
125         <item row="1" column="0">
126          <widget class="QLabel" name="lb_offsetYin">
127           <property name="sizePolicy">
128            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
129             <horstretch>0</horstretch>
130             <verstretch>0</verstretch>
131            </sizepolicy>
132           </property>
133           <property name="text">
134            <string>Offset Y</string>
135           </property>
136          </widget>
137         </item>
138         <item row="1" column="1">
139          <widget class="QDoubleSpinBox" name="dsb_offsetYin">
140           <property name="sizePolicy">
141            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
142             <horstretch>0</horstretch>
143             <verstretch>0</verstretch>
144            </sizepolicy>
145           </property>
146           <property name="toolTip">
147            <string>Y coordinate of origin of input mesh</string>
148           </property>
149           <property name="decimals">
150            <number>0</number>
151           </property>
152           <property name="minimum">
153            <double>-10000000.000000000000000</double>
154           </property>
155           <property name="maximum">
156            <double>10000000.000000000000000</double>
157           </property>
158           <property name="singleStep">
159            <double>10000.000000000000000</double>
160           </property>
161           <property name="value">
162            <double>0.000000000000000</double>
163           </property>
164          </widget>
165         </item>
166         <item row="1" column="2">
167          <spacer name="horizontalSpacer_3">
168           <property name="orientation">
169            <enum>Qt::Horizontal</enum>
170           </property>
171           <property name="sizeHint" stdset="0">
172            <size>
173             <width>40</width>
174             <height>20</height>
175            </size>
176           </property>
177          </spacer>
178         </item>
179        </layout>
180       </item>
181       <item>
182        <widget class="QFrame" name="fr_coordSystemIn">
183         <layout class="QHBoxLayout" name="hl_coordSystemIn">
184          <item>
185           <widget class="QLabel" name="label">
186            <property name="sizePolicy">
187             <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
188              <horstretch>0</horstretch>
189              <verstretch>0</verstretch>
190             </sizepolicy>
191            </property>
192            <property name="text">
193             <string>Coord System</string>
194            </property>
195           </widget>
196          </item>
197          <item>
198           <widget class="QComboBox" name="cmb_systemIn">
199            <property name="sizePolicy">
200             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
201              <horstretch>0</horstretch>
202              <verstretch>0</verstretch>
203             </sizepolicy>
204            </property>
205            <property name="toolTip">
206             <string>EPSG code of the system used for input mesh</string>
207            </property>
208           </widget>
209          </item>
210         </layout>
211        </widget>
212       </item>
213      </layout>
214     </widget>
215    </item>
216    <item>
217     <widget class="QGroupBox" name="groupBoxOut">
218      <property name="title">
219       <string>Output</string>
220      </property>
221      <layout class="QVBoxLayout" name="verticalLayout_2">
222       <item>
223        <layout class="QHBoxLayout" name="horizontalLayout_3">
224         <item>
225          <widget class="QLabel" name="lb_medFileOut">
226           <property name="sizePolicy">
227            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
228             <horstretch>0</horstretch>
229             <verstretch>0</verstretch>
230            </sizepolicy>
231           </property>
232           <property name="text">
233            <string>MED File</string>
234           </property>
235          </widget>
236         </item>
237         <item>
238          <widget class="QLineEdit" name="le_medFileOut">
239           <property name="toolTip">
240            <string>directory to store shapefiles and output mesh file if kept</string>
241           </property>
242           <property name="statusTip">
243            <string/>
244           </property>
245          </widget>
246         </item>
247         <item>
248          <widget class="QToolButton" name="pb_medFileOut">
249           <property name="sizePolicy">
250            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
251             <horstretch>0</horstretch>
252             <verstretch>0</verstretch>
253            </sizepolicy>
254           </property>
255           <property name="text">
256            <string>...</string>
257           </property>
258          </widget>
259         </item>
260        </layout>
261       </item>
262       <item>
263        <layout class="QGridLayout" name="gridLayout_2">
264         <item row="0" column="0">
265          <widget class="QLabel" name="lb_offsetXout">
266           <property name="sizePolicy">
267            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
268             <horstretch>0</horstretch>
269             <verstretch>0</verstretch>
270            </sizepolicy>
271           </property>
272           <property name="text">
273            <string>Offset X</string>
274           </property>
275          </widget>
276         </item>
277         <item row="0" column="1">
278          <widget class="QDoubleSpinBox" name="dsb_offsetXout">
279           <property name="sizePolicy">
280            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
281             <horstretch>0</horstretch>
282             <verstretch>0</verstretch>
283            </sizepolicy>
284           </property>
285           <property name="toolTip">
286            <string>X coordinate of origin of output mesh</string>
287           </property>
288           <property name="layoutDirection">
289            <enum>Qt::LeftToRight</enum>
290           </property>
291           <property name="decimals">
292            <number>0</number>
293           </property>
294           <property name="minimum">
295            <double>-10000000.000000000000000</double>
296           </property>
297           <property name="maximum">
298            <double>10000000.000000000000000</double>
299           </property>
300           <property name="singleStep">
301            <double>10000.000000000000000</double>
302           </property>
303          </widget>
304         </item>
305         <item row="0" column="2">
306          <spacer name="horizontalSpacer_4">
307           <property name="orientation">
308            <enum>Qt::Horizontal</enum>
309           </property>
310           <property name="sizeHint" stdset="0">
311            <size>
312             <width>40</width>
313             <height>20</height>
314            </size>
315           </property>
316          </spacer>
317         </item>
318         <item row="1" column="0">
319          <widget class="QLabel" name="lb_offsetYout">
320           <property name="sizePolicy">
321            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
322             <horstretch>0</horstretch>
323             <verstretch>0</verstretch>
324            </sizepolicy>
325           </property>
326           <property name="text">
327            <string>Offset Y</string>
328           </property>
329          </widget>
330         </item>
331         <item row="1" column="1">
332          <widget class="QDoubleSpinBox" name="dsb_offsetYout">
333           <property name="sizePolicy">
334            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
335             <horstretch>0</horstretch>
336             <verstretch>0</verstretch>
337            </sizepolicy>
338           </property>
339           <property name="toolTip">
340            <string>Y coordinate of origin of output mesh</string>
341           </property>
342           <property name="decimals">
343            <number>0</number>
344           </property>
345           <property name="minimum">
346            <double>-10000000.000000000000000</double>
347           </property>
348           <property name="maximum">
349            <double>10000000.000000000000000</double>
350           </property>
351           <property name="singleStep">
352            <double>10000.000000000000000</double>
353           </property>
354           <property name="value">
355            <double>0.000000000000000</double>
356           </property>
357          </widget>
358         </item>
359         <item row="1" column="2">
360          <spacer name="horizontalSpacer_5">
361           <property name="orientation">
362            <enum>Qt::Horizontal</enum>
363           </property>
364           <property name="sizeHint" stdset="0">
365            <size>
366             <width>40</width>
367             <height>20</height>
368            </size>
369           </property>
370          </spacer>
371         </item>
372        </layout>
373       </item>
374       <item>
375        <widget class="QFrame" name="fr_CoordSystemOut">
376         <layout class="QHBoxLayout" name="hl_coordSystemOut">
377          <item>
378           <widget class="QLabel" name="label_2">
379            <property name="sizePolicy">
380             <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
381              <horstretch>0</horstretch>
382              <verstretch>0</verstretch>
383             </sizepolicy>
384            </property>
385            <property name="text">
386             <string>Coord System</string>
387            </property>
388           </widget>
389          </item>
390          <item>
391           <widget class="QComboBox" name="cmb_systemOut">
392            <property name="toolTip">
393             <string>EPSG code of the system to use for output mesh</string>
394            </property>
395           </widget>
396          </item>
397         </layout>
398        </widget>
399       </item>
400      </layout>
401     </widget>
402    </item>
403    <item>
404     <spacer name="verticalSpacer">
405      <property name="orientation">
406       <enum>Qt::Vertical</enum>
407      </property>
408      <property name="sizeHint" stdset="0">
409       <size>
410        <width>20</width>
411        <height>66</height>
412       </size>
413      </property>
414     </spacer>
415    </item>
416    <item>
417     <layout class="QHBoxLayout" name="horizontalLayout">
418      <item>
419       <widget class="QDialogButtonBox" name="pb_ok">
420        <property name="sizePolicy">
421         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
422          <horstretch>0</horstretch>
423          <verstretch>0</verstretch>
424         </sizepolicy>
425        </property>
426        <property name="orientation">
427         <enum>Qt::Horizontal</enum>
428        </property>
429        <property name="standardButtons">
430         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
431        </property>
432       </widget>
433      </item>
434      <item>
435       <spacer name="horizontalSpacer">
436        <property name="orientation">
437         <enum>Qt::Horizontal</enum>
438        </property>
439        <property name="sizeHint" stdset="0">
440         <size>
441          <width>40</width>
442          <height>20</height>
443         </size>
444        </property>
445       </spacer>
446      </item>
447      <item>
448       <widget class="QPushButton" name="pb_help">
449        <property name="sizePolicy">
450         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
451          <horstretch>0</horstretch>
452          <verstretch>0</verstretch>
453         </sizepolicy>
454        </property>
455        <property name="text">
456         <string>Help</string>
457        </property>
458       </widget>
459      </item>
460     </layout>
461    </item>
462   </layout>
463  </widget>
464  <resources/>
465  <connections>
466   <connection>
467    <sender>cb_changeCoordSystem</sender>
468    <signal>toggled(bool)</signal>
469    <receiver>fr_coordSystemIn</receiver>
470    <slot>setVisible(bool)</slot>
471    <hints>
472     <hint type="sourcelabel">
473      <x>351</x>
474      <y>20</y>
475     </hint>
476     <hint type="destinationlabel">
477      <x>351</x>
478      <y>182</y>
479     </hint>
480    </hints>
481   </connection>
482   <connection>
483    <sender>cb_changeCoordSystem</sender>
484    <signal>toggled(bool)</signal>
485    <receiver>fr_CoordSystemOut</receiver>
486    <slot>setVisible(bool)</slot>
487    <hints>
488     <hint type="sourcelabel">
489      <x>351</x>
490      <y>20</y>
491     </hint>
492     <hint type="destinationlabel">
493      <x>351</x>
494      <y>358</y>
495     </hint>
496    </hints>
497   </connection>
498  </connections>
499 </ui>