OSDN Git Service

Added option to shutdown the computer when all jobs are completed.
[x264-launcher/x264-launcher.git] / gui / win_main.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>720</width>
10     <height>640</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Simple x264 Launcher</string>
15   </property>
16   <widget class="QWidget" name="centralwidget">
17    <layout class="QVBoxLayout" name="verticalLayout">
18     <item>
19      <widget class="QSplitter" name="splitter">
20       <property name="orientation">
21        <enum>Qt::Vertical</enum>
22       </property>
23       <property name="opaqueResize">
24        <bool>false</bool>
25       </property>
26       <property name="handleWidth">
27        <number>8</number>
28       </property>
29       <property name="childrenCollapsible">
30        <bool>false</bool>
31       </property>
32       <widget class="QTableView" name="jobsView">
33        <property name="focusPolicy">
34         <enum>Qt::StrongFocus</enum>
35        </property>
36        <property name="contextMenuPolicy">
37         <enum>Qt::ActionsContextMenu</enum>
38        </property>
39        <property name="alternatingRowColors">
40         <bool>true</bool>
41        </property>
42        <property name="selectionMode">
43         <enum>QAbstractItemView::SingleSelection</enum>
44        </property>
45        <property name="selectionBehavior">
46         <enum>QAbstractItemView::SelectRows</enum>
47        </property>
48        <property name="wordWrap">
49         <bool>false</bool>
50        </property>
51        <property name="cornerButtonEnabled">
52         <bool>false</bool>
53        </property>
54        <attribute name="horizontalHeaderVisible">
55         <bool>true</bool>
56        </attribute>
57        <attribute name="horizontalHeaderHighlightSections">
58         <bool>false</bool>
59        </attribute>
60        <attribute name="verticalHeaderVisible">
61         <bool>false</bool>
62        </attribute>
63       </widget>
64       <widget class="QGroupBox" name="groupBox">
65        <property name="title">
66         <string> Job Details </string>
67        </property>
68        <layout class="QVBoxLayout" name="verticalLayout_2">
69         <property name="spacing">
70          <number>2</number>
71         </property>
72         <item>
73          <widget class="QProgressBar" name="progressBar">
74           <property name="mouseTracking">
75            <bool>false</bool>
76           </property>
77           <property name="focusPolicy">
78            <enum>Qt::StrongFocus</enum>
79           </property>
80           <property name="value">
81            <number>0</number>
82           </property>
83           <property name="alignment">
84            <set>Qt::AlignCenter</set>
85           </property>
86          </widget>
87         </item>
88         <item>
89          <spacer name="verticalSpacer">
90           <property name="orientation">
91            <enum>Qt::Vertical</enum>
92           </property>
93           <property name="sizeType">
94            <enum>QSizePolicy::Fixed</enum>
95           </property>
96           <property name="sizeHint" stdset="0">
97            <size>
98             <width>20</width>
99             <height>3</height>
100            </size>
101           </property>
102          </spacer>
103         </item>
104         <item>
105          <widget class="QListView" name="logView">
106           <property name="font">
107            <font>
108             <family>Lucida Console</family>
109            </font>
110           </property>
111           <property name="contextMenuPolicy">
112            <enum>Qt::ActionsContextMenu</enum>
113           </property>
114           <property name="horizontalScrollBarPolicy">
115            <enum>Qt::ScrollBarAlwaysOff</enum>
116           </property>
117           <property name="selectionMode">
118            <enum>QAbstractItemView::NoSelection</enum>
119           </property>
120           <property name="selectionBehavior">
121            <enum>QAbstractItemView::SelectRows</enum>
122           </property>
123          </widget>
124         </item>
125         <item>
126          <widget class="QLineEdit" name="editDetails">
127           <property name="font">
128            <font>
129             <weight>75</weight>
130             <bold>true</bold>
131            </font>
132           </property>
133           <property name="readOnly">
134            <bool>true</bool>
135           </property>
136          </widget>
137         </item>
138        </layout>
139       </widget>
140      </widget>
141     </item>
142     <item>
143      <widget class="QFrame" name="frame">
144       <property name="frameShape">
145        <enum>QFrame::HLine</enum>
146       </property>
147       <property name="frameShadow">
148        <enum>QFrame::Sunken</enum>
149       </property>
150      </widget>
151     </item>
152     <item>
153      <layout class="QHBoxLayout" name="horizontalLayout">
154       <item>
155        <widget class="QPushButton" name="buttonAddJob">
156         <property name="minimumSize">
157          <size>
158           <width>128</width>
159           <height>0</height>
160          </size>
161         </property>
162         <property name="text">
163          <string>Add New Job</string>
164         </property>
165         <property name="icon">
166          <iconset resource="../res/resources.qrc">
167           <normaloff>:/buttons/add.png</normaloff>:/buttons/add.png</iconset>
168         </property>
169        </widget>
170       </item>
171       <item>
172        <spacer name="horizontalSpacer">
173         <property name="orientation">
174          <enum>Qt::Horizontal</enum>
175         </property>
176         <property name="sizeHint" stdset="0">
177          <size>
178           <width>40</width>
179           <height>20</height>
180          </size>
181         </property>
182        </spacer>
183       </item>
184       <item>
185        <widget class="QLabel" name="labelBuildDate">
186         <property name="palette">
187          <palette>
188           <active>
189            <colorrole role="WindowText">
190             <brush brushstyle="SolidPattern">
191              <color alpha="255">
192               <red>126</red>
193               <green>126</green>
194               <blue>126</blue>
195              </color>
196             </brush>
197            </colorrole>
198           </active>
199           <inactive>
200            <colorrole role="WindowText">
201             <brush brushstyle="SolidPattern">
202              <color alpha="255">
203               <red>126</red>
204               <green>126</green>
205               <blue>126</blue>
206              </color>
207             </brush>
208            </colorrole>
209           </inactive>
210           <disabled>
211            <colorrole role="WindowText">
212             <brush brushstyle="SolidPattern">
213              <color alpha="255">
214               <red>120</red>
215               <green>120</green>
216               <blue>120</blue>
217              </color>
218             </brush>
219            </colorrole>
220           </disabled>
221          </palette>
222         </property>
223         <property name="cursor">
224          <cursorShape>WhatsThisCursor</cursorShape>
225         </property>
226         <property name="text">
227          <string>(Version)</string>
228         </property>
229        </widget>
230       </item>
231       <item>
232        <spacer name="horizontalSpacer_2">
233         <property name="orientation">
234          <enum>Qt::Horizontal</enum>
235         </property>
236         <property name="sizeHint" stdset="0">
237          <size>
238           <width>40</width>
239           <height>20</height>
240          </size>
241         </property>
242        </spacer>
243       </item>
244       <item>
245        <widget class="QPushButton" name="buttonStartJob">
246         <property name="enabled">
247          <bool>false</bool>
248         </property>
249         <property name="minimumSize">
250          <size>
251           <width>104</width>
252           <height>0</height>
253          </size>
254         </property>
255         <property name="text">
256          <string>Start Job</string>
257         </property>
258         <property name="icon">
259          <iconset resource="../res/resources.qrc">
260           <normaloff>:/buttons/play_big.png</normaloff>:/buttons/play_big.png</iconset>
261         </property>
262        </widget>
263       </item>
264       <item>
265        <widget class="QPushButton" name="buttonPauseJob">
266         <property name="enabled">
267          <bool>false</bool>
268         </property>
269         <property name="minimumSize">
270          <size>
271           <width>104</width>
272           <height>0</height>
273          </size>
274         </property>
275         <property name="text">
276          <string>Pause Job</string>
277         </property>
278         <property name="icon">
279          <iconset resource="../res/resources.qrc">
280           <normaloff>:/buttons/pause.png</normaloff>:/buttons/pause.png</iconset>
281         </property>
282         <property name="checkable">
283          <bool>true</bool>
284         </property>
285        </widget>
286       </item>
287       <item>
288        <widget class="QPushButton" name="buttonAbortJob">
289         <property name="enabled">
290          <bool>false</bool>
291         </property>
292         <property name="minimumSize">
293          <size>
294           <width>104</width>
295           <height>0</height>
296          </size>
297         </property>
298         <property name="text">
299          <string>Abort Job</string>
300         </property>
301         <property name="icon">
302          <iconset resource="../res/resources.qrc">
303           <normaloff>:/buttons/cancel.png</normaloff>:/buttons/cancel.png</iconset>
304         </property>
305        </widget>
306       </item>
307      </layout>
308     </item>
309    </layout>
310   </widget>
311   <widget class="QMenuBar" name="menubar">
312    <property name="geometry">
313     <rect>
314      <x>0</x>
315      <y>0</y>
316      <width>720</width>
317      <height>21</height>
318     </rect>
319    </property>
320    <widget class="QMenu" name="menuFile">
321     <property name="title">
322      <string>File</string>
323     </property>
324     <addaction name="actionPreferences"/>
325     <addaction name="separator"/>
326     <addaction name="actionExit"/>
327    </widget>
328    <widget class="QMenu" name="menu">
329     <property name="title">
330      <string>?</string>
331     </property>
332     <addaction name="actionWebMulder"/>
333     <addaction name="actionWebX264"/>
334     <addaction name="actionWebKomisar"/>
335     <addaction name="actionWebJarod"/>
336     <addaction name="separator"/>
337     <addaction name="actionWebWiki"/>
338     <addaction name="actionWebBluRay"/>
339     <addaction name="separator"/>
340     <addaction name="actionAbout"/>
341    </widget>
342    <widget class="QMenu" name="menuJob">
343     <property name="title">
344      <string>Job</string>
345     </property>
346     <addaction name="actionJob_New"/>
347     <addaction name="separator"/>
348     <addaction name="actionJob_Start"/>
349     <addaction name="actionJob_Pause"/>
350     <addaction name="actionJob_Abort"/>
351     <addaction name="actionJob_Browse"/>
352     <addaction name="actionJob_Delete"/>
353    </widget>
354    <addaction name="menuFile"/>
355    <addaction name="menuJob"/>
356    <addaction name="menu"/>
357   </widget>
358   <action name="actionExit">
359    <property name="icon">
360     <iconset resource="../res/resources.qrc">
361      <normaloff>:/buttons/door_in.png</normaloff>:/buttons/door_in.png</iconset>
362    </property>
363    <property name="text">
364     <string>Exit</string>
365    </property>
366   </action>
367   <action name="actionAbout">
368    <property name="icon">
369     <iconset resource="../res/resources.qrc">
370      <normaloff>:/buttons/information.png</normaloff>:/buttons/information.png</iconset>
371    </property>
372    <property name="text">
373     <string>About...</string>
374    </property>
375   </action>
376   <action name="actionWebMulder">
377    <property name="icon">
378     <iconset resource="../res/resources.qrc">
379      <normaloff>:/buttons/world_link.png</normaloff>:/buttons/world_link.png</iconset>
380    </property>
381    <property name="text">
382     <string>MuldeR's Web-Site</string>
383    </property>
384   </action>
385   <action name="actionWebX264">
386    <property name="icon">
387     <iconset resource="../res/resources.qrc">
388      <normaloff>:/buttons/world_link.png</normaloff>:/buttons/world_link.png</iconset>
389    </property>
390    <property name="text">
391     <string>Official x264 Web-Site</string>
392    </property>
393   </action>
394   <action name="actionWebKomisar">
395    <property name="icon">
396     <iconset resource="../res/resources.qrc">
397      <normaloff>:/buttons/world_link.png</normaloff>:/buttons/world_link.png</iconset>
398    </property>
399    <property name="text">
400     <string>Komisar's Web-Site</string>
401    </property>
402   </action>
403   <action name="actionWebJarod">
404    <property name="icon">
405     <iconset resource="../res/resources.qrc">
406      <normaloff>:/buttons/world_link.png</normaloff>:/buttons/world_link.png</iconset>
407    </property>
408    <property name="text">
409     <string>Jarod's Web-Site</string>
410    </property>
411   </action>
412   <action name="actionWebWiki">
413    <property name="icon">
414     <iconset resource="../res/resources.qrc">
415      <normaloff>:/buttons/book_open.png</normaloff>:/buttons/book_open.png</iconset>
416    </property>
417    <property name="text">
418     <string>MeWiki - x264 Settings</string>
419    </property>
420   </action>
421   <action name="actionWebBluRay">
422    <property name="icon">
423     <iconset resource="../res/resources.qrc">
424      <normaloff>:/buttons/book_open.png</normaloff>:/buttons/book_open.png</iconset>
425    </property>
426    <property name="text">
427     <string>x264 BluRay Authoring</string>
428    </property>
429   </action>
430   <action name="actionJob_New">
431    <property name="icon">
432     <iconset resource="../res/resources.qrc">
433      <normaloff>:/buttons/add.png</normaloff>:/buttons/add.png</iconset>
434    </property>
435    <property name="text">
436     <string>Add New Job</string>
437    </property>
438   </action>
439   <action name="actionJob_Start">
440    <property name="enabled">
441     <bool>false</bool>
442    </property>
443    <property name="icon">
444     <iconset resource="../res/resources.qrc">
445      <normaloff>:/buttons/play_big.png</normaloff>:/buttons/play_big.png</iconset>
446    </property>
447    <property name="text">
448     <string>Start Job</string>
449    </property>
450   </action>
451   <action name="actionJob_Abort">
452    <property name="enabled">
453     <bool>false</bool>
454    </property>
455    <property name="icon">
456     <iconset resource="../res/resources.qrc">
457      <normaloff>:/buttons/cancel.png</normaloff>:/buttons/cancel.png</iconset>
458    </property>
459    <property name="text">
460     <string>Abort Job</string>
461    </property>
462   </action>
463   <action name="actionJob_Pause">
464    <property name="checkable">
465     <bool>true</bool>
466    </property>
467    <property name="enabled">
468     <bool>false</bool>
469    </property>
470    <property name="icon">
471     <iconset resource="../res/resources.qrc">
472      <normaloff>:/buttons/pause.png</normaloff>:/buttons/pause.png</iconset>
473    </property>
474    <property name="text">
475     <string>Pause Job</string>
476    </property>
477   </action>
478   <action name="actionPreferences">
479    <property name="icon">
480     <iconset resource="../res/resources.qrc">
481      <normaloff>:/buttons/wrench.png</normaloff>:/buttons/wrench.png</iconset>
482    </property>
483    <property name="text">
484     <string>Preferences</string>
485    </property>
486   </action>
487   <action name="actionJob_Delete">
488    <property name="enabled">
489     <bool>false</bool>
490    </property>
491    <property name="icon">
492     <iconset resource="../res/resources.qrc">
493      <normaloff>:/buttons/trash.png</normaloff>:/buttons/trash.png</iconset>
494    </property>
495    <property name="text">
496     <string>Delete Job</string>
497    </property>
498   </action>
499   <action name="actionJob_Browse">
500    <property name="enabled">
501     <bool>false</bool>
502    </property>
503    <property name="icon">
504     <iconset resource="../res/resources.qrc">
505      <normaloff>:/buttons/folder_magnify.png</normaloff>:/buttons/folder_magnify.png</iconset>
506    </property>
507    <property name="text">
508     <string>Explore Job</string>
509    </property>
510   </action>
511  </widget>
512  <tabstops>
513   <tabstop>buttonAddJob</tabstop>
514   <tabstop>buttonStartJob</tabstop>
515   <tabstop>buttonAbortJob</tabstop>
516   <tabstop>jobsView</tabstop>
517   <tabstop>logView</tabstop>
518   <tabstop>editDetails</tabstop>
519  </tabstops>
520  <resources>
521   <include location="../res/resources.qrc"/>
522  </resources>
523  <connections>
524   <connection>
525    <sender>actionExit</sender>
526    <signal>activated()</signal>
527    <receiver>MainWindow</receiver>
528    <slot>close()</slot>
529    <hints>
530     <hint type="sourcelabel">
531      <x>-1</x>
532      <y>-1</y>
533     </hint>
534     <hint type="destinationlabel">
535      <x>399</x>
536      <y>299</y>
537     </hint>
538    </hints>
539   </connection>
540   <connection>
541    <sender>actionJob_New</sender>
542    <signal>triggered()</signal>
543    <receiver>buttonAddJob</receiver>
544    <slot>click()</slot>
545    <hints>
546     <hint type="sourcelabel">
547      <x>-1</x>
548      <y>-1</y>
549     </hint>
550     <hint type="destinationlabel">
551      <x>73</x>
552      <y>617</y>
553     </hint>
554    </hints>
555   </connection>
556   <connection>
557    <sender>actionJob_Start</sender>
558    <signal>triggered()</signal>
559    <receiver>buttonStartJob</receiver>
560    <slot>click()</slot>
561    <hints>
562     <hint type="sourcelabel">
563      <x>-1</x>
564      <y>-1</y>
565     </hint>
566     <hint type="destinationlabel">
567      <x>547</x>
568      <y>617</y>
569     </hint>
570    </hints>
571   </connection>
572   <connection>
573    <sender>actionJob_Abort</sender>
574    <signal>triggered()</signal>
575    <receiver>buttonAbortJob</receiver>
576    <slot>click()</slot>
577    <hints>
578     <hint type="sourcelabel">
579      <x>-1</x>
580      <y>-1</y>
581     </hint>
582     <hint type="destinationlabel">
583      <x>657</x>
584      <y>617</y>
585     </hint>
586    </hints>
587   </connection>
588   <connection>
589    <sender>actionJob_Pause</sender>
590    <signal>toggled(bool)</signal>
591    <receiver>buttonPauseJob</receiver>
592    <slot>setChecked(bool)</slot>
593    <hints>
594     <hint type="sourcelabel">
595      <x>-1</x>
596      <y>-1</y>
597     </hint>
598     <hint type="destinationlabel">
599      <x>547</x>
600      <y>617</y>
601     </hint>
602    </hints>
603   </connection>
604  </connections>
605 </ui>