OSDN Git Service

Code refactoring: Now "Preferences" and "Recently" used models are in separate classe...
[x264-launcher/x264-launcher.git] / gui / win_preferences.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PreferencesDialog</class>
4  <widget class="QDialog" name="PreferencesDialog">
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>379</width>
13     <height>399</height>
14    </rect>
15   </property>
16   <property name="windowTitle">
17    <string>Preferences</string>
18   </property>
19   <property name="modal">
20    <bool>true</bool>
21   </property>
22   <layout class="QVBoxLayout" name="verticalLayout">
23    <item>
24     <widget class="QGroupBox" name="groupBox">
25      <property name="sizePolicy">
26       <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
27        <horstretch>0</horstretch>
28        <verstretch>0</verstretch>
29       </sizepolicy>
30      </property>
31      <property name="title">
32       <string> Preferences </string>
33      </property>
34      <layout class="QVBoxLayout" name="verticalLayout_2">
35       <item>
36        <layout class="QGridLayout" name="gridLayout">
37         <item row="13" column="1" colspan="5">
38          <spacer name="verticalSpacer_8">
39           <property name="orientation">
40            <enum>Qt::Vertical</enum>
41           </property>
42           <property name="sizeType">
43            <enum>QSizePolicy::Fixed</enum>
44           </property>
45           <property name="sizeHint" stdset="0">
46            <size>
47             <width>20</width>
48             <height>8</height>
49            </size>
50           </property>
51          </spacer>
52         </item>
53         <item row="2" column="2" colspan="2">
54          <widget class="QLabel" name="labelJobCount">
55           <property name="enabled">
56            <bool>false</bool>
57           </property>
58           <property name="toolTip">
59            <string>If the specified number of jobs (or even more) is already running, the next one will NOT be launched yet.</string>
60           </property>
61           <property name="text">
62            <string>Maximum number of running jobs:</string>
63           </property>
64          </widget>
65         </item>
66         <item row="1" column="2" colspan="4">
67          <widget class="QLabel" name="labelRunNextJob">
68           <property name="text">
69            <string>Automatically launch next job when a running job completes</string>
70           </property>
71          </widget>
72         </item>
73         <item row="1" column="1">
74          <widget class="QCheckBox" name="checkRunNextJob">
75           <property name="text">
76            <string notr="true"/>
77           </property>
78          </widget>
79         </item>
80         <item row="2" column="5">
81          <spacer name="horizontalSpacer_4">
82           <property name="orientation">
83            <enum>Qt::Horizontal</enum>
84           </property>
85           <property name="sizeHint" stdset="0">
86            <size>
87             <width>0</width>
88             <height>20</height>
89            </size>
90           </property>
91          </spacer>
92         </item>
93         <item row="2" column="4">
94          <widget class="QSpinBox" name="spinBoxJobCount">
95           <property name="enabled">
96            <bool>false</bool>
97           </property>
98           <property name="minimumSize">
99            <size>
100             <width>80</width>
101             <height>0</height>
102            </size>
103           </property>
104           <property name="toolTip">
105            <string>If the specified number of jobs (or even more) is already running, the next one will NOT be launched yet.</string>
106           </property>
107           <property name="minimum">
108            <number>1</number>
109           </property>
110           <property name="maximum">
111            <number>16</number>
112           </property>
113          </widget>
114         </item>
115         <item row="6" column="1">
116          <widget class="QCheckBox" name="checkUse64BitAvs2YUV">
117           <property name="toolTip">
118            <string>If this option is un-checked (default), then 32-Bit Avisynth will be used - even when using 64-Bit x264.
119 Please be aware that this option does NOT have any effect on 32-Bit systems.</string>
120           </property>
121           <property name="text">
122            <string notr="true"/>
123           </property>
124          </widget>
125         </item>
126         <item row="3" column="1" colspan="5">
127          <spacer name="verticalSpacer">
128           <property name="orientation">
129            <enum>Qt::Vertical</enum>
130           </property>
131           <property name="sizeType">
132            <enum>QSizePolicy::Fixed</enum>
133           </property>
134           <property name="sizeHint" stdset="0">
135            <size>
136             <width>20</width>
137             <height>8</height>
138            </size>
139           </property>
140          </spacer>
141         </item>
142         <item row="12" column="1">
143          <widget class="QCheckBox" name="checkShutdownComputer">
144           <property name="text">
145            <string notr="true"/>
146           </property>
147          </widget>
148         </item>
149         <item row="12" column="2" colspan="4">
150          <widget class="QLabel" name="labelShutdownComputer">
151           <property name="text">
152            <string>Shutdown computer as soon as the last job has completed</string>
153           </property>
154          </widget>
155         </item>
156         <item row="0" column="1" colspan="5">
157          <spacer name="verticalSpacer_2">
158           <property name="orientation">
159            <enum>Qt::Vertical</enum>
160           </property>
161           <property name="sizeType">
162            <enum>QSizePolicy::Fixed</enum>
163           </property>
164           <property name="sizeHint" stdset="0">
165            <size>
166             <width>20</width>
167             <height>12</height>
168            </size>
169           </property>
170          </spacer>
171         </item>
172         <item row="17" column="1" colspan="5">
173          <spacer name="verticalSpacer_3">
174           <property name="orientation">
175            <enum>Qt::Vertical</enum>
176           </property>
177           <property name="sizeType">
178            <enum>QSizePolicy::Fixed</enum>
179           </property>
180           <property name="sizeHint" stdset="0">
181            <size>
182             <width>20</width>
183             <height>12</height>
184            </size>
185           </property>
186          </spacer>
187         </item>
188         <item row="6" column="2" colspan="4">
189          <widget class="QLabel" name="labelUse64BitAvs2YUV">
190           <property name="toolTip">
191            <string>If this option is un-checked (default), then 32-Bit Avisynth will be used - even when using 64-Bit x264.
192 Please be aware that this option does NOT have any effect on 32-Bit systems.</string>
193           </property>
194           <property name="text">
195            <string>Use 64-Bit Avisynth/Avs2YUV, if running on a 64-Bit machine</string>
196           </property>
197          </widget>
198         </item>
199         <item row="7" column="1" colspan="5">
200          <spacer name="verticalSpacer_4">
201           <property name="orientation">
202            <enum>Qt::Vertical</enum>
203           </property>
204           <property name="sizeType">
205            <enum>QSizePolicy::Fixed</enum>
206           </property>
207           <property name="sizeHint" stdset="0">
208            <size>
209             <width>20</width>
210             <height>8</height>
211            </size>
212           </property>
213          </spacer>
214         </item>
215         <item row="4" column="1">
216          <widget class="QCheckBox" name="checkUse10BitEncoding">
217           <property name="text">
218            <string notr="true"/>
219           </property>
220          </widget>
221         </item>
222         <item row="4" column="2" colspan="4">
223          <widget class="QLabel" name="labelUse10BitEncoding">
224           <property name="text">
225            <string>Use 10-Bit version of x264 â†’ implies 'High 10' H.264 Profile</string>
226           </property>
227          </widget>
228         </item>
229         <item row="5" column="1" colspan="5">
230          <spacer name="verticalSpacer_5">
231           <property name="orientation">
232            <enum>Qt::Vertical</enum>
233           </property>
234           <property name="sizeType">
235            <enum>QSizePolicy::Fixed</enum>
236           </property>
237           <property name="sizeHint" stdset="0">
238            <size>
239             <width>20</width>
240             <height>8</height>
241            </size>
242           </property>
243          </spacer>
244         </item>
245         <item row="8" column="1">
246          <widget class="QCheckBox" name="checkSaveLogFiles">
247           <property name="text">
248            <string/>
249           </property>
250          </widget>
251         </item>
252         <item row="8" column="2" colspan="4">
253          <widget class="QLabel" name="labelSaveLogFiles">
254           <property name="text">
255            <string>Automatically save output to log file when a job has finished</string>
256           </property>
257          </widget>
258         </item>
259         <item row="9" column="1" colspan="5">
260          <spacer name="verticalSpacer_6">
261           <property name="orientation">
262            <enum>Qt::Vertical</enum>
263           </property>
264           <property name="sizeType">
265            <enum>QSizePolicy::Fixed</enum>
266           </property>
267           <property name="sizeHint" stdset="0">
268            <size>
269             <width>20</width>
270             <height>8</height>
271            </size>
272           </property>
273          </spacer>
274         </item>
275         <item row="10" column="2" colspan="4">
276          <widget class="QLabel" name="labelSaveToSourceFolder">
277           <property name="text">
278            <string>Save output to the same folder where the source is located</string>
279           </property>
280          </widget>
281         </item>
282         <item row="11" column="1" colspan="5">
283          <spacer name="verticalSpacer_7">
284           <property name="orientation">
285            <enum>Qt::Vertical</enum>
286           </property>
287           <property name="sizeType">
288            <enum>QSizePolicy::Fixed</enum>
289           </property>
290           <property name="sizeHint" stdset="0">
291            <size>
292             <width>20</width>
293             <height>8</height>
294            </size>
295           </property>
296          </spacer>
297         </item>
298         <item row="10" column="1">
299          <widget class="QCheckBox" name="checkSaveToSourceFolder">
300           <property name="text">
301            <string/>
302           </property>
303          </widget>
304         </item>
305         <item row="14" column="4">
306          <widget class="QComboBox" name="comboBoxPriority">
307           <property name="editable">
308            <bool>false</bool>
309           </property>
310           <property name="frame">
311            <bool>true</bool>
312           </property>
313           <item>
314            <property name="text">
315             <string>Above Normal</string>
316            </property>
317           </item>
318           <item>
319            <property name="text">
320             <string>Normal</string>
321            </property>
322           </item>
323           <item>
324            <property name="text">
325             <string>Below Normal</string>
326            </property>
327           </item>
328           <item>
329            <property name="text">
330             <string>Idle</string>
331            </property>
332           </item>
333          </widget>
334         </item>
335         <item row="14" column="5">
336          <spacer name="horizontalSpacer_5">
337           <property name="orientation">
338            <enum>Qt::Horizontal</enum>
339           </property>
340           <property name="sizeHint" stdset="0">
341            <size>
342             <width>40</width>
343             <height>20</height>
344            </size>
345           </property>
346          </spacer>
347         </item>
348         <item row="14" column="2" colspan="2">
349          <widget class="QLabel" name="labelProcessPriority">
350           <property name="text">
351            <string>Priority for encoder processes:</string>
352           </property>
353          </widget>
354         </item>
355         <item row="16" column="1">
356          <widget class="QCheckBox" name="checkEnableSounds">
357           <property name="text">
358            <string/>
359           </property>
360          </widget>
361         </item>
362         <item row="16" column="2" colspan="4">
363          <widget class="QLabel" name="labelEnableSounds">
364           <property name="text">
365            <string>Enable sound effects when a job has completed or failed</string>
366           </property>
367          </widget>
368         </item>
369         <item row="15" column="1" colspan="5">
370          <spacer name="verticalSpacer_9">
371           <property name="orientation">
372            <enum>Qt::Vertical</enum>
373           </property>
374           <property name="sizeType">
375            <enum>QSizePolicy::Fixed</enum>
376           </property>
377           <property name="sizeHint" stdset="0">
378            <size>
379             <width>20</width>
380             <height>8</height>
381            </size>
382           </property>
383          </spacer>
384         </item>
385         <item row="1" column="0" rowspan="16">
386          <spacer name="horizontalSpacer_2">
387           <property name="orientation">
388            <enum>Qt::Horizontal</enum>
389           </property>
390           <property name="sizeType">
391            <enum>QSizePolicy::Fixed</enum>
392           </property>
393           <property name="sizeHint" stdset="0">
394            <size>
395             <width>8</width>
396             <height>20</height>
397            </size>
398           </property>
399          </spacer>
400         </item>
401         <item row="1" column="6" rowspan="16">
402          <spacer name="horizontalSpacer_3">
403           <property name="orientation">
404            <enum>Qt::Horizontal</enum>
405           </property>
406           <property name="sizeType">
407            <enum>QSizePolicy::Fixed</enum>
408           </property>
409           <property name="sizeHint" stdset="0">
410            <size>
411             <width>12</width>
412             <height>20</height>
413            </size>
414           </property>
415          </spacer>
416         </item>
417        </layout>
418       </item>
419      </layout>
420     </widget>
421    </item>
422    <item>
423     <layout class="QHBoxLayout" name="horizontalLayout">
424      <item>
425       <spacer name="horizontalSpacer">
426        <property name="orientation">
427         <enum>Qt::Horizontal</enum>
428        </property>
429        <property name="sizeHint" stdset="0">
430         <size>
431          <width>40</width>
432          <height>20</height>
433         </size>
434        </property>
435       </spacer>
436      </item>
437      <item>
438       <widget class="QPushButton" name="resetButton">
439        <property name="minimumSize">
440         <size>
441          <width>100</width>
442          <height>0</height>
443         </size>
444        </property>
445        <property name="text">
446         <string>Reset</string>
447        </property>
448        <property name="icon">
449         <iconset resource="../res/resources.qrc">
450          <normaloff>:/buttons/bomb.png</normaloff>:/buttons/bomb.png</iconset>
451        </property>
452       </widget>
453      </item>
454      <item>
455       <widget class="QPushButton" name="closeButton">
456        <property name="minimumSize">
457         <size>
458          <width>100</width>
459          <height>0</height>
460         </size>
461        </property>
462        <property name="text">
463         <string>Apply</string>
464        </property>
465        <property name="icon">
466         <iconset resource="../res/resources.qrc">
467          <normaloff>:/buttons/accept.png</normaloff>:/buttons/accept.png</iconset>
468        </property>
469       </widget>
470      </item>
471     </layout>
472    </item>
473   </layout>
474  </widget>
475  <tabstops>
476   <tabstop>closeButton</tabstop>
477   <tabstop>resetButton</tabstop>
478   <tabstop>checkRunNextJob</tabstop>
479   <tabstop>spinBoxJobCount</tabstop>
480   <tabstop>checkUse64BitAvs2YUV</tabstop>
481   <tabstop>checkShutdownComputer</tabstop>
482  </tabstops>
483  <resources>
484   <include location="../res/resources.qrc"/>
485  </resources>
486  <connections>
487   <connection>
488    <sender>closeButton</sender>
489    <signal>clicked()</signal>
490    <receiver>PreferencesDialog</receiver>
491    <slot>accept()</slot>
492    <hints>
493     <hint type="sourcelabel">
494      <x>339</x>
495      <y>157</y>
496     </hint>
497     <hint type="destinationlabel">
498      <x>199</x>
499      <y>89</y>
500     </hint>
501    </hints>
502   </connection>
503   <connection>
504    <sender>checkRunNextJob</sender>
505    <signal>clicked(bool)</signal>
506    <receiver>spinBoxJobCount</receiver>
507    <slot>setEnabled(bool)</slot>
508    <hints>
509     <hint type="sourcelabel">
510      <x>188</x>
511      <y>55</y>
512     </hint>
513     <hint type="destinationlabel">
514      <x>294</x>
515      <y>93</y>
516     </hint>
517    </hints>
518   </connection>
519   <connection>
520    <sender>checkRunNextJob</sender>
521    <signal>clicked(bool)</signal>
522    <receiver>labelJobCount</receiver>
523    <slot>setEnabled(bool)</slot>
524    <hints>
525     <hint type="sourcelabel">
526      <x>188</x>
527      <y>55</y>
528     </hint>
529     <hint type="destinationlabel">
530      <x>136</x>
531      <y>93</y>
532     </hint>
533    </hints>
534   </connection>
535  </connections>
536 </ui>