1 <?xml version="1.0" encoding="UTF-8"?>
4 <widget class="QDialog" name="Dialog">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Adjust shapefile to mesh</string>
16 <property name="layoutDirection">
17 <enum>Qt::LeftToRight</enum>
19 <layout class="QVBoxLayout" name="verticalLayout">
21 <widget class="QGroupBox" name="groupBox">
22 <property name="title">
23 <string>Input</string>
25 <layout class="QHBoxLayout" name="horizontalLayout_3">
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>
36 <property name="text">
37 <string>Mesh edges shapefile</string>
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>
46 <property name="text">
51 <item row="0" column="2">
52 <widget class="QLineEdit" name="le_meshEdges"/>
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>
62 <property name="toolTip">
63 <string>Select a shapefile in the file system</string>
65 <property name="text">
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>
78 <property name="text">
79 <string>Shapefile to adjust</string>
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>
88 <property name="text">
93 <item row="1" column="2">
94 <widget class="QLineEdit" name="le_shapeToAdjust"/>
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>
104 <property name="toolTip">
105 <string>Select a shapefile in the file system</string>
107 <property name="text">
118 <widget class="QGroupBox" name="groupBox_2">
119 <property name="title">
120 <string>Output</string>
122 <layout class="QVBoxLayout" name="verticalLayout_2">
124 <layout class="QHBoxLayout" name="horizontalLayout_2">
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>
133 <property name="text">
134 <string>Output dir:</string>
139 <widget class="QLineEdit" name="le_outDir">
140 <property name="statusTip">
141 <string>directory to store shapefiles and output mesh file if kept</string>
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>
153 <property name="text">
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>
169 <item row="0" column="1">
170 <widget class="QCheckBox" name="cb_loadMeshEdges">
171 <property name="text">
172 <string>Load result</string>
176 <item row="0" column="2">
177 <widget class="QCheckBox" name="cb_splineMeshEdges">
178 <property name="text">
179 <string>Load as spline</string>
183 <item row="0" column="3">
184 <spacer name="horizontalSpacer_2">
185 <property name="orientation">
186 <enum>Qt::Horizontal</enum>
188 <property name="sizeHint" stdset="0">
196 <item row="1" column="0">
197 <widget class="QCheckBox" name="cb_splitShapeToAdjust">
198 <property name="text">
199 <string>Split shapefile to adjust</string>
203 <item row="1" column="1">
204 <widget class="QCheckBox" name="cb_loadShapeToAdjust">
205 <property name="text">
206 <string>Load result</string>
210 <item row="1" column="2">
211 <widget class="QCheckBox" name="cb_splineShapeToAdjust">
212 <property name="text">
213 <string>Load as spline</string>
217 <item row="1" column="3">
218 <spacer name="horizontalSpacer_3">
219 <property name="orientation">
220 <enum>Qt::Horizontal</enum>
222 <property name="sizeHint" stdset="0">
236 <spacer name="verticalSpacer">
237 <property name="orientation">
238 <enum>Qt::Vertical</enum>
240 <property name="sizeHint" stdset="0">
249 <layout class="QHBoxLayout" name="horizontalLayout">
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>
258 <property name="orientation">
259 <enum>Qt::Horizontal</enum>
261 <property name="standardButtons">
262 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
267 <spacer name="horizontalSpacer">
268 <property name="orientation">
269 <enum>Qt::Horizontal</enum>
271 <property name="sizeHint" stdset="0">
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>
287 <property name="text">
288 <string>Help</string>
299 <sender>pb_ok</sender>
300 <signal>rejected()</signal>
301 <receiver>Dialog</receiver>
302 <slot>reject()</slot>
304 <hint type="sourcelabel">
308 <hint type="destinationlabel">
315 <sender>pb_ok</sender>
316 <signal>accepted()</signal>
317 <receiver>Dialog</receiver>
318 <slot>accept()</slot>
320 <hint type="sourcelabel">
324 <hint type="destinationlabel">
331 <sender>cb_loadMeshEdges</sender>
332 <signal>toggled(bool)</signal>
333 <receiver>cb_splineMeshEdges</receiver>
334 <slot>setEnabled(bool)</slot>
336 <hint type="sourcelabel">
340 <hint type="destinationlabel">
347 <sender>cb_loadShapeToAdjust</sender>
348 <signal>toggled(bool)</signal>
349 <receiver>cb_splineShapeToAdjust</receiver>
350 <slot>setEnabled(bool)</slot>
352 <hint type="sourcelabel">
356 <hint type="destinationlabel">