]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
796c5b87305454dae5e198a29623dec3cc9b1b7c
[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>725</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" colspan="4" >
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="2" column="0" >
104        <widget class="QLabel" name="label_8" >
105         <property name="text" >
106          <string>_("Force detection of Dolby Surround")</string>
107         </property>
108        </widget>
109       </item>
110       <item row="2" column="1" colspan="3" >
111        <widget class="QComboBox" name="detectionDolby" >
112         <property name="sizePolicy" >
113          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
114           <horstretch>0</horstretch>
115           <verstretch>0</verstretch>
116          </sizepolicy>
117         </property>
118         <property name="maximumSize" >
119          <size>
120           <width>300</width>
121           <height>16777215</height>
122          </size>
123         </property>
124         <property name="currentIndex" >
125          <number>-1</number>
126         </property>
127        </widget>
128       </item>
129       <item row="3" column="0" >
130        <widget class="QLabel" name="label" >
131         <property name="text" >
132          <string>_("Preferred audio language")</string>
133         </property>
134        </widget>
135       </item>
136       <item row="3" column="1" colspan="3" >
137        <widget class="QLineEdit" name="preferredAudioLanguage" />
138       </item>
139      </layout>
140     </widget>
141    </item>
142    <item>
143     <widget class="QGroupBox" name="groupBox_2" >
144      <property name="title" >
145       <string>Output</string>
146      </property>
147      <layout class="QGridLayout" >
148       <item row="0" column="0" >
149        <widget class="QLabel" name="label_3" >
150         <property name="minimumSize" >
151          <size>
152           <width>100</width>
153           <height>0</height>
154          </size>
155         </property>
156         <property name="text" >
157          <string>_("Type")</string>
158         </property>
159        </widget>
160       </item>
161       <item row="0" column="1" >
162        <widget class="QComboBox" name="outputModule" >
163         <property name="sizePolicy" >
164          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
165           <horstretch>0</horstretch>
166           <verstretch>0</verstretch>
167          </sizepolicy>
168         </property>
169        </widget>
170       </item>
171       <item row="1" column="0" colspan="2" >
172        <widget class="QWidget" native="1" name="alsaControl" >
173         <layout class="QHBoxLayout" >
174          <item>
175           <widget class="QLabel" name="alsaLabel" >
176            <property name="minimumSize" >
177             <size>
178              <width>100</width>
179              <height>0</height>
180             </size>
181            </property>
182            <property name="text" >
183             <string>_("Device")</string>
184            </property>
185           </widget>
186          </item>
187          <item>
188           <widget class="QComboBox" name="alsaDevice" >
189            <property name="sizePolicy" >
190             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
191              <horstretch>0</horstretch>
192              <verstretch>0</verstretch>
193             </sizepolicy>
194            </property>
195           </widget>
196          </item>
197         </layout>
198        </widget>
199       </item>
200       <item row="2" column="0" colspan="2" >
201        <widget class="QWidget" native="1" name="DirectXControl" >
202         <layout class="QHBoxLayout" >
203          <item>
204           <widget class="QLabel" name="DirectXLabel" >
205            <property name="sizePolicy" >
206             <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
207              <horstretch>0</horstretch>
208              <verstretch>0</verstretch>
209             </sizepolicy>
210            </property>
211            <property name="minimumSize" >
212             <size>
213              <width>100</width>
214              <height>0</height>
215             </size>
216            </property>
217            <property name="text" >
218             <string>_("Device")</string>
219            </property>
220           </widget>
221          </item>
222          <item>
223           <widget class="QComboBox" name="DirectXDevice" >
224            <property name="sizePolicy" >
225             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
226              <horstretch>0</horstretch>
227              <verstretch>0</verstretch>
228             </sizepolicy>
229            </property>
230           </widget>
231          </item>
232         </layout>
233        </widget>
234       </item>
235       <item row="3" column="0" colspan="2" >
236        <widget class="QWidget" native="1" name="OSSControl" >
237         <layout class="QHBoxLayout" >
238          <item>
239           <widget class="QLabel" name="OSSLabel" >
240            <property name="minimumSize" >
241             <size>
242              <width>100</width>
243              <height>0</height>
244             </size>
245            </property>
246            <property name="text" >
247             <string>_("Device")</string>
248            </property>
249           </widget>
250          </item>
251          <item>
252           <widget class="QLineEdit" name="OSSDevice" />
253          </item>
254          <item>
255           <widget class="QPushButton" name="OSSBrowse" >
256            <property name="text" >
257             <string>_("Browse...")</string>
258            </property>
259           </widget>
260          </item>
261         </layout>
262        </widget>
263       </item>
264       <item row="4" column="0" colspan="2" >
265        <widget class="QWidget" native="1" name="fileControl" >
266         <layout class="QHBoxLayout" >
267          <item>
268           <widget class="QLabel" name="fileLabel" >
269            <property name="minimumSize" >
270             <size>
271              <width>100</width>
272              <height>0</height>
273             </size>
274            </property>
275            <property name="text" >
276             <string>_("File")</string>
277            </property>
278           </widget>
279          </item>
280          <item>
281           <widget class="QLineEdit" name="fileName" />
282          </item>
283          <item>
284           <widget class="QPushButton" name="fileBrowseButton" >
285            <property name="text" >
286             <string>_("Browse...")</string>
287            </property>
288           </widget>
289          </item>
290         </layout>
291        </widget>
292       </item>
293      </layout>
294     </widget>
295    </item>
296    <item>
297     <widget class="QGroupBox" name="groupBox" >
298      <property name="title" >
299       <string>_("Effects")</string>
300      </property>
301      <layout class="QGridLayout" >
302       <item row="2" column="1" >
303        <widget class="QComboBox" name="visualisation" />
304       </item>
305       <item row="0" column="0" >
306        <widget class="QCheckBox" name="headphoneEffect" >
307         <property name="text" >
308          <string>_("Headphone surround effect")</string>
309         </property>
310        </widget>
311       </item>
312       <item row="1" column="0" >
313        <widget class="QCheckBox" name="volNormBox" >
314         <property name="text" >
315          <string>_("Volume normalizer")</string>
316         </property>
317        </widget>
318       </item>
319       <item row="2" column="0" >
320        <widget class="QLabel" name="label_5" >
321         <property name="text" >
322          <string>_("Visualization")</string>
323         </property>
324        </widget>
325       </item>
326       <item row="1" column="1" >
327        <widget class="QDoubleSpinBox" name="volNormSpin" >
328         <property name="alignment" >
329          <set>Qt::AlignRight</set>
330         </property>
331        </widget>
332       </item>
333      </layout>
334     </widget>
335    </item>
336    <item>
337     <widget class="QGroupBox" name="groupBox_4" >
338      <property name="title" >
339       <string>_("Last.fm")</string>
340      </property>
341      <layout class="QGridLayout" >
342       <item row="0" column="0" colspan="2" >
343        <widget class="QCheckBox" name="lastfm" >
344         <property name="text" >
345          <string>_("Enable last.fm submission")</string>
346         </property>
347        </widget>
348       </item>
349       <item row="1" column="1" colspan="2" >
350        <widget class="QLineEdit" name="lastfm_user_edit" />
351       </item>
352       <item row="1" column="0" >
353        <widget class="QLabel" name="lastfm_user_label" >
354         <property name="text" >
355          <string>_("Username")</string>
356         </property>
357        </widget>
358       </item>
359       <item row="2" column="0" >
360        <widget class="QLabel" name="lastfm_pass_label" >
361         <property name="text" >
362          <string>_("Password")</string>
363         </property>
364        </widget>
365       </item>
366       <item row="2" column="1" colspan="2" >
367        <widget class="QLineEdit" name="lastfm_pass_edit" >
368         <property name="echoMode" >
369          <enum>QLineEdit::PasswordEchoOnEdit</enum>
370         </property>
371        </widget>
372       </item>
373      </layout>
374     </widget>
375    </item>
376   </layout>
377  </widget>
378  <tabstops>
379   <tabstop>enableAudio</tabstop>
380   <tabstop>defaultVolume</tabstop>
381   <tabstop>spdifBox</tabstop>
382   <tabstop>detectionDolby</tabstop>
383   <tabstop>preferredAudioLanguage</tabstop>
384   <tabstop>outputModule</tabstop>
385   <tabstop>alsaDevice</tabstop>
386   <tabstop>DirectXDevice</tabstop>
387   <tabstop>OSSDevice</tabstop>
388   <tabstop>OSSBrowse</tabstop>
389   <tabstop>fileBrowseButton</tabstop>
390   <tabstop>headphoneEffect</tabstop>
391   <tabstop>volNormBox</tabstop>
392   <tabstop>volNormSpin</tabstop>
393   <tabstop>visualisation</tabstop>
394  </tabstops>
395  <resources/>
396  <connections>
397   <connection>
398    <sender>lastfm</sender>
399    <signal>toggled(bool)</signal>
400    <receiver>lastfm_pass_edit</receiver>
401    <slot>setVisible(bool)</slot>
402    <hints>
403     <hint type="sourcelabel" >
404      <x>188</x>
405      <y>619</y>
406     </hint>
407     <hint type="destinationlabel" >
408      <x>360</x>
409      <y>689</y>
410     </hint>
411    </hints>
412   </connection>
413   <connection>
414    <sender>lastfm</sender>
415    <signal>toggled(bool)</signal>
416    <receiver>lastfm_pass_label</receiver>
417    <slot>setVisible(bool)</slot>
418    <hints>
419     <hint type="sourcelabel" >
420      <x>188</x>
421      <y>619</y>
422     </hint>
423     <hint type="destinationlabel" >
424      <x>102</x>
425      <y>689</y>
426     </hint>
427    </hints>
428   </connection>
429   <connection>
430    <sender>lastfm</sender>
431    <signal>toggled(bool)</signal>
432    <receiver>lastfm_user_edit</receiver>
433    <slot>setVisible(bool)</slot>
434    <hints>
435     <hint type="sourcelabel" >
436      <x>188</x>
437      <y>619</y>
438     </hint>
439     <hint type="destinationlabel" >
440      <x>360</x>
441      <y>653</y>
442     </hint>
443    </hints>
444   </connection>
445   <connection>
446    <sender>lastfm</sender>
447    <signal>toggled(bool)</signal>
448    <receiver>lastfm_user_label</receiver>
449    <slot>setVisible(bool)</slot>
450    <hints>
451     <hint type="sourcelabel" >
452      <x>188</x>
453      <y>619</y>
454     </hint>
455     <hint type="destinationlabel" >
456      <x>102</x>
457      <y>653</y>
458     </hint>
459    </hints>
460   </connection>
461  </connections>
462 </ui>