]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
fcf8345cc166d6024794b0ff631728ff8af1ed59
[vlc] / modules / gui / qt4 / ui / sprefs_audio.ui
1 <ui version="4.0" >
2  <author>Jean-Baptiste Kempf</author>
3  <class>SPrefsAudio</class>
4  <widget class="QWidget" name="SPrefsAudio" >
5   <property name="geometry" >
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>550</width>
10     <height>732</height>
11    </rect>
12   </property>
13   <property name="windowTitle" >
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" >
17    <item>
18     <widget class="QCheckBox" name="enableAudio" >
19      <property name="text" >
20       <string>_("Enable audio")</string>
21      </property>
22      <property name="checked" >
23       <bool>true</bool>
24      </property>
25     </widget>
26    </item>
27    <item>
28     <widget class="QGroupBox" name="groupBox_3" >
29      <property name="title" >
30       <string>_("General Audio")</string>
31      </property>
32      <layout class="QGridLayout" >
33       <item row="0" column="0" colspan="2" >
34        <widget class="QLabel" name="label_2" >
35         <property name="text" >
36          <string>_("Default volume")</string>
37         </property>
38        </widget>
39       </item>
40       <item row="0" column="2" >
41        <widget class="QSlider" name="defaultVolume" >
42         <property name="sizePolicy" >
43          <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
44           <horstretch>0</horstretch>
45           <verstretch>0</verstretch>
46          </sizepolicy>
47         </property>
48         <property name="minimumSize" >
49          <size>
50           <width>140</width>
51           <height>0</height>
52          </size>
53         </property>
54         <property name="maximumSize" >
55          <size>
56           <width>200</width>
57           <height>16777215</height>
58          </size>
59         </property>
60         <property name="layoutDirection" >
61          <enum>Qt::LeftToRight</enum>
62         </property>
63         <property name="maximum" >
64          <number>400</number>
65         </property>
66         <property name="value" >
67          <number>100</number>
68         </property>
69         <property name="orientation" >
70          <enum>Qt::Horizontal</enum>
71         </property>
72        </widget>
73       </item>
74       <item row="0" column="3" >
75        <widget class="QSpinBox" name="volumeValue" >
76         <property name="toolTip" >
77          <string>_("256 corresponds to 100%, 1024 to 400%")</string>
78         </property>
79         <property name="alignment" >
80          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
81         </property>
82         <property name="readOnly" >
83          <bool>true</bool>
84         </property>
85         <property name="suffix" >
86          <string> %</string>
87         </property>
88         <property name="maximum" >
89          <number>400</number>
90         </property>
91         <property name="value" >
92          <number>100</number>
93         </property>
94        </widget>
95       </item>
96       <item row="1" column="0" >
97        <widget class="QCheckBox" name="spdifBox" >
98         <property name="text" >
99          <string>_("Use S/PDIF when available")</string>
100         </property>
101        </widget>
102       </item>
103       <item row="1" column="1" colspan="3" >
104        <widget class="QCheckBox" name="saveVolBox" >
105         <property name="text" >
106          <string>_("Save volume on exit")</string>
107         </property>
108        </widget>
109       </item>
110       <item row="2" column="0" >
111        <widget class="QLabel" name="label_8" >
112         <property name="text" >
113          <string>_("Force detection of Dolby Surround")</string>
114         </property>
115         <property name="buddy" >
116          <cstring>detectionDolby</cstring>
117         </property>
118        </widget>
119       </item>
120       <item row="2" column="1" colspan="3" >
121        <widget class="QComboBox" name="detectionDolby" >
122         <property name="sizePolicy" >
123          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
124           <horstretch>0</horstretch>
125           <verstretch>0</verstretch>
126          </sizepolicy>
127         </property>
128         <property name="maximumSize" >
129          <size>
130           <width>300</width>
131           <height>16777215</height>
132          </size>
133         </property>
134         <property name="currentIndex" >
135          <number>-1</number>
136         </property>
137        </widget>
138       </item>
139       <item row="3" column="0" >
140        <widget class="QLabel" name="label" >
141         <property name="text" >
142          <string>_("Preferred audio language")</string>
143         </property>
144         <property name="buddy" >
145          <cstring>preferredAudioLanguage</cstring>
146         </property>
147        </widget>
148       </item>
149       <item row="3" column="1" colspan="3" >
150        <widget class="QLineEdit" name="preferredAudioLanguage" />
151       </item>
152      </layout>
153     </widget>
154    </item>
155    <item>
156     <widget class="QGroupBox" name="groupBox_2" >
157      <property name="title" >
158       <string>Output</string>
159      </property>
160      <layout class="QGridLayout" >
161       <item row="0" column="0" >
162        <widget class="QLabel" name="label_3" >
163         <property name="minimumSize" >
164          <size>
165           <width>100</width>
166           <height>0</height>
167          </size>
168         </property>
169         <property name="text" >
170          <string>_("Type")</string>
171         </property>
172         <property name="buddy" >
173          <cstring>outputModule</cstring>
174         </property>
175        </widget>
176       </item>
177       <item row="0" column="1" >
178        <widget class="QComboBox" name="outputModule" >
179         <property name="sizePolicy" >
180          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
181           <horstretch>0</horstretch>
182           <verstretch>0</verstretch>
183          </sizepolicy>
184         </property>
185        </widget>
186       </item>
187       <item row="1" column="0" colspan="2" >
188        <widget class="QWidget" native="1" name="alsaControl" >
189         <layout class="QHBoxLayout" >
190          <item>
191           <widget class="QLabel" name="alsaLabel" >
192            <property name="minimumSize" >
193             <size>
194              <width>100</width>
195              <height>0</height>
196             </size>
197            </property>
198            <property name="text" >
199             <string>_("Device")</string>
200            </property>
201            <property name="buddy" >
202             <cstring>alsaDevice</cstring>
203            </property>
204           </widget>
205          </item>
206          <item>
207           <widget class="QComboBox" name="alsaDevice" >
208            <property name="sizePolicy" >
209             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
210              <horstretch>0</horstretch>
211              <verstretch>0</verstretch>
212             </sizepolicy>
213            </property>
214           </widget>
215          </item>
216         </layout>
217        </widget>
218       </item>
219       <item row="2" column="0" colspan="2" >
220        <widget class="QWidget" native="1" name="DirectXControl" >
221         <layout class="QHBoxLayout" >
222          <item>
223           <widget class="QLabel" name="DirectXLabel" >
224            <property name="sizePolicy" >
225             <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
226              <horstretch>0</horstretch>
227              <verstretch>0</verstretch>
228             </sizepolicy>
229            </property>
230            <property name="minimumSize" >
231             <size>
232              <width>100</width>
233              <height>0</height>
234             </size>
235            </property>
236            <property name="text" >
237             <string>_("Device")</string>
238            </property>
239            <property name="buddy" >
240             <cstring>DirectXDevice</cstring>
241            </property>
242           </widget>
243          </item>
244          <item>
245           <widget class="QComboBox" name="DirectXDevice" >
246            <property name="sizePolicy" >
247             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
248              <horstretch>0</horstretch>
249              <verstretch>0</verstretch>
250             </sizepolicy>
251            </property>
252           </widget>
253          </item>
254         </layout>
255        </widget>
256       </item>
257       <item row="3" column="0" colspan="2" >
258        <widget class="QWidget" native="1" name="OSSControl" >
259         <layout class="QHBoxLayout" >
260          <item>
261           <widget class="QLabel" name="OSSLabel" >
262            <property name="minimumSize" >
263             <size>
264              <width>100</width>
265              <height>0</height>
266             </size>
267            </property>
268            <property name="text" >
269             <string>_("Device")</string>
270            </property>
271            <property name="buddy" >
272             <cstring>OSSDevice</cstring>
273            </property>
274           </widget>
275          </item>
276          <item>
277           <widget class="QLineEdit" name="OSSDevice" />
278          </item>
279          <item>
280           <widget class="QPushButton" name="OSSBrowse" >
281            <property name="text" >
282             <string>_("Browse...")</string>
283            </property>
284           </widget>
285          </item>
286         </layout>
287        </widget>
288       </item>
289       <item row="4" column="0" colspan="2" >
290        <widget class="QWidget" native="1" name="fileControl" >
291         <layout class="QHBoxLayout" >
292          <item>
293           <widget class="QLabel" name="fileLabel" >
294            <property name="minimumSize" >
295             <size>
296              <width>100</width>
297              <height>0</height>
298             </size>
299            </property>
300            <property name="text" >
301             <string>_("File")</string>
302            </property>
303            <property name="buddy" >
304             <cstring>fileName</cstring>
305            </property>
306           </widget>
307          </item>
308          <item>
309           <widget class="QLineEdit" name="fileName" />
310          </item>
311          <item>
312           <widget class="QPushButton" name="fileBrowseButton" >
313            <property name="text" >
314             <string>_("Browse...")</string>
315            </property>
316           </widget>
317          </item>
318         </layout>
319        </widget>
320       </item>
321      </layout>
322     </widget>
323    </item>
324    <item>
325     <widget class="QGroupBox" name="groupBox" >
326      <property name="title" >
327       <string>_("Effects")</string>
328      </property>
329      <layout class="QGridLayout" >
330       <item row="2" column="1" >
331        <widget class="QComboBox" name="visualisation" />
332       </item>
333       <item row="0" column="0" >
334        <widget class="QCheckBox" name="headphoneEffect" >
335         <property name="text" >
336          <string>_("Headphone surround effect")</string>
337         </property>
338        </widget>
339       </item>
340       <item row="1" column="0" >
341        <widget class="QCheckBox" name="volNormBox" >
342         <property name="text" >
343          <string>_("Volume normalizer")</string>
344         </property>
345        </widget>
346       </item>
347       <item row="2" column="0" >
348        <widget class="QLabel" name="label_5" >
349         <property name="text" >
350          <string>_("Visualization")</string>
351         </property>
352         <property name="buddy" >
353          <cstring>visualisation</cstring>
354         </property>
355        </widget>
356       </item>
357       <item row="1" column="1" >
358        <widget class="QDoubleSpinBox" name="volNormSpin" >
359         <property name="alignment" >
360          <set>Qt::AlignRight</set>
361         </property>
362        </widget>
363       </item>
364      </layout>
365     </widget>
366    </item>
367    <item>
368     <widget class="QGroupBox" name="groupBox_4" >
369      <property name="title" >
370       <string>_("Last.fm")</string>
371      </property>
372      <layout class="QGridLayout" >
373       <item row="0" column="0" colspan="2" >
374        <widget class="QCheckBox" name="lastfm" >
375         <property name="text" >
376          <string>_("Enable last.fm submission")</string>
377         </property>
378        </widget>
379       </item>
380       <item row="1" column="1" colspan="2" >
381        <widget class="QLineEdit" name="lastfm_user_edit" />
382       </item>
383       <item row="1" column="0" >
384        <widget class="QLabel" name="lastfm_user_label" >
385         <property name="text" >
386          <string>_("Username")</string>
387         </property>
388         <property name="buddy" >
389          <cstring>lastfm_user_edit</cstring>
390         </property>
391        </widget>
392       </item>
393       <item row="2" column="0" >
394        <widget class="QLabel" name="lastfm_pass_label" >
395         <property name="text" >
396          <string>_("Password")</string>
397         </property>
398         <property name="buddy" >
399          <cstring>lastfm_pass_edit</cstring>
400         </property>
401        </widget>
402       </item>
403       <item row="2" column="1" colspan="2" >
404        <widget class="QLineEdit" name="lastfm_pass_edit" >
405         <property name="echoMode" >
406          <enum>QLineEdit::PasswordEchoOnEdit</enum>
407         </property>
408        </widget>
409       </item>
410      </layout>
411     </widget>
412    </item>
413   </layout>
414  </widget>
415  <tabstops>
416   <tabstop>enableAudio</tabstop>
417   <tabstop>defaultVolume</tabstop>
418   <tabstop>volumeValue</tabstop>
419   <tabstop>spdifBox</tabstop>
420   <tabstop>saveVolBox</tabstop>
421   <tabstop>detectionDolby</tabstop>
422   <tabstop>preferredAudioLanguage</tabstop>
423   <tabstop>outputModule</tabstop>
424   <tabstop>alsaDevice</tabstop>
425   <tabstop>DirectXDevice</tabstop>
426   <tabstop>OSSDevice</tabstop>
427   <tabstop>OSSBrowse</tabstop>
428   <tabstop>fileName</tabstop>
429   <tabstop>fileBrowseButton</tabstop>
430   <tabstop>headphoneEffect</tabstop>
431   <tabstop>volNormBox</tabstop>
432   <tabstop>volNormSpin</tabstop>
433   <tabstop>visualisation</tabstop>
434   <tabstop>lastfm</tabstop>
435   <tabstop>lastfm_user_edit</tabstop>
436   <tabstop>lastfm_pass_edit</tabstop>
437  </tabstops>
438  <resources/>
439  <connections>
440   <connection>
441    <sender>lastfm</sender>
442    <signal>toggled(bool)</signal>
443    <receiver>lastfm_pass_edit</receiver>
444    <slot>setVisible(bool)</slot>
445    <hints>
446     <hint type="sourcelabel" >
447      <x>188</x>
448      <y>619</y>
449     </hint>
450     <hint type="destinationlabel" >
451      <x>360</x>
452      <y>689</y>
453     </hint>
454    </hints>
455   </connection>
456   <connection>
457    <sender>lastfm</sender>
458    <signal>toggled(bool)</signal>
459    <receiver>lastfm_pass_label</receiver>
460    <slot>setVisible(bool)</slot>
461    <hints>
462     <hint type="sourcelabel" >
463      <x>188</x>
464      <y>619</y>
465     </hint>
466     <hint type="destinationlabel" >
467      <x>102</x>
468      <y>689</y>
469     </hint>
470    </hints>
471   </connection>
472   <connection>
473    <sender>lastfm</sender>
474    <signal>toggled(bool)</signal>
475    <receiver>lastfm_user_edit</receiver>
476    <slot>setVisible(bool)</slot>
477    <hints>
478     <hint type="sourcelabel" >
479      <x>188</x>
480      <y>619</y>
481     </hint>
482     <hint type="destinationlabel" >
483      <x>360</x>
484      <y>653</y>
485     </hint>
486    </hints>
487   </connection>
488   <connection>
489    <sender>lastfm</sender>
490    <signal>toggled(bool)</signal>
491    <receiver>lastfm_user_label</receiver>
492    <slot>setVisible(bool)</slot>
493    <hints>
494     <hint type="sourcelabel" >
495      <x>188</x>
496      <y>619</y>
497     </hint>
498     <hint type="destinationlabel" >
499      <x>102</x>
500      <y>653</y>
501     </hint>
502    </hints>
503   </connection>
504  </connections>
505 </ui>