1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<ui version="4.0"> |
3 |
<class>XmlToolsInterface</class> |
4 |
<widget class="QMainWindow" name="XmlToolsInterface"> |
5 |
<property name="geometry"> |
6 |
<rect> |
7 |
<x>0</x> |
8 |
<y>0</y> |
9 |
<width>650</width> |
10 |
<height>660</height> |
11 |
</rect> |
12 |
</property> |
13 |
<property name="minimumSize"> |
14 |
<size> |
15 |
<width>650</width> |
16 |
<height>660</height> |
17 |
</size> |
18 |
</property> |
19 |
<property name="acceptDrops"> |
20 |
<bool>true</bool> |
21 |
</property> |
22 |
<property name="windowTitle"> |
23 |
<string>XmlTools Interface</string> |
24 |
</property> |
25 |
<property name="windowIcon"> |
26 |
<iconset resource="../resources.qrc"> |
27 |
<normaloff>:/new/icons/xmltoolsinterface.png</normaloff>:/new/icons/xmltoolsinterface.png</iconset> |
28 |
</property> |
29 |
<widget class="QWidget" name="centralwidget"> |
30 |
<layout class="QVBoxLayout" name="verticalLayout_5"> |
31 |
<item> |
32 |
<layout class="QFormLayout" name="formLayout_5"> |
33 |
<item row="0" column="0"> |
34 |
<widget class="QLabel" name="label"> |
35 |
<property name="text"> |
36 |
<string>XmlTools Operation:</string> |
37 |
</property> |
38 |
</widget> |
39 |
</item> |
40 |
<item row="0" column="1"> |
41 |
<widget class="QComboBox" name="cbXmlToolsOperation"> |
42 |
<item> |
43 |
<property name="text"> |
44 |
<string>Add Values</string> |
45 |
</property> |
46 |
</item> |
47 |
<item> |
48 |
<property name="text"> |
49 |
<string>Remove Values</string> |
50 |
</property> |
51 |
</item> |
52 |
<item> |
53 |
<property name="text"> |
54 |
<string>Replace Single Value</string> |
55 |
</property> |
56 |
</item> |
57 |
<item> |
58 |
<property name="text"> |
59 |
<string>Replace All Values</string> |
60 |
</property> |
61 |
</item> |
62 |
<item> |
63 |
<property name="text"> |
64 |
<string>Update Elements</string> |
65 |
</property> |
66 |
</item> |
67 |
<item> |
68 |
<property name="text"> |
69 |
<string>Invert Elements</string> |
70 |
</property> |
71 |
</item> |
72 |
</widget> |
73 |
</item> |
74 |
</layout> |
75 |
</item> |
76 |
<item> |
77 |
<spacer name="verticalSpacer_6"> |
78 |
<property name="orientation"> |
79 |
<enum>Qt::Vertical</enum> |
80 |
</property> |
81 |
<property name="sizeHint" stdset="0"> |
82 |
<size> |
83 |
<width>20</width> |
84 |
<height>40</height> |
85 |
</size> |
86 |
</property> |
87 |
</spacer> |
88 |
</item> |
89 |
<item> |
90 |
<widget class="QGroupBox" name="groupBox"> |
91 |
<property name="title"> |
92 |
<string>Filter</string> |
93 |
</property> |
94 |
<layout class="QVBoxLayout" name="verticalLayout_3"> |
95 |
<item> |
96 |
<layout class="QVBoxLayout" name="verticalLayout"> |
97 |
<item> |
98 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
99 |
<item> |
100 |
<widget class="QRadioButton" name="rbFilterRelativeElements"> |
101 |
<property name="minimumSize"> |
102 |
<size> |
103 |
<width>140</width> |
104 |
<height>0</height> |
105 |
</size> |
106 |
</property> |
107 |
<property name="text"> |
108 |
<string>Relative Elements</string> |
109 |
</property> |
110 |
<property name="checked"> |
111 |
<bool>true</bool> |
112 |
</property> |
113 |
</widget> |
114 |
</item> |
115 |
<item> |
116 |
<layout class="QGridLayout" name="gridLayout"> |
117 |
<item row="0" column="0"> |
118 |
<widget class="QLabel" name="lbFilterElement"> |
119 |
<property name="sizePolicy"> |
120 |
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> |
121 |
<horstretch>0</horstretch> |
122 |
<verstretch>0</verstretch> |
123 |
</sizepolicy> |
124 |
</property> |
125 |
<property name="text"> |
126 |
<string>Element:</string> |
127 |
</property> |
128 |
</widget> |
129 |
</item> |
130 |
<item row="0" column="1"> |
131 |
<widget class="QLineEdit" name="leFilterElement"/> |
132 |
</item> |
133 |
<item row="0" column="2"> |
134 |
<widget class="QCheckBox" name="cbFilterParentElement"> |
135 |
<property name="text"> |
136 |
<string>Parent Element:</string> |
137 |
</property> |
138 |
</widget> |
139 |
</item> |
140 |
<item row="0" column="3"> |
141 |
<widget class="QLineEdit" name="leFilterParentElement"/> |
142 |
</item> |
143 |
<item row="1" column="0"> |
144 |
<widget class="QCheckBox" name="cbFilterAttributeName"> |
145 |
<property name="text"> |
146 |
<string>Attribute Name:</string> |
147 |
</property> |
148 |
</widget> |
149 |
</item> |
150 |
<item row="1" column="1"> |
151 |
<widget class="QLineEdit" name="leFilterAttributeName"/> |
152 |
</item> |
153 |
<item row="1" column="2"> |
154 |
<widget class="QLabel" name="lbFilterAttributeValue"> |
155 |
<property name="text"> |
156 |
<string>Attribute Value:</string> |
157 |
</property> |
158 |
</widget> |
159 |
</item> |
160 |
<item row="1" column="3"> |
161 |
<widget class="QLineEdit" name="leFilterAttributeValue"> |
162 |
<property name="minimumSize"> |
163 |
<size> |
164 |
<width>80</width> |
165 |
<height>0</height> |
166 |
</size> |
167 |
</property> |
168 |
</widget> |
169 |
</item> |
170 |
</layout> |
171 |
</item> |
172 |
</layout> |
173 |
</item> |
174 |
<item> |
175 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
176 |
<item> |
177 |
<widget class="QRadioButton" name="rbFilterXPathExpression"> |
178 |
<property name="minimumSize"> |
179 |
<size> |
180 |
<width>140</width> |
181 |
<height>0</height> |
182 |
</size> |
183 |
</property> |
184 |
<property name="text"> |
185 |
<string>X-Path Expression</string> |
186 |
</property> |
187 |
</widget> |
188 |
</item> |
189 |
<item> |
190 |
<widget class="QLineEdit" name="leFilterXPathExpression"/> |
191 |
</item> |
192 |
</layout> |
193 |
</item> |
194 |
</layout> |
195 |
</item> |
196 |
</layout> |
197 |
</widget> |
198 |
</item> |
199 |
<item> |
200 |
<spacer name="verticalSpacer"> |
201 |
<property name="orientation"> |
202 |
<enum>Qt::Vertical</enum> |
203 |
</property> |
204 |
<property name="sizeHint" stdset="0"> |
205 |
<size> |
206 |
<width>20</width> |
207 |
<height>40</height> |
208 |
</size> |
209 |
</property> |
210 |
</spacer> |
211 |
</item> |
212 |
<item> |
213 |
<widget class="QGroupBox" name="groupBox_2"> |
214 |
<property name="title"> |
215 |
<string>Input</string> |
216 |
</property> |
217 |
<layout class="QVBoxLayout" name="verticalLayout_4"> |
218 |
<item> |
219 |
<layout class="QGridLayout" name="gridLayout_2"> |
220 |
<item row="0" column="0"> |
221 |
<widget class="QLabel" name="label_2"> |
222 |
<property name="sizePolicy"> |
223 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
224 |
<horstretch>0</horstretch> |
225 |
<verstretch>0</verstretch> |
226 |
</sizepolicy> |
227 |
</property> |
228 |
<property name="text"> |
229 |
<string>Input File(s):</string> |
230 |
</property> |
231 |
</widget> |
232 |
</item> |
233 |
<item row="0" column="1"> |
234 |
<layout class="QGridLayout" name="gridLayout_3"> |
235 |
<item row="0" column="0"> |
236 |
<widget class="QLineEdit" name="leInputInputFiles"> |
237 |
<property name="minimumSize"> |
238 |
<size> |
239 |
<width>200</width> |
240 |
<height>0</height> |
241 |
</size> |
242 |
</property> |
243 |
</widget> |
244 |
</item> |
245 |
<item row="0" column="1"> |
246 |
<widget class="QPushButton" name="pbInputBrowse"> |
247 |
<property name="text"> |
248 |
<string>Browse...</string> |
249 |
</property> |
250 |
</widget> |
251 |
</item> |
252 |
</layout> |
253 |
</item> |
254 |
<item row="1" column="0"> |
255 |
<widget class="QLabel" name="lbInputCurrentValues"> |
256 |
<property name="sizePolicy"> |
257 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
258 |
<horstretch>0</horstretch> |
259 |
<verstretch>0</verstretch> |
260 |
</sizepolicy> |
261 |
</property> |
262 |
<property name="text"> |
263 |
<string>Current Value(s):</string> |
264 |
</property> |
265 |
</widget> |
266 |
</item> |
267 |
<item row="1" column="1"> |
268 |
<widget class="QLineEdit" name="leInputCurrentValues"> |
269 |
<property name="text"> |
270 |
<string/> |
271 |
</property> |
272 |
</widget> |
273 |
</item> |
274 |
<item row="2" column="0"> |
275 |
<widget class="QLabel" name="lbInputNewValues"> |
276 |
<property name="sizePolicy"> |
277 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
278 |
<horstretch>0</horstretch> |
279 |
<verstretch>0</verstretch> |
280 |
</sizepolicy> |
281 |
</property> |
282 |
<property name="text"> |
283 |
<string>New Value(s):</string> |
284 |
</property> |
285 |
</widget> |
286 |
</item> |
287 |
<item row="2" column="1"> |
288 |
<widget class="QLineEdit" name="leInputNewValues"/> |
289 |
</item> |
290 |
<item row="3" column="0"> |
291 |
<widget class="QLabel" name="lbInputPositions"> |
292 |
<property name="sizePolicy"> |
293 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
294 |
<horstretch>0</horstretch> |
295 |
<verstretch>0</verstretch> |
296 |
</sizepolicy> |
297 |
</property> |
298 |
<property name="text"> |
299 |
<string>Position(s):</string> |
300 |
</property> |
301 |
</widget> |
302 |
</item> |
303 |
<item row="3" column="1"> |
304 |
<widget class="QLineEdit" name="leInputPositions"> |
305 |
<property name="text"> |
306 |
<string/> |
307 |
</property> |
308 |
</widget> |
309 |
</item> |
310 |
<item row="4" column="0"> |
311 |
<widget class="QLabel" name="lbInputDiffOldNewValue"> |
312 |
<property name="text"> |
313 |
<string>Diff between old and new value:</string> |
314 |
</property> |
315 |
</widget> |
316 |
</item> |
317 |
<item row="4" column="1"> |
318 |
<widget class="QLineEdit" name="leInputDiffOldNewValue"/> |
319 |
</item> |
320 |
</layout> |
321 |
</item> |
322 |
</layout> |
323 |
</widget> |
324 |
</item> |
325 |
<item> |
326 |
<spacer name="verticalSpacer_3"> |
327 |
<property name="orientation"> |
328 |
<enum>Qt::Vertical</enum> |
329 |
</property> |
330 |
<property name="sizeHint" stdset="0"> |
331 |
<size> |
332 |
<width>20</width> |
333 |
<height>40</height> |
334 |
</size> |
335 |
</property> |
336 |
</spacer> |
337 |
</item> |
338 |
<item> |
339 |
<widget class="QGroupBox" name="groupBox_3"> |
340 |
<property name="title"> |
341 |
<string>Options</string> |
342 |
</property> |
343 |
<layout class="QVBoxLayout" name="verticalLayout_2"> |
344 |
<item> |
345 |
<widget class="QCheckBox" name="cbOptionsNoBackups"> |
346 |
<property name="text"> |
347 |
<string>No Backups</string> |
348 |
</property> |
349 |
</widget> |
350 |
</item> |
351 |
</layout> |
352 |
</widget> |
353 |
</item> |
354 |
<item> |
355 |
<spacer name="verticalSpacer_4"> |
356 |
<property name="orientation"> |
357 |
<enum>Qt::Vertical</enum> |
358 |
</property> |
359 |
<property name="sizeHint" stdset="0"> |
360 |
<size> |
361 |
<width>20</width> |
362 |
<height>40</height> |
363 |
</size> |
364 |
</property> |
365 |
</spacer> |
366 |
</item> |
367 |
<item> |
368 |
<widget class="QGroupBox" name="groupBox_4"> |
369 |
<property name="title"> |
370 |
<string>XmlTools Operation Command</string> |
371 |
</property> |
372 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
373 |
<item> |
374 |
<widget class="QLineEdit" name="leOperationCommandGenCommand"> |
375 |
<property name="enabled"> |
376 |
<bool>true</bool> |
377 |
</property> |
378 |
<property name="readOnly"> |
379 |
<bool>true</bool> |
380 |
</property> |
381 |
</widget> |
382 |
</item> |
383 |
<item> |
384 |
<widget class="QPushButton" name="pbOperationCommandCopyToClipboard"> |
385 |
<property name="text"> |
386 |
<string>Copy to clipboard</string> |
387 |
</property> |
388 |
</widget> |
389 |
</item> |
390 |
</layout> |
391 |
</widget> |
392 |
</item> |
393 |
<item> |
394 |
<spacer name="verticalSpacer_5"> |
395 |
<property name="orientation"> |
396 |
<enum>Qt::Vertical</enum> |
397 |
</property> |
398 |
<property name="sizeHint" stdset="0"> |
399 |
<size> |
400 |
<width>20</width> |
401 |
<height>40</height> |
402 |
</size> |
403 |
</property> |
404 |
</spacer> |
405 |
</item> |
406 |
<item> |
407 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
408 |
<item> |
409 |
<spacer name="horizontalSpacer"> |
410 |
<property name="orientation"> |
411 |
<enum>Qt::Horizontal</enum> |
412 |
</property> |
413 |
<property name="sizeHint" stdset="0"> |
414 |
<size> |
415 |
<width>40</width> |
416 |
<height>20</height> |
417 |
</size> |
418 |
</property> |
419 |
</spacer> |
420 |
</item> |
421 |
<item> |
422 |
<widget class="QPushButton" name="pbPreviewOperation"> |
423 |
<property name="minimumSize"> |
424 |
<size> |
425 |
<width>150</width> |
426 |
<height>0</height> |
427 |
</size> |
428 |
</property> |
429 |
<property name="text"> |
430 |
<string>Preview Operation</string> |
431 |
</property> |
432 |
</widget> |
433 |
</item> |
434 |
<item> |
435 |
<spacer name="horizontalSpacer_2"> |
436 |
<property name="orientation"> |
437 |
<enum>Qt::Horizontal</enum> |
438 |
</property> |
439 |
<property name="sizeType"> |
440 |
<enum>QSizePolicy::Fixed</enum> |
441 |
</property> |
442 |
<property name="sizeHint" stdset="0"> |
443 |
<size> |
444 |
<width>20</width> |
445 |
<height>20</height> |
446 |
</size> |
447 |
</property> |
448 |
</spacer> |
449 |
</item> |
450 |
<item> |
451 |
<widget class="QPushButton" name="pbApplyOperation"> |
452 |
<property name="minimumSize"> |
453 |
<size> |
454 |
<width>100</width> |
455 |
<height>0</height> |
456 |
</size> |
457 |
</property> |
458 |
<property name="text"> |
459 |
<string>Apply Operation</string> |
460 |
</property> |
461 |
</widget> |
462 |
</item> |
463 |
</layout> |
464 |
</item> |
465 |
</layout> |
466 |
</widget> |
467 |
</widget> |
468 |
<resources> |
469 |
<include location="../resources.qrc"/> |
470 |
</resources> |
471 |
<connections/> |
472 |
</ui> |