1<ui version="4.0" >
2 <class>resizeDialog</class>
3 <widget class="QDialog" name="resizeDialog" >
4  <property name="geometry" >
5   <rect>
6    <x>0</x>
7    <y>0</y>
8    <width>350</width>
9    <height>342</height>
10   </rect>
11  </property>
12  <property name="windowTitle" >
13   <string>Resize</string>
14  </property>
15  <layout class="QVBoxLayout" >
16   <property name="margin" >
17    <number>9</number>
18   </property>
19   <property name="spacing" >
20    <number>6</number>
21   </property>
22   <item>
23    <widget class="QGroupBox" name="groupBox_2" >
24     <property name="title" >
25      <string>Aspect Ratio</string>
26     </property>
27     <layout class="QVBoxLayout" >
28      <property name="margin" >
29       <number>9</number>
30      </property>
31      <property name="spacing" >
32       <number>6</number>
33      </property>
34      <item>
35       <widget class="QCheckBox" name="lockArCheckBox" >
36        <property name="text" >
37         <string>Lock Aspect Ratio</string>
38        </property>
39        <property name="checked" >
40         <bool>true</bool>
41        </property>
42       </widget>
43      </item>
44      <item>
45       <layout class="QHBoxLayout" >
46        <property name="margin" >
47         <number>0</number>
48        </property>
49        <property name="spacing" >
50         <number>6</number>
51        </property>
52        <item>
53         <widget class="QLabel" name="label_4" >
54          <property name="text" >
55           <string>Source:</string>
56          </property>
57         </widget>
58        </item>
59        <item>
60         <widget class="QComboBox" name="comboBoxSource" >
61          <item>
62           <property name="text" >
63            <string>1:1</string>
64           </property>
65          </item>
66          <item>
67           <property name="text" >
68            <string>4:3</string>
69           </property>
70          </item>
71          <item>
72           <property name="text" >
73            <string>16:9</string>
74           </property>
75          </item>
76         </widget>
77        </item>
78        <item>
79         <spacer>
80          <property name="orientation" >
81           <enum>Qt::Horizontal</enum>
82          </property>
83          <property name="sizeType" >
84           <enum>QSizePolicy::Fixed</enum>
85          </property>
86          <property name="sizeHint" >
87           <size>
88            <width>30</width>
89            <height>20</height>
90           </size>
91          </property>
92         </spacer>
93        </item>
94        <item>
95         <widget class="QLabel" name="label_3" >
96          <property name="text" >
97           <string>Destination:</string>
98          </property>
99         </widget>
100        </item>
101        <item>
102         <widget class="QComboBox" name="comboBoxDestination" >
103          <item>
104           <property name="text" >
105            <string>1:1</string>
106           </property>
107          </item>
108          <item>
109           <property name="text" >
110            <string>4:3</string>
111           </property>
112          </item>
113          <item>
114           <property name="text" >
115            <string>16:9</string>
116           </property>
117          </item>
118         </widget>
119        </item>
120        <item>
121         <spacer>
122          <property name="orientation" >
123           <enum>Qt::Horizontal</enum>
124          </property>
125          <property name="sizeHint" >
126           <size>
127            <width>40</width>
128            <height>20</height>
129           </size>
130          </property>
131         </spacer>
132        </item>
133       </layout>
134      </item>
135     </layout>
136    </widget>
137   </item>
138   <item>
139    <widget class="QGroupBox" name="groupBox" >
140     <property name="title" >
141      <string>Resize Dimensions</string>
142     </property>
143     <layout class="QVBoxLayout" >
144      <property name="margin" >
145       <number>9</number>
146      </property>
147      <property name="spacing" >
148       <number>6</number>
149      </property>
150      <item>
151       <layout class="QHBoxLayout" >
152        <property name="margin" >
153         <number>0</number>
154        </property>
155        <property name="spacing" >
156         <number>6</number>
157        </property>
158        <item>
159         <widget class="QLabel" name="label" >
160          <property name="text" >
161           <string>Width:</string>
162          </property>
163         </widget>
164        </item>
165        <item>
166         <widget class="QSpinBox" name="spinBoxWidth" >
167          <property name="maximum" >
168           <number>2900</number>
169          </property>
170          <property name="minimum" >
171           <number>16</number>
172          </property>
173          <property name="singleStep" >
174           <number>2</number>
175          </property>
176         </widget>
177        </item>
178        <item>
179         <spacer>
180          <property name="orientation" >
181           <enum>Qt::Horizontal</enum>
182          </property>
183          <property name="sizeType" >
184           <enum>QSizePolicy::Fixed</enum>
185          </property>
186          <property name="sizeHint" >
187           <size>
188            <width>30</width>
189            <height>20</height>
190           </size>
191          </property>
192         </spacer>
193        </item>
194        <item>
195         <widget class="QLabel" name="label_2" >
196          <property name="text" >
197           <string>Height:</string>
198          </property>
199         </widget>
200        </item>
201        <item>
202         <widget class="QSpinBox" name="spinBoxHeight" >
203          <property name="maximum" >
204           <number>2000</number>
205          </property>
206          <property name="minimum" >
207           <number>16</number>
208          </property>
209          <property name="singleStep" >
210           <number>2</number>
211          </property>
212         </widget>
213        </item>
214        <item>
215         <spacer>
216          <property name="orientation" >
217           <enum>Qt::Horizontal</enum>
218          </property>
219          <property name="sizeHint" >
220           <size>
221            <width>40</width>
222            <height>20</height>
223           </size>
224          </property>
225         </spacer>
226        </item>
227       </layout>
228      </item>
229      <item>
230       <widget class="QCheckBox" name="checkBoxRoundup" >
231        <property name="text" >
232         <string>Round to the Nearest Multiple of 16</string>
233        </property>
234       </widget>
235      </item>
236      <item>
237       <spacer>
238        <property name="orientation" >
239         <enum>Qt::Vertical</enum>
240        </property>
241        <property name="sizeType" >
242         <enum>QSizePolicy::Fixed</enum>
243        </property>
244        <property name="sizeHint" >
245         <size>
246          <width>312</width>
247          <height>4</height>
248         </size>
249        </property>
250       </spacer>
251      </item>
252      <item>
253       <layout class="QVBoxLayout" >
254        <property name="margin" >
255         <number>0</number>
256        </property>
257        <property name="spacing" >
258         <number>6</number>
259        </property>
260        <item>
261         <layout class="QHBoxLayout" >
262          <property name="margin" >
263           <number>0</number>
264          </property>
265          <property name="spacing" >
266           <number>12</number>
267          </property>
268          <item>
269           <layout class="QVBoxLayout" >
270            <property name="margin" >
271             <number>0</number>
272            </property>
273            <property name="spacing" >
274             <number>6</number>
275            </property>
276            <item>
277             <layout class="QHBoxLayout" >
278              <property name="margin" >
279               <number>0</number>
280              </property>
281              <property name="spacing" >
282               <number>6</number>
283              </property>
284              <item>
285               <widget class="QLabel" name="label_8" >
286                <property name="text" >
287                 <string>1%</string>
288                </property>
289               </widget>
290              </item>
291              <item>
292               <spacer>
293                <property name="orientation" >
294                 <enum>Qt::Horizontal</enum>
295                </property>
296                <property name="sizeHint" >
297                 <size>
298                  <width>40</width>
299                  <height>20</height>
300                 </size>
301                </property>
302               </spacer>
303              </item>
304              <item>
305               <widget class="QLabel" name="label_5" >
306                <property name="text" >
307                 <string>Percent</string>
308                </property>
309               </widget>
310              </item>
311              <item>
312               <spacer>
313                <property name="orientation" >
314                 <enum>Qt::Horizontal</enum>
315                </property>
316                <property name="sizeHint" >
317                 <size>
318                  <width>40</width>
319                  <height>20</height>
320                 </size>
321                </property>
322               </spacer>
323              </item>
324              <item>
325               <widget class="QLabel" name="label_9" >
326                <property name="text" >
327                 <string>200%</string>
328                </property>
329               </widget>
330              </item>
331             </layout>
332            </item>
333            <item>
334             <widget class="QSlider" name="horizontalSlider" >
335              <property name="minimum" >
336               <number>1</number>
337              </property>
338              <property name="maximum" >
339               <number>200</number>
340              </property>
341              <property name="value" >
342               <number>100</number>
343              </property>
344              <property name="orientation" >
345               <enum>Qt::Horizontal</enum>
346              </property>
347             </widget>
348            </item>
349           </layout>
350          </item>
351          <item>
352           <widget class="QSpinBox" name="percentageSpinBox" >
353            <property name="maximum" >
354             <number>200</number>
355            </property>
356            <property name="minimum" >
357             <number>1</number>
358            </property>
359            <property name="value" >
360             <number>100</number>
361            </property>
362           </widget>
363          </item>
364         </layout>
365        </item>
366        <item>
367         <layout class="QHBoxLayout" >
368          <property name="margin" >
369           <number>0</number>
370          </property>
371          <property name="spacing" >
372           <number>6</number>
373          </property>
374          <item>
375           <widget class="QLabel" name="label_10" >
376            <property name="text" >
377             <string>Error X / Y:</string>
378            </property>
379           </widget>
380          </item>
381          <item>
382           <widget class="QLabel" name="labelErrorXY" >
383            <property name="text" >
384             <string>0.00 / 0.00</string>
385            </property>
386           </widget>
387          </item>
388          <item>
389           <spacer>
390            <property name="orientation" >
391             <enum>Qt::Horizontal</enum>
392            </property>
393            <property name="sizeHint" >
394             <size>
395              <width>40</width>
396              <height>20</height>
397             </size>
398            </property>
399           </spacer>
400          </item>
401         </layout>
402        </item>
403       </layout>
404      </item>
405     </layout>
406    </widget>
407   </item>
408   <item>
409    <spacer>
410     <property name="orientation" >
411      <enum>Qt::Vertical</enum>
412     </property>
413     <property name="sizeType" >
414      <enum>QSizePolicy::Fixed</enum>
415     </property>
416     <property name="sizeHint" >
417      <size>
418       <width>332</width>
419       <height>6</height>
420      </size>
421     </property>
422    </spacer>
423   </item>
424   <item>
425    <layout class="QHBoxLayout" >
426     <property name="margin" >
427      <number>0</number>
428     </property>
429     <property name="spacing" >
430      <number>6</number>
431     </property>
432     <item>
433      <widget class="QLabel" name="label_6" >
434       <property name="text" >
435        <string>Resize Method:</string>
436       </property>
437      </widget>
438     </item>
439     <item>
440      <widget class="QComboBox" name="comboBoxAlgo" >
441       <item>
442        <property name="text" >
443         <string>Bilinear</string>
444        </property>
445       </item>
446       <item>
447        <property name="text" >
448         <string>Bicubic</string>
449        </property>
450       </item>
451       <item>
452        <property name="text" >
453         <string>Lanzcos3</string>
454        </property>
455       </item>
456      </widget>
457     </item>
458     <item>
459      <spacer>
460       <property name="orientation" >
461        <enum>Qt::Horizontal</enum>
462       </property>
463       <property name="sizeHint" >
464        <size>
465         <width>40</width>
466         <height>20</height>
467        </size>
468       </property>
469      </spacer>
470     </item>
471    </layout>
472   </item>
473   <item>
474    <spacer>
475     <property name="orientation" >
476      <enum>Qt::Vertical</enum>
477     </property>
478     <property name="sizeType" >
479      <enum>QSizePolicy::MinimumExpanding</enum>
480     </property>
481     <property name="sizeHint" >
482      <size>
483       <width>20</width>
484       <height>16</height>
485      </size>
486     </property>
487    </spacer>
488   </item>
489   <item>
490    <widget class="QDialogButtonBox" name="buttonBox" >
491     <property name="orientation" >
492      <enum>Qt::Horizontal</enum>
493     </property>
494     <property name="standardButtons" >
495      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
496     </property>
497    </widget>
498   </item>
499  </layout>
500 </widget>
501 <tabstops>
502  <tabstop>lockArCheckBox</tabstop>
503  <tabstop>comboBoxSource</tabstop>
504  <tabstop>comboBoxDestination</tabstop>
505  <tabstop>spinBoxWidth</tabstop>
506  <tabstop>spinBoxHeight</tabstop>
507  <tabstop>checkBoxRoundup</tabstop>
508  <tabstop>horizontalSlider</tabstop>
509  <tabstop>percentageSpinBox</tabstop>
510  <tabstop>comboBoxAlgo</tabstop>
511  <tabstop>buttonBox</tabstop>
512 </tabstops>
513 <resources/>
514 <connections>
515  <connection>
516   <sender>buttonBox</sender>
517   <signal>rejected()</signal>
518   <receiver>resizeDialog</receiver>
519   <slot>reject()</slot>
520   <hints>
521    <hint type="sourcelabel" >
522     <x>316</x>
523     <y>260</y>
524    </hint>
525    <hint type="destinationlabel" >
526     <x>286</x>
527     <y>274</y>
528    </hint>
529   </hints>
530  </connection>
531  <connection>
532   <sender>lockArCheckBox</sender>
533   <signal>toggled(bool)</signal>
534   <receiver>label_8</receiver>
535   <slot>setEnabled(bool)</slot>
536   <hints>
537    <hint type="sourcelabel" >
538     <x>184</x>
539     <y>117</y>
540    </hint>
541    <hint type="destinationlabel" >
542     <x>39</x>
543     <y>148</y>
544    </hint>
545   </hints>
546  </connection>
547  <connection>
548   <sender>lockArCheckBox</sender>
549   <signal>toggled(bool)</signal>
550   <receiver>label_5</receiver>
551   <slot>setEnabled(bool)</slot>
552   <hints>
553    <hint type="sourcelabel" >
554     <x>184</x>
555     <y>117</y>
556    </hint>
557    <hint type="destinationlabel" >
558     <x>150</x>
559     <y>148</y>
560    </hint>
561   </hints>
562  </connection>
563  <connection>
564   <sender>lockArCheckBox</sender>
565   <signal>toggled(bool)</signal>
566   <receiver>label_9</receiver>
567   <slot>setEnabled(bool)</slot>
568   <hints>
569    <hint type="sourcelabel" >
570     <x>184</x>
571     <y>117</y>
572    </hint>
573    <hint type="destinationlabel" >
574     <x>267</x>
575     <y>148</y>
576    </hint>
577   </hints>
578  </connection>
579  <connection>
580   <sender>lockArCheckBox</sender>
581   <signal>toggled(bool)</signal>
582   <receiver>horizontalSlider</receiver>
583   <slot>setEnabled(bool)</slot>
584   <hints>
585    <hint type="sourcelabel" >
586     <x>184</x>
587     <y>117</y>
588    </hint>
589    <hint type="destinationlabel" >
590     <x>156</x>
591     <y>164</y>
592    </hint>
593   </hints>
594  </connection>
595  <connection>
596   <sender>lockArCheckBox</sender>
597   <signal>toggled(bool)</signal>
598   <receiver>percentageSpinBox</receiver>
599   <slot>setEnabled(bool)</slot>
600   <hints>
601    <hint type="sourcelabel" >
602     <x>184</x>
603     <y>117</y>
604    </hint>
605    <hint type="destinationlabel" >
606     <x>317</x>
607     <y>155</y>
608    </hint>
609   </hints>
610  </connection>
611  <connection>
612   <sender>lockArCheckBox</sender>
613   <signal>toggled(bool)</signal>
614   <receiver>checkBoxRoundup</receiver>
615   <slot>setEnabled(bool)</slot>
616   <hints>
617    <hint type="sourcelabel" >
618     <x>184</x>
619     <y>95</y>
620    </hint>
621    <hint type="destinationlabel" >
622     <x>184</x>
623     <y>117</y>
624    </hint>
625   </hints>
626  </connection>
627  <connection>
628   <sender>lockArCheckBox</sender>
629   <signal>toggled(bool)</signal>
630   <receiver>label_10</receiver>
631   <slot>setEnabled(bool)</slot>
632   <hints>
633    <hint type="sourcelabel" >
634     <x>182</x>
635     <y>155</y>
636    </hint>
637    <hint type="destinationlabel" >
638     <x>55</x>
639     <y>251</y>
640    </hint>
641   </hints>
642  </connection>
643  <connection>
644   <sender>lockArCheckBox</sender>
645   <signal>toggled(bool)</signal>
646   <receiver>labelErrorXY</receiver>
647   <slot>setEnabled(bool)</slot>
648   <hints>
649    <hint type="sourcelabel" >
650     <x>182</x>
651     <y>155</y>
652    </hint>
653    <hint type="destinationlabel" >
654     <x>114</x>
655     <y>251</y>
656    </hint>
657   </hints>
658  </connection>
659  <connection>
660   <sender>lockArCheckBox</sender>
661   <signal>toggled(bool)</signal>
662   <receiver>label_4</receiver>
663   <slot>setEnabled(bool)</slot>
664   <hints>
665    <hint type="sourcelabel" >
666     <x>182</x>
667     <y>69</y>
668    </hint>
669    <hint type="destinationlabel" >
670     <x>46</x>
671     <y>95</y>
672    </hint>
673   </hints>
674  </connection>
675  <connection>
676   <sender>lockArCheckBox</sender>
677   <signal>toggled(bool)</signal>
678   <receiver>comboBoxSource</receiver>
679   <slot>setEnabled(bool)</slot>
680   <hints>
681    <hint type="sourcelabel" >
682     <x>182</x>
683     <y>69</y>
684    </hint>
685    <hint type="destinationlabel" >
686     <x>94</x>
687     <y>95</y>
688    </hint>
689   </hints>
690  </connection>
691  <connection>
692   <sender>lockArCheckBox</sender>
693   <signal>toggled(bool)</signal>
694   <receiver>label_3</receiver>
695   <slot>setEnabled(bool)</slot>
696   <hints>
697    <hint type="sourcelabel" >
698     <x>182</x>
699     <y>69</y>
700    </hint>
701    <hint type="destinationlabel" >
702     <x>188</x>
703     <y>95</y>
704    </hint>
705   </hints>
706  </connection>
707  <connection>
708   <sender>lockArCheckBox</sender>
709   <signal>toggled(bool)</signal>
710   <receiver>comboBoxDestination</receiver>
711   <slot>setEnabled(bool)</slot>
712   <hints>
713    <hint type="sourcelabel" >
714     <x>182</x>
715     <y>69</y>
716    </hint>
717    <hint type="destinationlabel" >
718     <x>247</x>
719     <y>95</y>
720    </hint>
721   </hints>
722  </connection>
723 </connections>
724</ui>
725