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>640</width> |
10 |
<height>480</height> |
11 |
</rect> |
12 |
</property> |
13 |
<property name="minimumSize"> |
14 |
<size> |
15 |
<width>640</width> |
16 |
<height>480</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="QHBoxLayout" name="horizontalLayout_6"> |
97 |
<item> |
98 |
<widget class="QRadioButton" name="rbFilterRelativeElements"> |
99 |
<property name="minimumSize"> |
100 |
<size> |
101 |
<width>110</width> |
102 |
<height>0</height> |
103 |
</size> |
104 |
</property> |
105 |
<property name="text"> |
106 |
<string>Relative Elements</string> |
107 |
</property> |
108 |
<property name="checked"> |
109 |
<bool>true</bool> |
110 |
</property> |
111 |
</widget> |
112 |
</item> |
113 |
<item> |
114 |
<layout class="QVBoxLayout" name="verticalLayout"> |
115 |
<item> |
116 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
117 |
<item> |
118 |
<layout class="QFormLayout" name="formLayout_2"> |
119 |
<item row="0" column="0"> |
120 |
<widget class="QLabel" name="lbFilterElement"> |
121 |
<property name="minimumSize"> |
122 |
<size> |
123 |
<width>102</width> |
124 |
<height>0</height> |
125 |
</size> |
126 |
</property> |
127 |
<property name="text"> |
128 |
<string>Element:</string> |
129 |
</property> |
130 |
</widget> |
131 |
</item> |
132 |
<item row="0" column="1"> |
133 |
<widget class="QLineEdit" name="leFilterElement"> |
134 |
<property name="minimumSize"> |
135 |
<size> |
136 |
<width>120</width> |
137 |
<height>0</height> |
138 |
</size> |
139 |
</property> |
140 |
</widget> |
141 |
</item> |
142 |
</layout> |
143 |
</item> |
144 |
<item> |
145 |
<layout class="QFormLayout" name="formLayout_7"> |
146 |
<item row="0" column="0"> |
147 |
<widget class="QCheckBox" name="cbFilterParentElement"> |
148 |
<property name="minimumSize"> |
149 |
<size> |
150 |
<width>100</width> |
151 |
<height>0</height> |
152 |
</size> |
153 |
</property> |
154 |
<property name="text"> |
155 |
<string>Parent Element:</string> |
156 |
</property> |
157 |
</widget> |
158 |
</item> |
159 |
<item row="0" column="1"> |
160 |
<widget class="QLineEdit" name="leFilterParentElement"/> |
161 |
</item> |
162 |
</layout> |
163 |
</item> |
164 |
</layout> |
165 |
</item> |
166 |
<item> |
167 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
168 |
<item> |
169 |
<layout class="QFormLayout" name="formLayout_4"> |
170 |
<item row="0" column="0"> |
171 |
<widget class="QCheckBox" name="cbFilterAttributeName"> |
172 |
<property name="minimumSize"> |
173 |
<size> |
174 |
<width>102</width> |
175 |
<height>0</height> |
176 |
</size> |
177 |
</property> |
178 |
<property name="text"> |
179 |
<string>Attribute Name:</string> |
180 |
</property> |
181 |
</widget> |
182 |
</item> |
183 |
<item row="0" column="1"> |
184 |
<widget class="QLineEdit" name="leFilterAttributeName"> |
185 |
<property name="minimumSize"> |
186 |
<size> |
187 |
<width>120</width> |
188 |
<height>0</height> |
189 |
</size> |
190 |
</property> |
191 |
</widget> |
192 |
</item> |
193 |
</layout> |
194 |
</item> |
195 |
<item> |
196 |
<layout class="QFormLayout" name="formLayout_3"> |
197 |
<item row="0" column="0"> |
198 |
<widget class="QLabel" name="lbFilterAttributeValue"> |
199 |
<property name="minimumSize"> |
200 |
<size> |
201 |
<width>100</width> |
202 |
<height>0</height> |
203 |
</size> |
204 |
</property> |
205 |
<property name="text"> |
206 |
<string>Attribute Value:</string> |
207 |
</property> |
208 |
</widget> |
209 |
</item> |
210 |
<item row="0" column="1"> |
211 |
<widget class="QLineEdit" name="leFilterAttributeValue"/> |
212 |
</item> |
213 |
</layout> |
214 |
</item> |
215 |
</layout> |
216 |
</item> |
217 |
</layout> |
218 |
</item> |
219 |
</layout> |
220 |
</item> |
221 |
<item> |
222 |
<layout class="QFormLayout" name="formLayout"> |
223 |
<item row="0" column="0"> |
224 |
<widget class="QRadioButton" name="rbFilterXPathExpression"> |
225 |
<property name="minimumSize"> |
226 |
<size> |
227 |
<width>110</width> |
228 |
<height>0</height> |
229 |
</size> |
230 |
</property> |
231 |
<property name="text"> |
232 |
<string>X-Path Expression</string> |
233 |
</property> |
234 |
</widget> |
235 |
</item> |
236 |
<item row="0" column="1"> |
237 |
<widget class="QLineEdit" name="leFilterXPathExpression"/> |
238 |
</item> |
239 |
</layout> |
240 |
</item> |
241 |
</layout> |
242 |
</widget> |
243 |
</item> |
244 |
<item> |
245 |
<spacer name="verticalSpacer"> |
246 |
<property name="orientation"> |
247 |
<enum>Qt::Vertical</enum> |
248 |
</property> |
249 |
<property name="sizeHint" stdset="0"> |
250 |
<size> |
251 |
<width>20</width> |
252 |
<height>40</height> |
253 |
</size> |
254 |
</property> |
255 |
</spacer> |
256 |
</item> |
257 |
<item> |
258 |
<widget class="QGroupBox" name="groupBox_2"> |
259 |
<property name="title"> |
260 |
<string>Input</string> |
261 |
</property> |
262 |
<layout class="QVBoxLayout" name="verticalLayout_4"> |
263 |
<item> |
264 |
<layout class="QFormLayout" name="formLayout_6"> |
265 |
<item row="0" column="0"> |
266 |
<widget class="QLabel" name="label_2"> |
267 |
<property name="sizePolicy"> |
268 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
269 |
<horstretch>0</horstretch> |
270 |
<verstretch>0</verstretch> |
271 |
</sizepolicy> |
272 |
</property> |
273 |
<property name="minimumSize"> |
274 |
<size> |
275 |
<width>156</width> |
276 |
<height>0</height> |
277 |
</size> |
278 |
</property> |
279 |
<property name="text"> |
280 |
<string>Input File(s):</string> |
281 |
</property> |
282 |
</widget> |
283 |
</item> |
284 |
<item row="0" column="1"> |
285 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
286 |
<item> |
287 |
<widget class="QLineEdit" name="leInputInputFiles"/> |
288 |
</item> |
289 |
<item> |
290 |
<widget class="QPushButton" name="pbInputBrowse"> |
291 |
<property name="text"> |
292 |
<string>Browse...</string> |
293 |
</property> |
294 |
</widget> |
295 |
</item> |
296 |
</layout> |
297 |
</item> |
298 |
</layout> |
299 |
</item> |
300 |
<item> |
301 |
<layout class="QFormLayout" name="formLayout_8"> |
302 |
<item row="0" column="0"> |
303 |
<widget class="QLabel" name="lbInputCurrentValues"> |
304 |
<property name="sizePolicy"> |
305 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
306 |
<horstretch>0</horstretch> |
307 |
<verstretch>0</verstretch> |
308 |
</sizepolicy> |
309 |
</property> |
310 |
<property name="minimumSize"> |
311 |
<size> |
312 |
<width>156</width> |
313 |
<height>0</height> |
314 |
</size> |
315 |
</property> |
316 |
<property name="text"> |
317 |
<string>Current Value(s):</string> |
318 |
</property> |
319 |
</widget> |
320 |
</item> |
321 |
<item row="0" column="1"> |
322 |
<widget class="QLineEdit" name="leInputCurrentValues"> |
323 |
<property name="text"> |
324 |
<string/> |
325 |
</property> |
326 |
</widget> |
327 |
</item> |
328 |
</layout> |
329 |
</item> |
330 |
<item> |
331 |
<layout class="QFormLayout" name="formLayout_9"> |
332 |
<item row="0" column="0"> |
333 |
<widget class="QLabel" name="lbInputNewValues"> |
334 |
<property name="sizePolicy"> |
335 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
336 |
<horstretch>0</horstretch> |
337 |
<verstretch>0</verstretch> |
338 |
</sizepolicy> |
339 |
</property> |
340 |
<property name="minimumSize"> |
341 |
<size> |
342 |
<width>156</width> |
343 |
<height>0</height> |
344 |
</size> |
345 |
</property> |
346 |
<property name="text"> |
347 |
<string>New Value(s):</string> |
348 |
</property> |
349 |
</widget> |
350 |
</item> |
351 |
<item row="0" column="1"> |
352 |
<widget class="QLineEdit" name="leInputNewValues"/> |
353 |
</item> |
354 |
</layout> |
355 |
</item> |
356 |
<item> |
357 |
<layout class="QFormLayout" name="formLayout_10"> |
358 |
<item row="0" column="0"> |
359 |
<widget class="QLabel" name="lbInputPositions"> |
360 |
<property name="sizePolicy"> |
361 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
362 |
<horstretch>0</horstretch> |
363 |
<verstretch>0</verstretch> |
364 |
</sizepolicy> |
365 |
</property> |
366 |
<property name="minimumSize"> |
367 |
<size> |
368 |
<width>156</width> |
369 |
<height>0</height> |
370 |
</size> |
371 |
</property> |
372 |
<property name="text"> |
373 |
<string>Position(s):</string> |
374 |
</property> |
375 |
</widget> |
376 |
</item> |
377 |
<item row="0" column="1"> |
378 |
<widget class="QLineEdit" name="leInputPositions"> |
379 |
<property name="text"> |
380 |
<string/> |
381 |
</property> |
382 |
</widget> |
383 |
</item> |
384 |
</layout> |
385 |
</item> |
386 |
<item> |
387 |
<layout class="QFormLayout" name="formLayout_12"> |
388 |
<item row="0" column="0"> |
389 |
<widget class="QLabel" name="lbInputDiffOldNewValue"> |
390 |
<property name="text"> |
391 |
<string>Diff between old and new value:</string> |
392 |
</property> |
393 |
</widget> |
394 |
</item> |
395 |
<item row="0" column="1"> |
396 |
<widget class="QLineEdit" name="leInputDiffOldNewValue"/> |
397 |
</item> |
398 |
</layout> |
399 |
</item> |
400 |
</layout> |
401 |
</widget> |
402 |
</item> |
403 |
<item> |
404 |
<spacer name="verticalSpacer_3"> |
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>40</height> |
412 |
</size> |
413 |
</property> |
414 |
</spacer> |
415 |
</item> |
416 |
<item> |
417 |
<widget class="QGroupBox" name="groupBox_3"> |
418 |
<property name="title"> |
419 |
<string>Options</string> |
420 |
</property> |
421 |
<layout class="QVBoxLayout" name="verticalLayout_2"> |
422 |
<item> |
423 |
<widget class="QCheckBox" name="cbOptionsNoBackups"> |
424 |
<property name="text"> |
425 |
<string>No Backups</string> |
426 |
</property> |
427 |
</widget> |
428 |
</item> |
429 |
</layout> |
430 |
</widget> |
431 |
</item> |
432 |
<item> |
433 |
<spacer name="verticalSpacer_4"> |
434 |
<property name="orientation"> |
435 |
<enum>Qt::Vertical</enum> |
436 |
</property> |
437 |
<property name="sizeHint" stdset="0"> |
438 |
<size> |
439 |
<width>20</width> |
440 |
<height>40</height> |
441 |
</size> |
442 |
</property> |
443 |
</spacer> |
444 |
</item> |
445 |
<item> |
446 |
<widget class="QGroupBox" name="groupBox_4"> |
447 |
<property name="title"> |
448 |
<string>XmlTools Operation Command</string> |
449 |
</property> |
450 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
451 |
<item> |
452 |
<widget class="QLineEdit" name="leOperationCommandGenCommand"> |
453 |
<property name="enabled"> |
454 |
<bool>true</bool> |
455 |
</property> |
456 |
<property name="readOnly"> |
457 |
<bool>true</bool> |
458 |
</property> |
459 |
</widget> |
460 |
</item> |
461 |
<item> |
462 |
<widget class="QPushButton" name="pbOperationCommandCopyToClipboard"> |
463 |
<property name="text"> |
464 |
<string>Copy to clipboard</string> |
465 |
</property> |
466 |
</widget> |
467 |
</item> |
468 |
</layout> |
469 |
</widget> |
470 |
</item> |
471 |
<item> |
472 |
<spacer name="verticalSpacer_5"> |
473 |
<property name="orientation"> |
474 |
<enum>Qt::Vertical</enum> |
475 |
</property> |
476 |
<property name="sizeHint" stdset="0"> |
477 |
<size> |
478 |
<width>20</width> |
479 |
<height>40</height> |
480 |
</size> |
481 |
</property> |
482 |
</spacer> |
483 |
</item> |
484 |
<item> |
485 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
486 |
<item> |
487 |
<spacer name="horizontalSpacer"> |
488 |
<property name="orientation"> |
489 |
<enum>Qt::Horizontal</enum> |
490 |
</property> |
491 |
<property name="sizeHint" stdset="0"> |
492 |
<size> |
493 |
<width>40</width> |
494 |
<height>20</height> |
495 |
</size> |
496 |
</property> |
497 |
</spacer> |
498 |
</item> |
499 |
<item> |
500 |
<widget class="QPushButton" name="pbPreviewOperation"> |
501 |
<property name="minimumSize"> |
502 |
<size> |
503 |
<width>150</width> |
504 |
<height>0</height> |
505 |
</size> |
506 |
</property> |
507 |
<property name="text"> |
508 |
<string>Preview Operation</string> |
509 |
</property> |
510 |
</widget> |
511 |
</item> |
512 |
<item> |
513 |
<spacer name="horizontalSpacer_2"> |
514 |
<property name="orientation"> |
515 |
<enum>Qt::Horizontal</enum> |
516 |
</property> |
517 |
<property name="sizeType"> |
518 |
<enum>QSizePolicy::Fixed</enum> |
519 |
</property> |
520 |
<property name="sizeHint" stdset="0"> |
521 |
<size> |
522 |
<width>20</width> |
523 |
<height>20</height> |
524 |
</size> |
525 |
</property> |
526 |
</spacer> |
527 |
</item> |
528 |
<item> |
529 |
<widget class="QPushButton" name="pbApplyOperation"> |
530 |
<property name="minimumSize"> |
531 |
<size> |
532 |
<width>100</width> |
533 |
<height>0</height> |
534 |
</size> |
535 |
</property> |
536 |
<property name="text"> |
537 |
<string>Apply Operation</string> |
538 |
</property> |
539 |
</widget> |
540 |
</item> |
541 |
</layout> |
542 |
</item> |
543 |
</layout> |
544 |
</widget> |
545 |
</widget> |
546 |
<resources> |
547 |
<include location="../resources.qrc"/> |
548 |
</resources> |
549 |
<connections/> |
550 |
</ui> |