]> SALOME platform Git repositories - modules/hydro.git/blob - src/HYDROTools/plugins/fitShapePointsToMeshEdges.ui
Salome HOME
Correction for hydro_test
[modules/hydro.git] / src / HYDROTools / plugins / fitShapePointsToMeshEdges.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>817</width>
10     <height>344</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Adjust shapefile to mesh</string>
15   </property>
16   <property name="layoutDirection">
17    <enum>Qt::LeftToRight</enum>
18   </property>
19   <layout class="QVBoxLayout" name="verticalLayout">
20    <item>
21     <widget class="QGroupBox" name="groupBox">
22      <property name="title">
23       <string>Input</string>
24      </property>
25      <layout class="QHBoxLayout" name="horizontalLayout_3">
26       <item>
27        <layout class="QGridLayout" name="gridLayout">
28         <item row="0" column="0">
29          <widget class="QLabel" name="lb_meshEdges">
30           <property name="sizePolicy">
31            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
32             <horstretch>0</horstretch>
33             <verstretch>0</verstretch>
34            </sizepolicy>
35           </property>
36           <property name="text">
37            <string>Mesh edges shapefile</string>
38           </property>
39          </widget>
40         </item>
41         <item row="0" column="1">
42          <widget class="QToolButton" name="tb_meshEdges">
43           <property name="toolTip">
44            <string>Select a shape in the HYDRO object browser</string>
45           </property>
46           <property name="text">
47            <string>...</string>
48           </property>
49          </widget>
50         </item>
51         <item row="0" column="2">
52          <widget class="QLineEdit" name="le_meshEdges"/>
53         </item>
54         <item row="0" column="3">
55          <widget class="QToolButton" name="pb_meshEdges">
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="toolTip">
63            <string>Select a shapefile in the file system</string>
64           </property>
65           <property name="text">
66            <string>...</string>
67           </property>
68          </widget>
69         </item>
70         <item row="1" column="0">
71          <widget class="QLabel" name="lb_shapeToAdjust">
72           <property name="sizePolicy">
73            <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
74             <horstretch>0</horstretch>
75             <verstretch>0</verstretch>
76            </sizepolicy>
77           </property>
78           <property name="text">
79            <string>Shapefile to adjust</string>
80           </property>
81          </widget>
82         </item>
83         <item row="1" column="1">
84          <widget class="QToolButton" name="tb_shapeToAdjust">
85           <property name="toolTip">
86            <string>Select a shape in the HYDRO object browser</string>
87           </property>
88           <property name="text">
89            <string>...</string>
90           </property>
91          </widget>
92         </item>
93         <item row="1" column="2">
94          <widget class="QLineEdit" name="le_shapeToAdjust"/>
95         </item>
96         <item row="1" column="3">
97          <widget class="QToolButton" name="pb_shapeToAdjust">
98           <property name="sizePolicy">
99            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
100             <horstretch>0</horstretch>
101             <verstretch>0</verstretch>
102            </sizepolicy>
103           </property>
104           <property name="toolTip">
105            <string>Select a shapefile in the file system</string>
106           </property>
107           <property name="text">
108            <string>...</string>
109           </property>
110          </widget>
111         </item>
112        </layout>
113       </item>
114      </layout>
115     </widget>
116    </item>
117    <item>
118     <widget class="QGroupBox" name="groupBox_2">
119      <property name="title">
120       <string>Output</string>
121      </property>
122      <layout class="QVBoxLayout" name="verticalLayout_2">
123       <item>
124        <layout class="QHBoxLayout" name="horizontalLayout_2">
125         <item>
126          <widget class="QLabel" name="lb_outDir">
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>Output dir:</string>
135           </property>
136          </widget>
137         </item>
138         <item>
139          <widget class="QLineEdit" name="le_outDir">
140           <property name="statusTip">
141            <string>directory to store shapefiles and output mesh file if kept</string>
142           </property>
143          </widget>
144         </item>
145         <item>
146          <widget class="QToolButton" name="pb_outDir">
147           <property name="sizePolicy">
148            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
149             <horstretch>0</horstretch>
150             <verstretch>0</verstretch>
151            </sizepolicy>
152           </property>
153           <property name="text">
154            <string>...</string>
155           </property>
156          </widget>
157         </item>
158        </layout>
159       </item>
160       <item>
161        <layout class="QGridLayout" name="gridLayout_2">
162         <item row="0" column="0">
163          <widget class="QCheckBox" name="cb_splitMeshEdges">
164           <property name="text">
165            <string>Split mesh edges shapefile</string>
166           </property>
167          </widget>
168         </item>
169         <item row="0" column="1">
170          <widget class="QCheckBox" name="cb_loadMeshEdges">
171           <property name="text">
172            <string>Load result</string>
173           </property>
174          </widget>
175         </item>
176         <item row="0" column="2">
177          <widget class="QCheckBox" name="cb_splineMeshEdges">
178           <property name="text">
179            <string>Load as spline</string>
180           </property>
181          </widget>
182         </item>
183         <item row="0" column="3">
184          <spacer name="horizontalSpacer_2">
185           <property name="orientation">
186            <enum>Qt::Horizontal</enum>
187           </property>
188           <property name="sizeHint" stdset="0">
189            <size>
190             <width>333</width>
191             <height>20</height>
192            </size>
193           </property>
194          </spacer>
195         </item>
196         <item row="1" column="0">
197          <widget class="QCheckBox" name="cb_splitShapeToAdjust">
198           <property name="text">
199            <string>Split shapefile to adjust</string>
200           </property>
201          </widget>
202         </item>
203         <item row="1" column="1">
204          <widget class="QCheckBox" name="cb_loadShapeToAdjust">
205           <property name="text">
206            <string>Load result</string>
207           </property>
208          </widget>
209         </item>
210         <item row="1" column="2">
211          <widget class="QCheckBox" name="cb_splineShapeToAdjust">
212           <property name="text">
213            <string>Load as spline</string>
214           </property>
215          </widget>
216         </item>
217         <item row="1" column="3">
218          <spacer name="horizontalSpacer_3">
219           <property name="orientation">
220            <enum>Qt::Horizontal</enum>
221           </property>
222           <property name="sizeHint" stdset="0">
223            <size>
224             <width>333</width>
225             <height>20</height>
226            </size>
227           </property>
228          </spacer>
229         </item>
230        </layout>
231       </item>
232      </layout>
233     </widget>
234    </item>
235    <item>
236     <spacer name="verticalSpacer">
237      <property name="orientation">
238       <enum>Qt::Vertical</enum>
239      </property>
240      <property name="sizeHint" stdset="0">
241       <size>
242        <width>20</width>
243        <height>66</height>
244       </size>
245      </property>
246     </spacer>
247    </item>
248    <item>
249     <layout class="QHBoxLayout" name="horizontalLayout">
250      <item>
251       <widget class="QDialogButtonBox" name="pb_ok">
252        <property name="sizePolicy">
253         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
254          <horstretch>0</horstretch>
255          <verstretch>0</verstretch>
256         </sizepolicy>
257        </property>
258        <property name="orientation">
259         <enum>Qt::Horizontal</enum>
260        </property>
261        <property name="standardButtons">
262         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
263        </property>
264       </widget>
265      </item>
266      <item>
267       <spacer name="horizontalSpacer">
268        <property name="orientation">
269         <enum>Qt::Horizontal</enum>
270        </property>
271        <property name="sizeHint" stdset="0">
272         <size>
273          <width>40</width>
274          <height>20</height>
275         </size>
276        </property>
277       </spacer>
278      </item>
279      <item>
280       <widget class="QPushButton" name="pb_help">
281        <property name="sizePolicy">
282         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
283          <horstretch>0</horstretch>
284          <verstretch>0</verstretch>
285         </sizepolicy>
286        </property>
287        <property name="text">
288         <string>Help</string>
289        </property>
290       </widget>
291      </item>
292     </layout>
293    </item>
294   </layout>
295  </widget>
296  <resources/>
297  <connections>
298   <connection>
299    <sender>pb_ok</sender>
300    <signal>rejected()</signal>
301    <receiver>Dialog</receiver>
302    <slot>reject()</slot>
303    <hints>
304     <hint type="sourcelabel">
305      <x>316</x>
306      <y>260</y>
307     </hint>
308     <hint type="destinationlabel">
309      <x>286</x>
310      <y>274</y>
311     </hint>
312    </hints>
313   </connection>
314   <connection>
315    <sender>pb_ok</sender>
316    <signal>accepted()</signal>
317    <receiver>Dialog</receiver>
318    <slot>accept()</slot>
319    <hints>
320     <hint type="sourcelabel">
321      <x>248</x>
322      <y>254</y>
323     </hint>
324     <hint type="destinationlabel">
325      <x>157</x>
326      <y>274</y>
327     </hint>
328    </hints>
329   </connection>
330   <connection>
331    <sender>cb_loadMeshEdges</sender>
332    <signal>toggled(bool)</signal>
333    <receiver>cb_splineMeshEdges</receiver>
334    <slot>setEnabled(bool)</slot>
335    <hints>
336     <hint type="sourcelabel">
337      <x>282</x>
338      <y>194</y>
339     </hint>
340     <hint type="destinationlabel">
341      <x>396</x>
342      <y>194</y>
343     </hint>
344    </hints>
345   </connection>
346   <connection>
347    <sender>cb_loadShapeToAdjust</sender>
348    <signal>toggled(bool)</signal>
349    <receiver>cb_splineShapeToAdjust</receiver>
350    <slot>setEnabled(bool)</slot>
351    <hints>
352     <hint type="sourcelabel">
353      <x>282</x>
354      <y>223</y>
355     </hint>
356     <hint type="destinationlabel">
357      <x>396</x>
358      <y>223</y>
359     </hint>
360    </hints>
361   </connection>
362  </connections>
363 </ui>