ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/xmlToolsInterface/xmltoolsinterface.ui
(Generate patch)

Comparing:
Vago/trunk/Vago/xmlToolsInterface/xmltoolsinterface.ui (file contents), Revision 1058 by s10k, Sun Oct 30 14:42:39 2016 UTC vs.
s10k/Vago/xmlToolsInterface/xmltoolsinterface.ui (file contents), Revision 1092 by s10k, Sat Dec 30 13:43:28 2017 UTC

# Line 6 | Line 6
6     <rect>
7      <x>0</x>
8      <y>0</y>
9 <    <width>640</width>
10 <    <height>480</height>
9 >    <width>650</width>
10 >    <height>660</height>
11     </rect>
12    </property>
13    <property name="minimumSize">
14     <size>
15 <    <width>640</width>
16 <    <height>480</height>
15 >    <width>650</width>
16 >    <height>660</height>
17     </size>
18    </property>
19    <property name="acceptDrops">
# Line 32 | Line 32
32       <layout class="QFormLayout" name="formLayout_5">
33        <item row="0" column="0">
34         <widget class="QLabel" name="label">
35 +        <property name="toolTip">
36 +         <string>XmlTools Operation that you want to perform.
37 + Learn more about them in XmlTools documentation page:
38 + http://wiki.oni2.net/XmlTools</string>
39 +        </property>
40          <property name="text">
41           <string>XmlTools Operation:</string>
42          </property>
# Line 39 | Line 44
44        </item>
45        <item row="0" column="1">
46         <widget class="QComboBox" name="cbXmlToolsOperation">
47 +        <property name="toolTip">
48 +         <string>XmlTools Operation that you want to perform.
49 + Learn more about them in XmlTools documentation page:
50 + http://wiki.oni2.net/XmlTools</string>
51 +        </property>
52          <item>
53           <property name="text">
54            <string>Add Values</string>
# Line 93 | Line 103
103        </property>
104        <layout class="QVBoxLayout" name="verticalLayout_3">
105         <item>
106 <        <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>
106 >        <layout class="QVBoxLayout" name="verticalLayout">
107           <item>
108 <          <layout class="QVBoxLayout" name="verticalLayout">
108 >          <layout class="QHBoxLayout" name="horizontalLayout">
109             <item>
110 <            <layout class="QHBoxLayout" name="horizontalLayout">
111 <             <item>
112 <              <layout class="QFormLayout" name="formLayout_2">
113 <               <item row="0" column="0">
114 <                <widget class="QLabel" name="lbFilterElement">
115 <                 <property name="minimumSize">
116 <                  <size>
117 <                   <width>102</width>
118 <                   <height>0</height>
119 <                  </size>
120 <                 </property>
121 <                 <property name="text">
122 <                  <string>Element:</string>
123 <                 </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>
110 >            <widget class="QRadioButton" name="rbFilterRelativeElements">
111 >             <property name="minimumSize">
112 >              <size>
113 >               <width>140</width>
114 >               <height>0</height>
115 >              </size>
116 >             </property>
117 >             <property name="text">
118 >              <string>Relative Elements</string>
119 >             </property>
120 >             <property name="checked">
121 >              <bool>true</bool>
122 >             </property>
123 >            </widget>
124             </item>
125             <item>
126 <            <layout class="QHBoxLayout" name="horizontalLayout_2">
127 <             <item>
128 <              <layout class="QFormLayout" name="formLayout_4">
129 <               <item row="0" column="0">
130 <                <widget class="QCheckBox" name="cbFilterAttributeName">
131 <                 <property name="minimumSize">
132 <                  <size>
133 <                   <width>102</width>
134 <                   <height>0</height>
135 <                  </size>
136 <                 </property>
137 <                 <property name="text">
138 <                  <string>Attribute Name:</string>
139 <                 </property>
140 <                </widget>
141 <               </item>
142 <               <item row="0" column="1">
143 <                <widget class="QLineEdit" name="leFilterAttributeName">
144 <                 <property name="minimumSize">
145 <                  <size>
146 <                   <width>120</width>
147 <                   <height>0</height>
148 <                  </size>
149 <                 </property>
150 <                </widget>
151 <               </item>
193 <              </layout>
126 >            <layout class="QGridLayout" name="gridLayout">
127 >             <item row="0" column="0">
128 >              <widget class="QLabel" name="lbFilterElement">
129 >               <property name="sizePolicy">
130 >                <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
131 >                 <horstretch>0</horstretch>
132 >                 <verstretch>0</verstretch>
133 >                </sizepolicy>
134 >               </property>
135 >               <property name="text">
136 >                <string>Element:</string>
137 >               </property>
138 >              </widget>
139 >             </item>
140 >             <item row="0" column="1">
141 >              <widget class="QLineEdit" name="leFilterElement"/>
142 >             </item>
143 >             <item row="0" column="2">
144 >              <widget class="QCheckBox" name="cbFilterParentElement">
145 >               <property name="text">
146 >                <string>Parent Element:</string>
147 >               </property>
148 >              </widget>
149 >             </item>
150 >             <item row="0" column="3">
151 >              <widget class="QLineEdit" name="leFilterParentElement"/>
152               </item>
153 <             <item>
154 <              <layout class="QFormLayout" name="formLayout_3">
155 <               <item row="0" column="0">
156 <                <widget class="QLabel" name="lbFilterAttributeValue">
157 <                 <property name="minimumSize">
158 <                  <size>
159 <                   <width>100</width>
160 <                   <height>0</height>
161 <                  </size>
162 <                 </property>
163 <                 <property name="text">
164 <                  <string>Attribute Value:</string>
165 <                 </property>
166 <                </widget>
167 <               </item>
168 <               <item row="0" column="1">
169 <                <widget class="QLineEdit" name="leFilterAttributeValue"/>
170 <               </item>
171 <              </layout>
153 >             <item row="1" column="0">
154 >              <widget class="QCheckBox" name="cbFilterAttributeName">
155 >               <property name="text">
156 >                <string>Attribute Name:</string>
157 >               </property>
158 >              </widget>
159 >             </item>
160 >             <item row="1" column="1">
161 >              <widget class="QLineEdit" name="leFilterAttributeName"/>
162 >             </item>
163 >             <item row="1" column="2">
164 >              <widget class="QLabel" name="lbFilterAttributeValue">
165 >               <property name="text">
166 >                <string>Attribute Value:</string>
167 >               </property>
168 >              </widget>
169 >             </item>
170 >             <item row="1" column="3">
171 >              <widget class="QLineEdit" name="leFilterAttributeValue">
172 >               <property name="minimumSize">
173 >                <size>
174 >                 <width>80</width>
175 >                 <height>0</height>
176 >                </size>
177 >               </property>
178 >              </widget>
179               </item>
180              </layout>
181             </item>
182            </layout>
183           </item>
184 <        </layout>
185 <       </item>
186 <       <item>
187 <        <layout class="QFormLayout" name="formLayout">
188 <         <item row="0" column="0">
189 <          <widget class="QRadioButton" name="rbFilterXPathExpression">
190 <           <property name="minimumSize">
191 <            <size>
192 <             <width>110</width>
193 <             <height>0</height>
194 <            </size>
195 <           </property>
196 <           <property name="text">
197 <            <string>X-Path Expression</string>
198 <           </property>
199 <          </widget>
200 <         </item>
201 <         <item row="0" column="1">
202 <          <widget class="QLineEdit" name="leFilterXPathExpression"/>
184 >         <item>
185 >          <layout class="QHBoxLayout" name="horizontalLayout_2">
186 >           <item>
187 >            <widget class="QRadioButton" name="rbFilterXPathExpression">
188 >             <property name="minimumSize">
189 >              <size>
190 >               <width>140</width>
191 >               <height>0</height>
192 >              </size>
193 >             </property>
194 >             <property name="text">
195 >              <string>X-Path Expression</string>
196 >             </property>
197 >            </widget>
198 >           </item>
199 >           <item>
200 >            <widget class="QLineEdit" name="leFilterXPathExpression"/>
201 >           </item>
202 >          </layout>
203           </item>
204          </layout>
205         </item>
# Line 261 | Line 226
226        </property>
227        <layout class="QVBoxLayout" name="verticalLayout_4">
228         <item>
229 <        <layout class="QFormLayout" name="formLayout_6">
229 >        <layout class="QGridLayout" name="gridLayout_2">
230           <item row="0" column="0">
231            <widget class="QLabel" name="label_2">
232             <property name="sizePolicy">
# Line 270 | Line 235
235               <verstretch>0</verstretch>
236              </sizepolicy>
237             </property>
238 <           <property name="minimumSize">
239 <            <size>
240 <             <width>156</width>
241 <             <height>0</height>
277 <            </size>
238 >           <property name="toolTip">
239 >            <string>XML files to process (wildcards supported)
240 >
241 > If you are processing only one file you can also drag and drop it here.</string>
242             </property>
243             <property name="text">
244              <string>Input File(s):</string>
# Line 282 | Line 246
246            </widget>
247           </item>
248           <item row="0" column="1">
249 <          <layout class="QHBoxLayout" name="horizontalLayout_3">
250 <           <item>
251 <            <widget class="QLineEdit" name="leInputInputFiles"/>
249 >          <layout class="QGridLayout" name="gridLayout_3">
250 >           <item row="0" column="0">
251 >            <widget class="QLineEdit" name="leInputInputFiles">
252 >             <property name="minimumSize">
253 >              <size>
254 >               <width>200</width>
255 >               <height>0</height>
256 >              </size>
257 >             </property>
258 >             <property name="toolTip">
259 >              <string>XML files to process (wildcards supported)
260 >
261 > If you are processing only one file you can also drag and drop it here.</string>
262 >             </property>
263 >            </widget>
264             </item>
265 <           <item>
265 >           <item row="0" column="1">
266              <widget class="QPushButton" name="pbInputBrowse">
267               <property name="text">
268                <string>Browse...</string>
# Line 295 | Line 271
271             </item>
272            </layout>
273           </item>
274 <        </layout>
299 <       </item>
300 <       <item>
301 <        <layout class="QFormLayout" name="formLayout_8">
302 <         <item row="0" column="0">
274 >         <item row="1" column="0">
275            <widget class="QLabel" name="lbInputCurrentValues">
276             <property name="sizePolicy">
277              <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
# Line 307 | Line 279
279               <verstretch>0</verstretch>
280              </sizepolicy>
281             </property>
282 <           <property name="minimumSize">
283 <            <size>
312 <             <width>156</width>
313 <             <height>0</height>
314 <            </size>
282 >           <property name="toolTip">
283 >            <string>Value to be replaced or removed (use space as separator)</string>
284             </property>
285             <property name="text">
286              <string>Current Value(s):</string>
287             </property>
288            </widget>
289           </item>
290 <         <item row="0" column="1">
290 >         <item row="1" column="1">
291            <widget class="QLineEdit" name="leInputCurrentValues">
292 +           <property name="toolTip">
293 +            <string>Value to be replaced or removed (use space as separator)</string>
294 +           </property>
295             <property name="text">
296              <string/>
297             </property>
298            </widget>
299           </item>
300 <        </layout>
329 <       </item>
330 <       <item>
331 <        <layout class="QFormLayout" name="formLayout_9">
332 <         <item row="0" column="0">
300 >         <item row="2" column="0">
301            <widget class="QLabel" name="lbInputNewValues">
302             <property name="sizePolicy">
303              <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
# Line 337 | Line 305
305               <verstretch>0</verstretch>
306              </sizepolicy>
307             </property>
308 <           <property name="minimumSize">
309 <            <size>
342 <             <width>156</width>
343 <             <height>0</height>
344 <            </size>
308 >           <property name="toolTip">
309 >            <string>New value(s) to add or replace current value (use space as separator)</string>
310             </property>
311             <property name="text">
312              <string>New Value(s):</string>
313             </property>
314            </widget>
315           </item>
316 <         <item row="0" column="1">
317 <          <widget class="QLineEdit" name="leInputNewValues"/>
316 >         <item row="2" column="1">
317 >          <widget class="QLineEdit" name="leInputNewValues">
318 >           <property name="toolTip">
319 >            <string>New value(s) to add or replace current value (use space as separator)</string>
320 >           </property>
321 >          </widget>
322           </item>
323 <        </layout>
355 <       </item>
356 <       <item>
357 <        <layout class="QFormLayout" name="formLayout_10">
358 <         <item row="0" column="0">
323 >         <item row="3" column="0">
324            <widget class="QLabel" name="lbInputPositions">
325             <property name="sizePolicy">
326              <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
# Line 363 | Line 328
328               <verstretch>0</verstretch>
329              </sizepolicy>
330             </property>
331 <           <property name="minimumSize">
332 <            <size>
368 <             <width>156</width>
369 <             <height>0</height>
370 <            </size>
331 >           <property name="toolTip">
332 >            <string>Positions to be replaced [use space as separator] (zero-based index)</string>
333             </property>
334             <property name="text">
335              <string>Position(s):</string>
336             </property>
337            </widget>
338           </item>
339 <         <item row="0" column="1">
339 >         <item row="3" column="1">
340            <widget class="QLineEdit" name="leInputPositions">
341 +           <property name="toolTip">
342 +            <string>Positions to be replaced [use space as separator] (zero-based index)</string>
343 +           </property>
344             <property name="text">
345              <string/>
346             </property>
347            </widget>
348           </item>
349 <        </layout>
385 <       </item>
386 <       <item>
387 <        <layout class="QFormLayout" name="formLayout_12">
388 <         <item row="0" column="0">
349 >         <item row="4" column="0">
350            <widget class="QLabel" name="lbInputDiffOldNewValue">
351 +           <property name="toolTip">
352 +            <string>Difference to adjust values by.
353 +
354 + For instance if the current value is 1 and you want it to become 3 (new value), you should input -2:
355 +
356 + 1 (current value) - 3 (new value) = -2
357 +
358 + ---
359 +
360 + You can also update multi dimensional values like &quot;1 2 3&quot;, type the difference here like &quot;-1 -1 -1&quot;. Result would be &quot;2 3 4&quot;.</string>
361 +           </property>
362             <property name="text">
363              <string>Diff between old and new value:</string>
364             </property>
365            </widget>
366           </item>
367 <         <item row="0" column="1">
368 <          <widget class="QLineEdit" name="leInputDiffOldNewValue"/>
367 >         <item row="4" column="1">
368 >          <widget class="QLineEdit" name="leInputDiffOldNewValue">
369 >           <property name="toolTip">
370 >            <string>Difference to adjust values by.
371 >
372 > For instance if the current value is 1 and you want it to become 3 (new value), you should input -2:
373 >
374 > 1 (current value) - 3 (new value) = -2
375 >
376 > ---
377 >
378 > You can also update multi dimensional values like &quot;1 2 3&quot;, type the difference here like &quot;-1 -1 -1&quot;. Result would be &quot;2 3 4&quot;.</string>
379 >           </property>
380 >          </widget>
381           </item>
382          </layout>
383         </item>
# Line 421 | Line 405
405        <layout class="QVBoxLayout" name="verticalLayout_2">
406         <item>
407          <widget class="QCheckBox" name="cbOptionsNoBackups">
408 +         <property name="toolTip">
409 +          <string>Don't make backups of XML files (faster processing)</string>
410 +         </property>
411           <property name="text">
412            <string>No Backups</string>
413           </property>
# Line 453 | Line 440
440           <property name="enabled">
441            <bool>true</bool>
442           </property>
443 +         <property name="toolTip">
444 +          <string>Command for XmlTools generated by this interface, you can copy it, to later input directly in XmlTools</string>
445 +         </property>
446           <property name="readOnly">
447            <bool>true</bool>
448           </property>
# Line 504 | Line 494
494            <height>0</height>
495           </size>
496          </property>
497 +        <property name="toolTip">
498 +         <string>Opens a windows which previews your operation. It does NOT make any changes to the input files.
499 +
500 + (only available when exists only one file as input)</string>
501 +        </property>
502          <property name="text">
503           <string>Preview Operation</string>
504          </property>
# Line 533 | Line 528
528            <height>0</height>
529           </size>
530          </property>
531 +        <property name="toolTip">
532 +         <string>Applies the operation to the input files</string>
533 +        </property>
534          <property name="text">
535           <string>Apply Operation</string>
536          </property>

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)