OSDN Git Service

Added option to delete jobs from the list + also added option to browse the output...
[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="enabled">
480     <bool>false</bool>
481    </property>
482    <property name="icon">
483     <iconset resource="../res/resources.qrc">
484      <normaloff>:/buttons/wrench.png</normaloff>:/buttons/wrench.png</iconset>
485    </property>
486    <property name="text">
487     <string>Preferences</string>
488    </property>
489   </action>
490   <action name="actionJob_Delete">
491    <property name="enabled">
492     <bool>false</bool>
493    </property>
494    <property name="icon">
495     <iconset resource="../res/resources.qrc">
496      <normaloff>:/buttons/trash.png</normaloff>:/buttons/trash.png</iconset>
497    </property>
498    <property name="text">
499     <string>Delete Job</string>
500    </property>
501   </action>
502   <action name="actionJob_Browse">
503    <property name="enabled">
504     <bool>false</bool>
505    </property>
506    <property name="icon">
507     <iconset resource="../res/resources.qrc">
508      <normaloff>:/buttons/folder_magnify.png</normaloff>:/buttons/folder_magnify.png</iconset>
509    </property>
510    <property name="text">
511     <string>Explore Job</string>
512    </property>
513   </action>
514  </widget>
515  <tabstops>
516   <tabstop>buttonAddJob</tabstop>
517   <tabstop>buttonStartJob</tabstop>
518   <tabstop>buttonAbortJob</tabstop>
519   <tabstop>jobsView</tabstop>
520   <tabstop>logView</tabstop>
521   <tabstop>editDetails</tabstop>
522  </tabstops>
523  <resources>
524   <include location="../res/resources.qrc"/>
525  </resources>
526  <connections>
527   <connection>
528    <sender>actionExit</sender>
529    <signal>activated()</signal>
530    <receiver>MainWindow</receiver>
531    <slot>close()</slot>
532    <hints>
533     <hint type="sourcelabel">
534      <x>-1</x>
535      <y>-1</y>
536     </hint>
537     <hint type="destinationlabel">
538      <x>399</x>
539      <y>299</y>
540     </hint>
541    </hints>
542   </connection>
543   <connection>
544    <sender>actionJob_New</sender>
545    <signal>triggered()</signal>
546    <receiver>buttonAddJob</receiver>
547    <slot>click()</slot>
548    <hints>
549     <hint type="sourcelabel">
550      <x>-1</x>
551      <y>-1</y>
552     </hint>
553     <hint type="destinationlabel">
554      <x>73</x>
555      <y>617</y>
556     </hint>
557    </hints>
558   </connection>
559   <connection>
560    <sender>actionJob_Start</sender>
561    <signal>triggered()</signal>
562    <receiver>buttonStartJob</receiver>
563    <slot>click()</slot>
564    <hints>
565     <hint type="sourcelabel">
566      <x>-1</x>
567      <y>-1</y>
568     </hint>
569     <hint type="destinationlabel">
570      <x>547</x>
571      <y>617</y>
572     </hint>
573    </hints>
574   </connection>
575   <connection>
576    <sender>actionJob_Abort</sender>
577    <signal>triggered()</signal>
578    <receiver>buttonAbortJob</receiver>
579    <slot>click()</slot>
580    <hints>
581     <hint type="sourcelabel">
582      <x>-1</x>
583      <y>-1</y>
584     </hint>
585     <hint type="destinationlabel">
586      <x>657</x>
587      <y>617</y>
588     </hint>
589    </hints>
590   </connection>
591   <connection>
592    <sender>actionJob_Pause</sender>
593    <signal>toggled(bool)</signal>
594    <receiver>buttonPauseJob</receiver>
595    <slot>setChecked(bool)</slot>
596    <hints>
597     <hint type="sourcelabel">
598      <x>-1</x>
599      <y>-1</y>
600     </hint>
601     <hint type="destinationlabel">
602      <x>547</x>
603      <y>617</y>
604     </hint>
605    </hints>
606   </connection>
607  </connections>
608 </ui>