2 <author>Jean-Baptiste Kempf</author>
3 <class>SPrefsAudio</class>
4 <widget class="QWidget" name="SPrefsAudio" >
5 <property name="geometry" >
13 <property name="windowTitle" >
16 <layout class="QVBoxLayout" >
18 <widget class="QCheckBox" name="enableAudio" >
19 <property name="text" >
20 <string>_("Enable audio")</string>
22 <property name="checked" >
28 <widget class="QGroupBox" name="groupBox_3" >
29 <property name="title" >
30 <string>_("General Audio")</string>
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>
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>
48 <property name="minimumSize" >
54 <property name="maximumSize" >
57 <height>16777215</height>
60 <property name="layoutDirection" >
61 <enum>Qt::LeftToRight</enum>
63 <property name="maximum" >
66 <property name="orientation" >
67 <enum>Qt::Horizontal</enum>
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>
76 <property name="alignment" >
77 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
79 <property name="readOnly" >
82 <property name="buttonSymbols" >
83 <enum>QAbstractSpinBox::NoButtons</enum>
85 <property name="suffix" >
88 <property name="maximum" >
93 <item row="1" column="0" colspan="4" >
94 <widget class="QCheckBox" name="spdifBox" >
95 <property name="text" >
96 <string>_("Use S/PDIF when available")</string>
100 <item row="2" column="0" >
101 <widget class="QLabel" name="label_8" >
102 <property name="text" >
103 <string>_("Force detection of Dolby Surround")</string>
107 <item row="2" column="1" colspan="3" >
108 <widget class="QComboBox" name="detectionDolby" >
109 <property name="sizePolicy" >
110 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
111 <horstretch>0</horstretch>
112 <verstretch>0</verstretch>
115 <property name="maximumSize" >
118 <height>16777215</height>
121 <property name="currentIndex" >
126 <item row="3" column="0" >
127 <widget class="QLabel" name="label" >
128 <property name="text" >
129 <string>_("Preferred audio language")</string>
133 <item row="3" column="1" colspan="3" >
134 <widget class="QLineEdit" name="preferredAudioLanguage" />
140 <widget class="QGroupBox" name="groupBox_2" >
141 <property name="title" >
142 <string>Output</string>
144 <layout class="QGridLayout" >
145 <item row="0" column="0" >
146 <widget class="QLabel" name="label_3" >
147 <property name="minimumSize" >
153 <property name="text" >
154 <string>_("Type")</string>
158 <item row="0" column="1" >
159 <widget class="QComboBox" name="outputModule" >
160 <property name="sizePolicy" >
161 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
162 <horstretch>0</horstretch>
163 <verstretch>0</verstretch>
168 <item row="1" column="0" colspan="2" >
169 <widget class="QWidget" native="1" name="alsaControl" >
170 <layout class="QHBoxLayout" >
171 <property name="leftMargin" >
174 <property name="topMargin" >
177 <property name="rightMargin" >
180 <property name="bottomMargin" >
184 <widget class="QLabel" name="alsaLabel" >
185 <property name="minimumSize" >
191 <property name="text" >
192 <string>_("Device")</string>
197 <widget class="QComboBox" name="alsaDevice" >
198 <property name="sizePolicy" >
199 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
200 <horstretch>0</horstretch>
201 <verstretch>0</verstretch>
209 <item row="2" column="0" colspan="2" >
210 <widget class="QWidget" native="1" name="DirectXControl" >
211 <layout class="QHBoxLayout" >
212 <property name="leftMargin" >
215 <property name="topMargin" >
218 <property name="rightMargin" >
221 <property name="bottomMargin" >
225 <widget class="QLabel" name="DirectXLabel" >
226 <property name="sizePolicy" >
227 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
228 <horstretch>0</horstretch>
229 <verstretch>0</verstretch>
232 <property name="minimumSize" >
238 <property name="text" >
239 <string>_("Device")</string>
244 <widget class="QComboBox" name="DirectXDevice" >
245 <property name="sizePolicy" >
246 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
247 <horstretch>0</horstretch>
248 <verstretch>0</verstretch>
256 <item row="3" column="0" colspan="2" >
257 <widget class="QWidget" native="1" name="OSSControl" >
258 <layout class="QHBoxLayout" >
259 <property name="leftMargin" >
262 <property name="topMargin" >
265 <property name="rightMargin" >
268 <property name="bottomMargin" >
272 <widget class="QLabel" name="OSSLabel" >
273 <property name="minimumSize" >
279 <property name="text" >
280 <string>_("Device")</string>
285 <widget class="QLineEdit" name="OSSDevice" />
288 <widget class="QPushButton" name="OSSBrowse" >
289 <property name="text" >
290 <string>_("Browse...")</string>
297 <item row="4" column="0" colspan="2" >
298 <widget class="QWidget" native="1" name="fileControl" >
299 <layout class="QHBoxLayout" >
300 <property name="leftMargin" >
303 <property name="topMargin" >
306 <property name="rightMargin" >
309 <property name="bottomMargin" >
313 <widget class="QLabel" name="fileLabel" >
314 <property name="minimumSize" >
320 <property name="text" >
321 <string>_("File")</string>
326 <widget class="QLineEdit" name="fileName" />
329 <widget class="QPushButton" name="fileBrowseButton" >
330 <property name="text" >
331 <string>_("Browse...")</string>
342 <widget class="QGroupBox" name="groupBox" >
343 <property name="title" >
344 <string>_("Effects")</string>
346 <layout class="QGridLayout" >
347 <item row="2" column="1" >
348 <widget class="QComboBox" name="visualisation" />
350 <item row="0" column="0" >
351 <widget class="QCheckBox" name="headphoneEffect" >
352 <property name="text" >
353 <string>_("Headphone surround effect")</string>
357 <item row="1" column="0" >
358 <widget class="QCheckBox" name="volNormBox" >
359 <property name="text" >
360 <string>_("Volume normalizer")</string>
364 <item row="2" column="0" >
365 <widget class="QLabel" name="label_5" >
366 <property name="text" >
367 <string>_("Visualisation")</string>
371 <item row="1" column="1" >
372 <widget class="QDoubleSpinBox" name="volNormSpin" >
373 <property name="alignment" >
374 <set>Qt::AlignRight</set>
382 <widget class="QGroupBox" name="groupBox_4" >
383 <property name="title" >
384 <string>_("Last.fm")</string>
386 <layout class="QGridLayout" >
387 <item row="0" column="0" colspan="2" >
388 <widget class="QCheckBox" name="lastfm" >
389 <property name="text" >
390 <string>_("Enable last.fm submission")</string>
394 <item row="1" column="1" colspan="2" >
395 <widget class="QLineEdit" name="lastfm_user_edit" />
397 <item row="1" column="0" >
398 <widget class="QLabel" name="lastfm_user_label" >
399 <property name="text" >
400 <string>_("Username")</string>
404 <item row="2" column="0" >
405 <widget class="QLabel" name="lastfm_pass_label" >
406 <property name="text" >
407 <string>_("Password")</string>
411 <item row="2" column="1" colspan="2" >
412 <widget class="QLineEdit" name="lastfm_pass_edit" >
413 <property name="echoMode" >
414 <enum>QLineEdit::PasswordEchoOnEdit</enum>
424 <tabstop>enableAudio</tabstop>
425 <tabstop>defaultVolume</tabstop>
426 <tabstop>spdifBox</tabstop>
427 <tabstop>detectionDolby</tabstop>
428 <tabstop>preferredAudioLanguage</tabstop>
429 <tabstop>outputModule</tabstop>
430 <tabstop>alsaDevice</tabstop>
431 <tabstop>DirectXDevice</tabstop>
432 <tabstop>OSSDevice</tabstop>
433 <tabstop>OSSBrowse</tabstop>
434 <tabstop>fileBrowseButton</tabstop>
435 <tabstop>headphoneEffect</tabstop>
436 <tabstop>volNormBox</tabstop>
437 <tabstop>volNormSpin</tabstop>
438 <tabstop>visualisation</tabstop>
443 <sender>lastfm</sender>
444 <signal>toggled(bool)</signal>
445 <receiver>lastfm_pass_edit</receiver>
446 <slot>setVisible(bool)</slot>
448 <hint type="sourcelabel" >
452 <hint type="destinationlabel" >
459 <sender>lastfm</sender>
460 <signal>toggled(bool)</signal>
461 <receiver>lastfm_pass_label</receiver>
462 <slot>setVisible(bool)</slot>
464 <hint type="sourcelabel" >
468 <hint type="destinationlabel" >
475 <sender>lastfm</sender>
476 <signal>toggled(bool)</signal>
477 <receiver>lastfm_user_edit</receiver>
478 <slot>setVisible(bool)</slot>
480 <hint type="sourcelabel" >
484 <hint type="destinationlabel" >
491 <sender>lastfm</sender>
492 <signal>toggled(bool)</signal>
493 <receiver>lastfm_user_label</receiver>
494 <slot>setVisible(bool)</slot>
496 <hint type="sourcelabel" >
500 <hint type="destinationlabel" >