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