OSDN Git Service

Improved web-update to actually check for new versions and initiate a download.
[x264-launcher/x264-launcher.git] / gui / win_updater.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>UpdaterDialog</class>
4  <widget class="QDialog" name="UpdaterDialog">
5   <property name="windowModality">
6    <enum>Qt::ApplicationModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>410</width>
13     <height>273</height>
14    </rect>
15   </property>
16   <property name="palette">
17    <palette>
18     <active>
19      <colorrole role="Base">
20       <brush brushstyle="SolidPattern">
21        <color alpha="255">
22         <red>255</red>
23         <green>255</green>
24         <blue>255</blue>
25        </color>
26       </brush>
27      </colorrole>
28      <colorrole role="Window">
29       <brush brushstyle="SolidPattern">
30        <color alpha="255">
31         <red>255</red>
32         <green>255</green>
33         <blue>255</blue>
34        </color>
35       </brush>
36      </colorrole>
37     </active>
38     <inactive>
39      <colorrole role="Base">
40       <brush brushstyle="SolidPattern">
41        <color alpha="255">
42         <red>255</red>
43         <green>255</green>
44         <blue>255</blue>
45        </color>
46       </brush>
47      </colorrole>
48      <colorrole role="Window">
49       <brush brushstyle="SolidPattern">
50        <color alpha="255">
51         <red>255</red>
52         <green>255</green>
53         <blue>255</blue>
54        </color>
55       </brush>
56      </colorrole>
57     </inactive>
58     <disabled>
59      <colorrole role="Base">
60       <brush brushstyle="SolidPattern">
61        <color alpha="255">
62         <red>255</red>
63         <green>255</green>
64         <blue>255</blue>
65        </color>
66       </brush>
67      </colorrole>
68      <colorrole role="Window">
69       <brush brushstyle="SolidPattern">
70        <color alpha="255">
71         <red>255</red>
72         <green>255</green>
73         <blue>255</blue>
74        </color>
75       </brush>
76      </colorrole>
77     </disabled>
78    </palette>
79   </property>
80   <property name="windowTitle">
81    <string>Web-Update</string>
82   </property>
83   <property name="windowIcon">
84    <iconset resource="../res/resources.qrc">
85     <normaloff>:/buttons/update.png</normaloff>:/buttons/update.png</iconset>
86   </property>
87   <property name="modal">
88    <bool>true</bool>
89   </property>
90   <layout class="QHBoxLayout" name="horizontalLayout_2">
91    <item>
92     <layout class="QVBoxLayout" name="verticalLayout_3">
93      <item>
94       <layout class="QHBoxLayout" name="horizontalLayout">
95        <item>
96         <layout class="QVBoxLayout" name="verticalLayout">
97          <item>
98           <widget class="QLabel" name="logo">
99            <property name="minimumSize">
100             <size>
101              <width>72</width>
102              <height>72</height>
103             </size>
104            </property>
105            <property name="maximumSize">
106             <size>
107              <width>72</width>
108              <height>72</height>
109             </size>
110            </property>
111            <property name="text">
112             <string/>
113            </property>
114            <property name="pixmap">
115             <pixmap resource="../res/resources.qrc">:/images/update.png</pixmap>
116            </property>
117            <property name="scaledContents">
118             <bool>true</bool>
119            </property>
120           </widget>
121          </item>
122          <item>
123           <spacer name="verticalSpacer">
124            <property name="orientation">
125             <enum>Qt::Vertical</enum>
126            </property>
127            <property name="sizeHint" stdset="0">
128             <size>
129              <width>0</width>
130              <height>0</height>
131             </size>
132            </property>
133           </spacer>
134          </item>
135         </layout>
136        </item>
137        <item>
138         <spacer name="horizontalSpacer">
139          <property name="orientation">
140           <enum>Qt::Horizontal</enum>
141          </property>
142          <property name="sizeType">
143           <enum>QSizePolicy::Fixed</enum>
144          </property>
145          <property name="sizeHint" stdset="0">
146           <size>
147            <width>32</width>
148            <height>20</height>
149           </size>
150          </property>
151         </spacer>
152        </item>
153        <item>
154         <layout class="QVBoxLayout" name="verticalLayout_2">
155          <item>
156           <spacer name="verticalSpacer_3">
157            <property name="orientation">
158             <enum>Qt::Vertical</enum>
159            </property>
160            <property name="sizeType">
161             <enum>QSizePolicy::Fixed</enum>
162            </property>
163            <property name="sizeHint" stdset="0">
164             <size>
165              <width>20</width>
166              <height>6</height>
167             </size>
168            </property>
169           </spacer>
170          </item>
171          <item>
172           <layout class="QHBoxLayout" name="horizontalLayout_3">
173            <item>
174             <widget class="QLabel" name="icon_phase1">
175              <property name="minimumSize">
176               <size>
177                <width>16</width>
178                <height>16</height>
179               </size>
180              </property>
181              <property name="maximumSize">
182               <size>
183                <width>16</width>
184                <height>16</height>
185               </size>
186              </property>
187              <property name="text">
188               <string/>
189              </property>
190              <property name="pixmap">
191               <pixmap resource="../res/resources.qrc">:/buttons/clock.png</pixmap>
192              </property>
193             </widget>
194            </item>
195            <item>
196             <spacer name="horizontalSpacer_3">
197              <property name="orientation">
198               <enum>Qt::Horizontal</enum>
199              </property>
200              <property name="sizeType">
201               <enum>QSizePolicy::Fixed</enum>
202              </property>
203              <property name="sizeHint" stdset="0">
204               <size>
205                <width>5</width>
206                <height>20</height>
207               </size>
208              </property>
209             </spacer>
210            </item>
211            <item>
212             <widget class="QLabel" name="label_phase1">
213              <property name="sizePolicy">
214               <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
215                <horstretch>0</horstretch>
216                <verstretch>0</verstretch>
217               </sizepolicy>
218              </property>
219              <property name="text">
220               <string>Check Internet connection</string>
221              </property>
222             </widget>
223            </item>
224           </layout>
225          </item>
226          <item>
227           <spacer name="verticalSpacer_4">
228            <property name="orientation">
229             <enum>Qt::Vertical</enum>
230            </property>
231            <property name="sizeType">
232             <enum>QSizePolicy::Fixed</enum>
233            </property>
234            <property name="sizeHint" stdset="0">
235             <size>
236              <width>20</width>
237              <height>10</height>
238             </size>
239            </property>
240           </spacer>
241          </item>
242          <item>
243           <layout class="QHBoxLayout" name="horizontalLayout_4">
244            <item>
245             <widget class="QLabel" name="icon_phase2">
246              <property name="minimumSize">
247               <size>
248                <width>16</width>
249                <height>16</height>
250               </size>
251              </property>
252              <property name="maximumSize">
253               <size>
254                <width>16</width>
255                <height>16</height>
256               </size>
257              </property>
258              <property name="text">
259               <string/>
260              </property>
261              <property name="pixmap">
262               <pixmap resource="../res/resources.qrc">:/buttons/clock.png</pixmap>
263              </property>
264             </widget>
265            </item>
266            <item>
267             <spacer name="horizontalSpacer_4">
268              <property name="orientation">
269               <enum>Qt::Horizontal</enum>
270              </property>
271              <property name="sizeType">
272               <enum>QSizePolicy::Fixed</enum>
273              </property>
274              <property name="sizeHint" stdset="0">
275               <size>
276                <width>5</width>
277                <height>20</height>
278               </size>
279              </property>
280             </spacer>
281            </item>
282            <item>
283             <widget class="QLabel" name="label_phase2">
284              <property name="sizePolicy">
285               <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
286                <horstretch>0</horstretch>
287                <verstretch>0</verstretch>
288               </sizepolicy>
289              </property>
290              <property name="text">
291               <string>Download update-information from web-server</string>
292              </property>
293             </widget>
294            </item>
295           </layout>
296          </item>
297          <item>
298           <spacer name="verticalSpacer_5">
299            <property name="orientation">
300             <enum>Qt::Vertical</enum>
301            </property>
302            <property name="sizeType">
303             <enum>QSizePolicy::Fixed</enum>
304            </property>
305            <property name="sizeHint" stdset="0">
306             <size>
307              <width>20</width>
308              <height>10</height>
309             </size>
310            </property>
311           </spacer>
312          </item>
313          <item>
314           <layout class="QHBoxLayout" name="horizontalLayout_5">
315            <item>
316             <widget class="QLabel" name="icon_phase3">
317              <property name="minimumSize">
318               <size>
319                <width>16</width>
320                <height>16</height>
321               </size>
322              </property>
323              <property name="maximumSize">
324               <size>
325                <width>16</width>
326                <height>16</height>
327               </size>
328              </property>
329              <property name="text">
330               <string/>
331              </property>
332              <property name="pixmap">
333               <pixmap resource="../res/resources.qrc">:/buttons/clock.png</pixmap>
334              </property>
335             </widget>
336            </item>
337            <item>
338             <spacer name="horizontalSpacer_5">
339              <property name="orientation">
340               <enum>Qt::Horizontal</enum>
341              </property>
342              <property name="sizeType">
343               <enum>QSizePolicy::Fixed</enum>
344              </property>
345              <property name="sizeHint" stdset="0">
346               <size>
347                <width>5</width>
348                <height>20</height>
349               </size>
350              </property>
351             </spacer>
352            </item>
353            <item>
354             <widget class="QLabel" name="label_phase3">
355              <property name="sizePolicy">
356               <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
357                <horstretch>0</horstretch>
358                <verstretch>0</verstretch>
359               </sizepolicy>
360              </property>
361              <property name="text">
362               <string>Examine the installed version</string>
363              </property>
364             </widget>
365            </item>
366           </layout>
367          </item>
368          <item>
369           <spacer name="verticalSpacer_7">
370            <property name="orientation">
371             <enum>Qt::Vertical</enum>
372            </property>
373            <property name="sizeType">
374             <enum>QSizePolicy::Fixed</enum>
375            </property>
376            <property name="sizeHint" stdset="0">
377             <size>
378              <width>20</width>
379              <height>6</height>
380             </size>
381            </property>
382           </spacer>
383          </item>
384          <item>
385           <spacer name="verticalSpacer_6">
386            <property name="orientation">
387             <enum>Qt::Vertical</enum>
388            </property>
389            <property name="sizeHint" stdset="0">
390             <size>
391              <width>20</width>
392              <height>40</height>
393             </size>
394            </property>
395           </spacer>
396          </item>
397          <item>
398           <layout class="QHBoxLayout" name="horizontalLayout_7">
399            <item>
400             <spacer name="horizontalSpacer_6">
401              <property name="orientation">
402               <enum>Qt::Horizontal</enum>
403              </property>
404              <property name="sizeHint" stdset="0">
405               <size>
406                <width>40</width>
407                <height>0</height>
408               </size>
409              </property>
410             </spacer>
411            </item>
412            <item>
413             <widget class="QLabel" name="labelLoadingLeft">
414              <property name="text">
415               <string/>
416              </property>
417              <property name="pixmap">
418               <pixmap resource="../res/resources.qrc">:/buttons/transmit.png</pixmap>
419              </property>
420             </widget>
421            </item>
422            <item>
423             <widget class="QLabel" name="labelLoadingCenter">
424              <property name="text">
425               <string/>
426              </property>
427              <property name="pixmap">
428               <pixmap resource="../res/resources.qrc">:/images/loading.gif</pixmap>
429              </property>
430             </widget>
431            </item>
432            <item>
433             <widget class="QLabel" name="labelLoadingRight">
434              <property name="text">
435               <string/>
436              </property>
437              <property name="pixmap">
438               <pixmap resource="../res/resources.qrc">:/buttons/computer.png</pixmap>
439              </property>
440             </widget>
441            </item>
442            <item>
443             <spacer name="horizontalSpacer_7">
444              <property name="orientation">
445               <enum>Qt::Horizontal</enum>
446              </property>
447              <property name="sizeHint" stdset="0">
448               <size>
449                <width>40</width>
450                <height>0</height>
451               </size>
452              </property>
453             </spacer>
454            </item>
455           </layout>
456          </item>
457          <item>
458           <widget class="QLabel" name="labelInfo">
459            <property name="text">
460             <string>More information available at:</string>
461            </property>
462           </widget>
463          </item>
464          <item>
465           <widget class="QLabel" name="labelUrl">
466            <property name="palette">
467             <palette>
468              <active>
469               <colorrole role="WindowText">
470                <brush brushstyle="SolidPattern">
471                 <color alpha="255">
472                  <red>0</red>
473                  <green>0</green>
474                  <blue>255</blue>
475                 </color>
476                </brush>
477               </colorrole>
478              </active>
479              <inactive>
480               <colorrole role="WindowText">
481                <brush brushstyle="SolidPattern">
482                 <color alpha="255">
483                  <red>0</red>
484                  <green>0</green>
485                  <blue>255</blue>
486                 </color>
487                </brush>
488               </colorrole>
489              </inactive>
490              <disabled>
491               <colorrole role="WindowText">
492                <brush brushstyle="SolidPattern">
493                 <color alpha="255">
494                  <red>120</red>
495                  <green>120</green>
496                  <blue>120</blue>
497                 </color>
498                </brush>
499               </colorrole>
500              </disabled>
501             </palette>
502            </property>
503            <property name="font">
504             <font>
505              <underline>true</underline>
506             </font>
507            </property>
508            <property name="cursor">
509             <cursorShape>PointingHandCursor</cursorShape>
510            </property>
511            <property name="text">
512             <string>http://www.example.com/update_info.html</string>
513            </property>
514            <property name="textInteractionFlags">
515             <set>Qt::LinksAccessibleByMouse</set>
516            </property>
517           </widget>
518          </item>
519          <item>
520           <spacer name="verticalSpacer_2">
521            <property name="orientation">
522             <enum>Qt::Vertical</enum>
523            </property>
524            <property name="sizeType">
525             <enum>QSizePolicy::Expanding</enum>
526            </property>
527            <property name="sizeHint" stdset="0">
528             <size>
529              <width>20</width>
530              <height>40</height>
531             </size>
532            </property>
533           </spacer>
534          </item>
535         </layout>
536        </item>
537       </layout>
538      </item>
539      <item>
540       <widget class="QFrame" name="frame">
541        <property name="frameShape">
542         <enum>QFrame::HLine</enum>
543        </property>
544        <property name="frameShadow">
545         <enum>QFrame::Raised</enum>
546        </property>
547       </widget>
548      </item>
549      <item>
550       <layout class="QHBoxLayout" name="horizontalLayout_6">
551        <item>
552         <spacer name="horizontalSpacer_2">
553          <property name="orientation">
554           <enum>Qt::Horizontal</enum>
555          </property>
556          <property name="sizeHint" stdset="0">
557           <size>
558            <width>40</width>
559            <height>20</height>
560           </size>
561          </property>
562         </spacer>
563        </item>
564        <item>
565         <widget class="QPushButton" name="buttonDownload">
566          <property name="minimumSize">
567           <size>
568            <width>128</width>
569            <height>0</height>
570           </size>
571          </property>
572          <property name="text">
573           <string>Download &amp;&amp; Install</string>
574          </property>
575          <property name="icon">
576           <iconset resource="../res/resources.qrc">
577            <normaloff>:/buttons/shield_admin.png</normaloff>:/buttons/shield_admin.png</iconset>
578          </property>
579         </widget>
580        </item>
581        <item>
582         <widget class="QPushButton" name="buttonRetry">
583          <property name="minimumSize">
584           <size>
585            <width>88</width>
586            <height>0</height>
587           </size>
588          </property>
589          <property name="text">
590           <string>Retry</string>
591          </property>
592          <property name="icon">
593           <iconset resource="../res/resources.qrc">
594            <normaloff>:/buttons/restart.png</normaloff>:/buttons/restart.png</iconset>
595          </property>
596         </widget>
597        </item>
598        <item>
599         <widget class="QPushButton" name="buttonCancel">
600          <property name="minimumSize">
601           <size>
602            <width>88</width>
603            <height>0</height>
604           </size>
605          </property>
606          <property name="text">
607           <string>Discard</string>
608          </property>
609          <property name="icon">
610           <iconset resource="../res/resources.qrc">
611            <normaloff>:/buttons/cross.png</normaloff>:/buttons/cross.png</iconset>
612          </property>
613         </widget>
614        </item>
615       </layout>
616      </item>
617     </layout>
618    </item>
619   </layout>
620  </widget>
621  <resources>
622   <include location="../res/resources.qrc"/>
623  </resources>
624  <connections/>
625 </ui>