OSDN Git Service

Added an option to save the output file to the same folder where the source is locate...
[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>325</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="2" column="2" colspan="2">
38          <widget class="QLabel" name="labelJobCount">
39           <property name="enabled">
40            <bool>false</bool>
41           </property>
42           <property name="toolTip">
43            <string>If the specified number of jobs (or even more) is already running, the next one will NOT be launched yet.</string>
44           </property>
45           <property name="text">
46            <string>Maximum number of running jobs:</string>
47           </property>
48          </widget>
49         </item>
50         <item row="1" column="0" rowspan="12">
51          <spacer name="horizontalSpacer_2">
52           <property name="orientation">
53            <enum>Qt::Horizontal</enum>
54           </property>
55           <property name="sizeType">
56            <enum>QSizePolicy::Fixed</enum>
57           </property>
58           <property name="sizeHint" stdset="0">
59            <size>
60             <width>8</width>
61             <height>20</height>
62            </size>
63           </property>
64          </spacer>
65         </item>
66         <item row="1" column="6" rowspan="12">
67          <spacer name="horizontalSpacer_3">
68           <property name="orientation">
69            <enum>Qt::Horizontal</enum>
70           </property>
71           <property name="sizeType">
72            <enum>QSizePolicy::Fixed</enum>
73           </property>
74           <property name="sizeHint" stdset="0">
75            <size>
76             <width>12</width>
77             <height>20</height>
78            </size>
79           </property>
80          </spacer>
81         </item>
82         <item row="1" column="2" colspan="4">
83          <widget class="QLabel" name="labelRunNextJob">
84           <property name="text">
85            <string>Automatically launch next job when a running job completes</string>
86           </property>
87          </widget>
88         </item>
89         <item row="1" column="1">
90          <widget class="QCheckBox" name="checkRunNextJob">
91           <property name="text">
92            <string notr="true"/>
93           </property>
94          </widget>
95         </item>
96         <item row="2" column="5">
97          <spacer name="horizontalSpacer_4">
98           <property name="orientation">
99            <enum>Qt::Horizontal</enum>
100           </property>
101           <property name="sizeHint" stdset="0">
102            <size>
103             <width>0</width>
104             <height>20</height>
105            </size>
106           </property>
107          </spacer>
108         </item>
109         <item row="2" column="4">
110          <widget class="QSpinBox" name="spinBoxJobCount">
111           <property name="enabled">
112            <bool>false</bool>
113           </property>
114           <property name="minimumSize">
115            <size>
116             <width>80</width>
117             <height>0</height>
118            </size>
119           </property>
120           <property name="toolTip">
121            <string>If the specified number of jobs (or even more) is already running, the next one will NOT be launched yet.</string>
122           </property>
123           <property name="minimum">
124            <number>1</number>
125           </property>
126           <property name="maximum">
127            <number>16</number>
128           </property>
129          </widget>
130         </item>
131         <item row="6" column="1">
132          <widget class="QCheckBox" name="checkUse64BitAvs2YUV">
133           <property name="toolTip">
134            <string>If this option is un-checked (default), then 32-Bit Avisynth will be used - even when using 64-Bit x264.
135 Please be aware that this option does NOT have any effect on 32-Bit systems.</string>
136           </property>
137           <property name="text">
138            <string notr="true"/>
139           </property>
140          </widget>
141         </item>
142         <item row="3" column="1" colspan="5">
143          <spacer name="verticalSpacer">
144           <property name="orientation">
145            <enum>Qt::Vertical</enum>
146           </property>
147           <property name="sizeType">
148            <enum>QSizePolicy::Fixed</enum>
149           </property>
150           <property name="sizeHint" stdset="0">
151            <size>
152             <width>20</width>
153             <height>8</height>
154            </size>
155           </property>
156          </spacer>
157         </item>
158         <item row="12" column="1">
159          <widget class="QCheckBox" name="checkShutdownComputer">
160           <property name="text">
161            <string notr="true"/>
162           </property>
163          </widget>
164         </item>
165         <item row="12" column="2" colspan="4">
166          <widget class="QLabel" name="labelShutdownComputer">
167           <property name="text">
168            <string>Shutdown computer as soon as the last job has completed</string>
169           </property>
170          </widget>
171         </item>
172         <item row="0" column="1" colspan="5">
173          <spacer name="verticalSpacer_2">
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="13" column="1" colspan="5">
189          <spacer name="verticalSpacer_3">
190           <property name="orientation">
191            <enum>Qt::Vertical</enum>
192           </property>
193           <property name="sizeType">
194            <enum>QSizePolicy::Fixed</enum>
195           </property>
196           <property name="sizeHint" stdset="0">
197            <size>
198             <width>20</width>
199             <height>12</height>
200            </size>
201           </property>
202          </spacer>
203         </item>
204         <item row="6" column="2" colspan="4">
205          <widget class="QLabel" name="labelUse64BitAvs2YUV">
206           <property name="toolTip">
207            <string>If this option is un-checked (default), then 32-Bit Avisynth will be used - even when using 64-Bit x264.
208 Please be aware that this option does NOT have any effect on 32-Bit systems.</string>
209           </property>
210           <property name="text">
211            <string>Use 64-Bit Avisynth/Avs2YUV, if running on a 64-Bit machine</string>
212           </property>
213          </widget>
214         </item>
215         <item row="7" column="1" colspan="5">
216          <spacer name="verticalSpacer_4">
217           <property name="orientation">
218            <enum>Qt::Vertical</enum>
219           </property>
220           <property name="sizeType">
221            <enum>QSizePolicy::Fixed</enum>
222           </property>
223           <property name="sizeHint" stdset="0">
224            <size>
225             <width>20</width>
226             <height>8</height>
227            </size>
228           </property>
229          </spacer>
230         </item>
231         <item row="4" column="1">
232          <widget class="QCheckBox" name="checkUse10BitEncoding">
233           <property name="text">
234            <string notr="true"/>
235           </property>
236          </widget>
237         </item>
238         <item row="4" column="2" colspan="4">
239          <widget class="QLabel" name="labelUse10BitEncoding">
240           <property name="text">
241            <string>Use 10-Bit version of x264 → implies 'High 10' H.264 Profile</string>
242           </property>
243          </widget>
244         </item>
245         <item row="5" column="1" colspan="5">
246          <spacer name="verticalSpacer_5">
247           <property name="orientation">
248            <enum>Qt::Vertical</enum>
249           </property>
250           <property name="sizeType">
251            <enum>QSizePolicy::Fixed</enum>
252           </property>
253           <property name="sizeHint" stdset="0">
254            <size>
255             <width>20</width>
256             <height>8</height>
257            </size>
258           </property>
259          </spacer>
260         </item>
261         <item row="8" column="1">
262          <widget class="QCheckBox" name="checkSaveLogFiles">
263           <property name="text">
264            <string/>
265           </property>
266          </widget>
267         </item>
268         <item row="8" column="2" colspan="4">
269          <widget class="QLabel" name="labelSaveLogFiles">
270           <property name="text">
271            <string>Automatically save output to log file when a job has finished</string>
272           </property>
273          </widget>
274         </item>
275         <item row="9" column="1" colspan="5">
276          <spacer name="verticalSpacer_6">
277           <property name="orientation">
278            <enum>Qt::Vertical</enum>
279           </property>
280           <property name="sizeType">
281            <enum>QSizePolicy::Fixed</enum>
282           </property>
283           <property name="sizeHint" stdset="0">
284            <size>
285             <width>20</width>
286             <height>8</height>
287            </size>
288           </property>
289          </spacer>
290         </item>
291         <item row="10" column="2" colspan="4">
292          <widget class="QLabel" name="labelSaveToSourceFolder">
293           <property name="text">
294            <string>Save output to the same folder where the source is located</string>
295           </property>
296          </widget>
297         </item>
298         <item row="11" column="1" colspan="5">
299          <spacer name="verticalSpacer_7">
300           <property name="orientation">
301            <enum>Qt::Vertical</enum>
302           </property>
303           <property name="sizeType">
304            <enum>QSizePolicy::Fixed</enum>
305           </property>
306           <property name="sizeHint" stdset="0">
307            <size>
308             <width>20</width>
309             <height>8</height>
310            </size>
311           </property>
312          </spacer>
313         </item>
314         <item row="10" column="1">
315          <widget class="QCheckBox" name="checkSaveToSourceFolder">
316           <property name="text">
317            <string/>
318           </property>
319          </widget>
320         </item>
321        </layout>
322       </item>
323      </layout>
324     </widget>
325    </item>
326    <item>
327     <layout class="QHBoxLayout" name="horizontalLayout">
328      <item>
329       <spacer name="horizontalSpacer">
330        <property name="orientation">
331         <enum>Qt::Horizontal</enum>
332        </property>
333        <property name="sizeHint" stdset="0">
334         <size>
335          <width>40</width>
336          <height>20</height>
337         </size>
338        </property>
339       </spacer>
340      </item>
341      <item>
342       <widget class="QPushButton" name="resetButton">
343        <property name="minimumSize">
344         <size>
345          <width>100</width>
346          <height>0</height>
347         </size>
348        </property>
349        <property name="text">
350         <string>Reset</string>
351        </property>
352        <property name="icon">
353         <iconset resource="../res/resources.qrc">
354          <normaloff>:/buttons/bomb.png</normaloff>:/buttons/bomb.png</iconset>
355        </property>
356       </widget>
357      </item>
358      <item>
359       <widget class="QPushButton" name="closeButton">
360        <property name="minimumSize">
361         <size>
362          <width>100</width>
363          <height>0</height>
364         </size>
365        </property>
366        <property name="text">
367         <string>Apply</string>
368        </property>
369        <property name="icon">
370         <iconset resource="../res/resources.qrc">
371          <normaloff>:/buttons/accept.png</normaloff>:/buttons/accept.png</iconset>
372        </property>
373       </widget>
374      </item>
375     </layout>
376    </item>
377   </layout>
378  </widget>
379  <tabstops>
380   <tabstop>closeButton</tabstop>
381   <tabstop>resetButton</tabstop>
382   <tabstop>checkRunNextJob</tabstop>
383   <tabstop>spinBoxJobCount</tabstop>
384   <tabstop>checkUse64BitAvs2YUV</tabstop>
385   <tabstop>checkShutdownComputer</tabstop>
386  </tabstops>
387  <resources>
388   <include location="../res/resources.qrc"/>
389  </resources>
390  <connections>
391   <connection>
392    <sender>closeButton</sender>
393    <signal>clicked()</signal>
394    <receiver>PreferencesDialog</receiver>
395    <slot>accept()</slot>
396    <hints>
397     <hint type="sourcelabel">
398      <x>339</x>
399      <y>157</y>
400     </hint>
401     <hint type="destinationlabel">
402      <x>199</x>
403      <y>89</y>
404     </hint>
405    </hints>
406   </connection>
407   <connection>
408    <sender>checkRunNextJob</sender>
409    <signal>clicked(bool)</signal>
410    <receiver>spinBoxJobCount</receiver>
411    <slot>setEnabled(bool)</slot>
412    <hints>
413     <hint type="sourcelabel">
414      <x>188</x>
415      <y>55</y>
416     </hint>
417     <hint type="destinationlabel">
418      <x>294</x>
419      <y>93</y>
420     </hint>
421    </hints>
422   </connection>
423   <connection>
424    <sender>checkRunNextJob</sender>
425    <signal>clicked(bool)</signal>
426    <receiver>labelJobCount</receiver>
427    <slot>setEnabled(bool)</slot>
428    <hints>
429     <hint type="sourcelabel">
430      <x>188</x>
431      <y>55</y>
432     </hint>
433     <hint type="destinationlabel">
434      <x>136</x>
435      <y>93</y>
436     </hint>
437    </hints>
438   </connection>
439  </connections>
440 </ui>