Now using FindFirstFileEx() on supported OS. Should be a bit faster, as we can reques...
[LameXP.git] / gui / UpdateDialog.ui
blob75f1bc53682704a566e41706ef865a4c473b1848
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>UpdateDialog</class>
4 <widget class="QDialog" name="UpdateDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>642</width>
10 <height>364</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>LameXP Update Manager</string>
15 </property>
16 <property name="windowIcon">
17 <iconset resource="../res/Icons.qrc">
18 <normaloff>:/icons/transmit_blue.png</normaloff>:/icons/transmit_blue.png</iconset>
19 </property>
20 <layout class="QVBoxLayout" name="verticalLayout_2">
21 <property name="spacing">
22 <number>0</number>
23 </property>
24 <property name="margin">
25 <number>0</number>
26 </property>
27 <item>
28 <layout class="QVBoxLayout" name="verticalLayout">
29 <property name="spacing">
30 <number>0</number>
31 </property>
32 <property name="margin">
33 <number>0</number>
34 </property>
35 <item>
36 <layout class="QHBoxLayout" name="horizontalLayout">
37 <item>
38 <widget class="QLabel" name="wizardLabel">
39 <property name="minimumSize">
40 <size>
41 <width>164</width>
42 <height>314</height>
43 </size>
44 </property>
45 <property name="maximumSize">
46 <size>
47 <width>164</width>
48 <height>314</height>
49 </size>
50 </property>
51 <property name="text">
52 <string/>
53 </property>
54 <property name="pixmap">
55 <pixmap resource="../res/Images.qrc">:/images/Wizard.png</pixmap>
56 </property>
57 </widget>
58 </item>
59 <item>
60 <widget class="QFrame" name="mainFrame">
61 <property name="minimumSize">
62 <size>
63 <width>0</width>
64 <height>314</height>
65 </size>
66 </property>
67 <property name="maximumSize">
68 <size>
69 <width>16777215</width>
70 <height>314</height>
71 </size>
72 </property>
73 <property name="palette">
74 <palette>
75 <active>
76 <colorrole role="Base">
77 <brush brushstyle="SolidPattern">
78 <color alpha="255">
79 <red>255</red>
80 <green>255</green>
81 <blue>255</blue>
82 </color>
83 </brush>
84 </colorrole>
85 <colorrole role="Window">
86 <brush brushstyle="SolidPattern">
87 <color alpha="255">
88 <red>255</red>
89 <green>255</green>
90 <blue>255</blue>
91 </color>
92 </brush>
93 </colorrole>
94 </active>
95 <inactive>
96 <colorrole role="Base">
97 <brush brushstyle="SolidPattern">
98 <color alpha="255">
99 <red>255</red>
100 <green>255</green>
101 <blue>255</blue>
102 </color>
103 </brush>
104 </colorrole>
105 <colorrole role="Window">
106 <brush brushstyle="SolidPattern">
107 <color alpha="255">
108 <red>255</red>
109 <green>255</green>
110 <blue>255</blue>
111 </color>
112 </brush>
113 </colorrole>
114 </inactive>
115 <disabled>
116 <colorrole role="Base">
117 <brush brushstyle="SolidPattern">
118 <color alpha="255">
119 <red>255</red>
120 <green>255</green>
121 <blue>255</blue>
122 </color>
123 </brush>
124 </colorrole>
125 <colorrole role="Window">
126 <brush brushstyle="SolidPattern">
127 <color alpha="255">
128 <red>255</red>
129 <green>255</green>
130 <blue>255</blue>
131 </color>
132 </brush>
133 </colorrole>
134 </disabled>
135 </palette>
136 </property>
137 <property name="autoFillBackground">
138 <bool>true</bool>
139 </property>
140 <property name="frameShape">
141 <enum>QFrame::NoFrame</enum>
142 </property>
143 <property name="frameShadow">
144 <enum>QFrame::Raised</enum>
145 </property>
146 <property name="lineWidth">
147 <number>0</number>
148 </property>
149 <layout class="QVBoxLayout" name="verticalLayout_4">
150 <property name="margin">
151 <number>28</number>
152 </property>
153 <item>
154 <layout class="QVBoxLayout" name="verticalLayout_3">
155 <item>
156 <widget class="QLabel" name="statusLabel">
157 <property name="font">
158 <font>
159 <weight>75</weight>
160 <bold>true</bold>
161 </font>
162 </property>
163 <property name="text">
164 <string>Please wait...</string>
165 </property>
166 </widget>
167 </item>
168 <item>
169 <widget class="QProgressBar" name="progressBar">
170 <property name="value">
171 <number>24</number>
172 </property>
173 <property name="alignment">
174 <set>Qt::AlignCenter</set>
175 </property>
176 </widget>
177 </item>
178 <item>
179 <spacer name="verticalSpacer_5">
180 <property name="orientation">
181 <enum>Qt::Vertical</enum>
182 </property>
183 <property name="sizeHint" stdset="0">
184 <size>
185 <width>20</width>
186 <height>40</height>
187 </size>
188 </property>
189 </spacer>
190 </item>
191 <item>
192 <widget class="QFrame" name="frameAnimation">
193 <property name="frameShape">
194 <enum>QFrame::NoFrame</enum>
195 </property>
196 <property name="frameShadow">
197 <enum>QFrame::Raised</enum>
198 </property>
199 <layout class="QHBoxLayout" name="horizontalLayout_7">
200 <property name="margin">
201 <number>0</number>
202 </property>
203 <item>
204 <layout class="QHBoxLayout" name="horizontalLayout_6">
205 <item>
206 <spacer name="horizontalSpacer_7">
207 <property name="orientation">
208 <enum>Qt::Horizontal</enum>
209 </property>
210 <property name="sizeHint" stdset="0">
211 <size>
212 <width>40</width>
213 <height>20</height>
214 </size>
215 </property>
216 </spacer>
217 </item>
218 <item>
219 <widget class="QLabel" name="labelAnimationLeft">
220 <property name="text">
221 <string/>
222 </property>
223 <property name="pixmap">
224 <pixmap resource="../res/Icons.qrc">:/icons/transmit.png</pixmap>
225 </property>
226 </widget>
227 </item>
228 <item>
229 <spacer name="horizontalSpacer_9">
230 <property name="orientation">
231 <enum>Qt::Horizontal</enum>
232 </property>
233 <property name="sizeType">
234 <enum>QSizePolicy::Fixed</enum>
235 </property>
236 <property name="sizeHint" stdset="0">
237 <size>
238 <width>6</width>
239 <height>20</height>
240 </size>
241 </property>
242 </spacer>
243 </item>
244 <item>
245 <widget class="QLabel" name="labelAnimationCenter">
246 <property name="text">
247 <string/>
248 </property>
249 <property name="pixmap">
250 <pixmap resource="../res/Images.qrc">:/images/Loading3.gif</pixmap>
251 </property>
252 </widget>
253 </item>
254 <item>
255 <spacer name="horizontalSpacer_10">
256 <property name="orientation">
257 <enum>Qt::Horizontal</enum>
258 </property>
259 <property name="sizeType">
260 <enum>QSizePolicy::Fixed</enum>
261 </property>
262 <property name="sizeHint" stdset="0">
263 <size>
264 <width>6</width>
265 <height>20</height>
266 </size>
267 </property>
268 </spacer>
269 </item>
270 <item>
271 <widget class="QLabel" name="labelAnimationRight">
272 <property name="text">
273 <string/>
274 </property>
275 <property name="pixmap">
276 <pixmap resource="../res/Icons.qrc">:/icons/computer.png</pixmap>
277 </property>
278 </widget>
279 </item>
280 <item>
281 <spacer name="horizontalSpacer_8">
282 <property name="orientation">
283 <enum>Qt::Horizontal</enum>
284 </property>
285 <property name="sizeHint" stdset="0">
286 <size>
287 <width>40</width>
288 <height>20</height>
289 </size>
290 </property>
291 </spacer>
292 </item>
293 </layout>
294 </item>
295 </layout>
296 </widget>
297 </item>
298 <item>
299 <layout class="QHBoxLayout" name="horizontalLayout_5">
300 <property name="spacing">
301 <number>5</number>
302 </property>
303 <item>
304 <widget class="QLabel" name="hintIcon">
305 <property name="maximumSize">
306 <size>
307 <width>16</width>
308 <height>16</height>
309 </size>
310 </property>
311 <property name="text">
312 <string/>
313 </property>
314 <property name="pixmap">
315 <pixmap resource="../res/Icons.qrc">:/icons/information.png</pixmap>
316 </property>
317 </widget>
318 </item>
319 <item>
320 <widget class="QLabel" name="hintLabel">
321 <property name="text">
322 <string notr="true">$(HINT_TEXT)</string>
323 </property>
324 </widget>
325 </item>
326 </layout>
327 </item>
328 <item>
329 <spacer name="verticalSpacer">
330 <property name="orientation">
331 <enum>Qt::Vertical</enum>
332 </property>
333 <property name="sizeHint" stdset="0">
334 <size>
335 <width>20</width>
336 <height>40</height>
337 </size>
338 </property>
339 </spacer>
340 </item>
341 <item>
342 <layout class="QGridLayout" name="gridLayout">
343 <property name="spacing">
344 <number>0</number>
345 </property>
346 <item row="1" column="0">
347 <widget class="QLabel" name="label">
348 <property name="text">
349 <string>Latest version available:</string>
350 </property>
351 </widget>
352 </item>
353 <item row="1" column="2">
354 <widget class="QLabel" name="labelVersionLatest">
355 <property name="text">
356 <string notr="true">(Unknown)</string>
357 </property>
358 </widget>
359 </item>
360 <item row="0" column="0">
361 <widget class="QLabel" name="label_3">
362 <property name="text">
363 <string>Currently installed version:</string>
364 </property>
365 </widget>
366 </item>
367 <item row="0" column="2">
368 <widget class="QLabel" name="labelVersionInstalled">
369 <property name="text">
370 <string notr="true">(Unknown)</string>
371 </property>
372 </widget>
373 </item>
374 <item row="0" column="3">
375 <spacer name="horizontalSpacer_2">
376 <property name="orientation">
377 <enum>Qt::Horizontal</enum>
378 </property>
379 <property name="sizeHint" stdset="0">
380 <size>
381 <width>40</width>
382 <height>20</height>
383 </size>
384 </property>
385 </spacer>
386 </item>
387 <item row="1" column="3">
388 <spacer name="horizontalSpacer_3">
389 <property name="orientation">
390 <enum>Qt::Horizontal</enum>
391 </property>
392 <property name="sizeHint" stdset="0">
393 <size>
394 <width>40</width>
395 <height>20</height>
396 </size>
397 </property>
398 </spacer>
399 </item>
400 <item row="0" column="1">
401 <spacer name="horizontalSpacer_4">
402 <property name="orientation">
403 <enum>Qt::Horizontal</enum>
404 </property>
405 <property name="sizeType">
406 <enum>QSizePolicy::Fixed</enum>
407 </property>
408 <property name="sizeHint" stdset="0">
409 <size>
410 <width>15</width>
411 <height>20</height>
412 </size>
413 </property>
414 </spacer>
415 </item>
416 <item row="1" column="1">
417 <spacer name="horizontalSpacer_5">
418 <property name="orientation">
419 <enum>Qt::Horizontal</enum>
420 </property>
421 <property name="sizeType">
422 <enum>QSizePolicy::Fixed</enum>
423 </property>
424 <property name="sizeHint" stdset="0">
425 <size>
426 <width>15</width>
427 <height>20</height>
428 </size>
429 </property>
430 </spacer>
431 </item>
432 </layout>
433 </item>
434 <item>
435 <spacer name="verticalSpacer_2">
436 <property name="orientation">
437 <enum>Qt::Vertical</enum>
438 </property>
439 <property name="sizeHint" stdset="0">
440 <size>
441 <width>20</width>
442 <height>40</height>
443 </size>
444 </property>
445 </spacer>
446 </item>
447 <item>
448 <widget class="QLabel" name="infoLabel">
449 <property name="text">
450 <string notr="true">$(INFORMATION)</string>
451 </property>
452 </widget>
453 </item>
454 <item>
455 <spacer name="verticalSpacer_4">
456 <property name="orientation">
457 <enum>Qt::Vertical</enum>
458 </property>
459 <property name="sizeHint" stdset="0">
460 <size>
461 <width>20</width>
462 <height>40</height>
463 </size>
464 </property>
465 </spacer>
466 </item>
467 <item>
468 <layout class="QHBoxLayout" name="horizontalLayout_4">
469 <item>
470 <widget class="QPushButton" name="retryButton">
471 <property name="minimumSize">
472 <size>
473 <width>100</width>
474 <height>0</height>
475 </size>
476 </property>
477 <property name="text">
478 <string>Retry</string>
479 </property>
480 <property name="icon">
481 <iconset resource="../res/Icons.qrc">
482 <normaloff>:/icons/arrow_refresh.png</normaloff>:/icons/arrow_refresh.png</iconset>
483 </property>
484 <property name="iconSize">
485 <size>
486 <width>16</width>
487 <height>16</height>
488 </size>
489 </property>
490 </widget>
491 </item>
492 <item>
493 <widget class="QPushButton" name="logButton">
494 <property name="minimumSize">
495 <size>
496 <width>100</width>
497 <height>0</height>
498 </size>
499 </property>
500 <property name="text">
501 <string>Show Log</string>
502 </property>
503 <property name="icon">
504 <iconset resource="../res/Icons.qrc">
505 <normaloff>:/icons/application_view_list.png</normaloff>:/icons/application_view_list.png</iconset>
506 </property>
507 <property name="iconSize">
508 <size>
509 <width>16</width>
510 <height>16</height>
511 </size>
512 </property>
513 </widget>
514 </item>
515 <item>
516 <spacer name="horizontalSpacer_6">
517 <property name="orientation">
518 <enum>Qt::Horizontal</enum>
519 </property>
520 <property name="sizeHint" stdset="0">
521 <size>
522 <width>40</width>
523 <height>20</height>
524 </size>
525 </property>
526 </spacer>
527 </item>
528 </layout>
529 </item>
530 </layout>
531 </item>
532 </layout>
533 </widget>
534 </item>
535 </layout>
536 </item>
537 <item>
538 <widget class="QFrame" name="horizontalLine">
539 <property name="minimumSize">
540 <size>
541 <width>0</width>
542 <height>2</height>
543 </size>
544 </property>
545 <property name="maximumSize">
546 <size>
547 <width>16777215</width>
548 <height>2</height>
549 </size>
550 </property>
551 <property name="frameShape">
552 <enum>QFrame::HLine</enum>
553 </property>
554 <property name="frameShadow">
555 <enum>QFrame::Sunken</enum>
556 </property>
557 </widget>
558 </item>
559 <item>
560 <layout class="QHBoxLayout" name="horizontalLayout_2">
561 <property name="spacing">
562 <number>6</number>
563 </property>
564 <property name="margin">
565 <number>10</number>
566 </property>
567 <item>
568 <spacer name="horizontalSpacer">
569 <property name="orientation">
570 <enum>Qt::Horizontal</enum>
571 </property>
572 <property name="sizeHint" stdset="0">
573 <size>
574 <width>40</width>
575 <height>20</height>
576 </size>
577 </property>
578 </spacer>
579 </item>
580 <item>
581 <widget class="QPushButton" name="installButton">
582 <property name="minimumSize">
583 <size>
584 <width>140</width>
585 <height>0</height>
586 </size>
587 </property>
588 <property name="text">
589 <string>Download &amp;&amp; Install</string>
590 </property>
591 <property name="icon">
592 <iconset resource="../res/Icons.qrc">
593 <normaloff>:/icons/shield_admin.png</normaloff>:/icons/shield_admin.png</iconset>
594 </property>
595 <property name="iconSize">
596 <size>
597 <width>16</width>
598 <height>16</height>
599 </size>
600 </property>
601 </widget>
602 </item>
603 <item>
604 <widget class="QPushButton" name="closeButton">
605 <property name="minimumSize">
606 <size>
607 <width>90</width>
608 <height>0</height>
609 </size>
610 </property>
611 <property name="text">
612 <string>Close</string>
613 </property>
614 <property name="icon">
615 <iconset resource="../res/Icons.qrc">
616 <normaloff>:/icons/cross.png</normaloff>:/icons/cross.png</iconset>
617 </property>
618 <property name="iconSize">
619 <size>
620 <width>16</width>
621 <height>16</height>
622 </size>
623 </property>
624 </widget>
625 </item>
626 </layout>
627 </item>
628 <item>
629 <spacer name="verticalSpacer_3">
630 <property name="orientation">
631 <enum>Qt::Vertical</enum>
632 </property>
633 <property name="sizeHint" stdset="0">
634 <size>
635 <width>20</width>
636 <height>40</height>
637 </size>
638 </property>
639 </spacer>
640 </item>
641 <item>
642 <widget class="QFrame" name="buttonFrame">
643 <property name="frameShape">
644 <enum>QFrame::NoFrame</enum>
645 </property>
646 <property name="frameShadow">
647 <enum>QFrame::Raised</enum>
648 </property>
649 <property name="lineWidth">
650 <number>0</number>
651 </property>
652 <layout class="QHBoxLayout" name="horizontalLayout_3">
653 <property name="spacing">
654 <number>0</number>
655 </property>
656 <property name="margin">
657 <number>0</number>
658 </property>
659 </layout>
660 </widget>
661 </item>
662 </layout>
663 </item>
664 </layout>
665 </widget>
666 <resources>
667 <include location="../res/Icons.qrc"/>
668 <include location="../res/Images.qrc"/>
669 <include location="../res/Images.qrc"/>
670 <include location="../res/Images.qrc"/>
671 <include location="../res/Images.qrc"/>
672 <include location="../res/Images.qrc"/>
673 <include location="../res/Images.qrc"/>
674 <include location="../res/Images.qrc"/>
675 <include location="../res/Images.qrc"/>
676 <include location="../res/Images.qrc"/>
677 <include location="../res/Images.qrc"/>
678 <include location="../res/Images.qrc"/>
679 <include location="../res/Icons.qrc"/>
680 <include location="../res/Images.qrc"/>
681 <include location="../res/Icons.qrc"/>
682 <include location="../res/Images.qrc"/>
683 <include location="../res/Icons.qrc"/>
684 <include location="../res/Images.qrc"/>
685 <include location="../res/Icons.qrc"/>
686 <include location="../res/Images.qrc"/>
687 <include location="../res/Icons.qrc"/>
688 <include location="../res/Images.qrc"/>
689 <include location="../res/Icons.qrc"/>
690 <include location="../res/Images.qrc"/>
691 <include location="../res/Icons.qrc"/>
692 <include location="../res/Images.qrc"/>
693 <include location="../res/Icons.qrc"/>
694 <include location="../res/Images.qrc"/>
695 <include location="../res/Icons.qrc"/>
696 <include location="../res/Images.qrc"/>
697 <include location="../res/Icons.qrc"/>
698 <include location="../res/Images.qrc"/>
699 <include location="../res/Icons.qrc"/>
700 <include location="../res/Images.qrc"/>
701 <include location="../res/Icons.qrc"/>
702 <include location="../res/Images.qrc"/>
703 </resources>
704 <connections>
705 <connection>
706 <sender>closeButton</sender>
707 <signal>clicked()</signal>
708 <receiver>UpdateDialog</receiver>
709 <slot>reject()</slot>
710 <hints>
711 <hint type="sourcelabel">
712 <x>565</x>
713 <y>340</y>
714 </hint>
715 <hint type="destinationlabel">
716 <x>310</x>
717 <y>181</y>
718 </hint>
719 </hints>
720 </connection>
721 </connections>
722 </ui>