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="value" >
69 <property name="orientation" >
70 <enum>Qt::Horizontal</enum>
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>
79 <property name="alignment" >
80 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
82 <property name="readOnly" >
85 <property name="suffix" >
88 <property name="maximum" >
91 <property name="value" >
96 <item row="1" column="0" >
97 <widget class="QCheckBox" name="spdifBox" >
98 <property name="text" >
99 <string>_("Use S/PDIF when available")</string>
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>
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>
117 <item row="2" column="1" colspan="3" >
118 <widget class="QComboBox" name="detectionDolby" >
119 <property name="sizePolicy" >
120 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
121 <horstretch>0</horstretch>
122 <verstretch>0</verstretch>
125 <property name="maximumSize" >
128 <height>16777215</height>
131 <property name="currentIndex" >
136 <item row="3" column="0" >
137 <widget class="QLabel" name="label" >
138 <property name="text" >
139 <string>_("Preferred audio language")</string>
143 <item row="3" column="1" colspan="3" >
144 <widget class="QLineEdit" name="preferredAudioLanguage" />
150 <widget class="QGroupBox" name="groupBox_2" >
151 <property name="title" >
152 <string>Output</string>
154 <layout class="QGridLayout" >
155 <item row="0" column="0" >
156 <widget class="QLabel" name="label_3" >
157 <property name="minimumSize" >
163 <property name="text" >
164 <string>_("Type")</string>
168 <item row="0" column="1" >
169 <widget class="QComboBox" name="outputModule" >
170 <property name="sizePolicy" >
171 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
172 <horstretch>0</horstretch>
173 <verstretch>0</verstretch>
178 <item row="1" column="0" colspan="2" >
179 <widget class="QWidget" native="1" name="alsaControl" >
180 <layout class="QHBoxLayout" >
182 <widget class="QLabel" name="alsaLabel" >
183 <property name="minimumSize" >
189 <property name="text" >
190 <string>_("Device")</string>
195 <widget class="QComboBox" name="alsaDevice" >
196 <property name="sizePolicy" >
197 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
198 <horstretch>0</horstretch>
199 <verstretch>0</verstretch>
207 <item row="2" column="0" colspan="2" >
208 <widget class="QWidget" native="1" name="DirectXControl" >
209 <layout class="QHBoxLayout" >
211 <widget class="QLabel" name="DirectXLabel" >
212 <property name="sizePolicy" >
213 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
214 <horstretch>0</horstretch>
215 <verstretch>0</verstretch>
218 <property name="minimumSize" >
224 <property name="text" >
225 <string>_("Device")</string>
230 <widget class="QComboBox" name="DirectXDevice" >
231 <property name="sizePolicy" >
232 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
233 <horstretch>0</horstretch>
234 <verstretch>0</verstretch>
242 <item row="3" column="0" colspan="2" >
243 <widget class="QWidget" native="1" name="OSSControl" >
244 <layout class="QHBoxLayout" >
246 <widget class="QLabel" name="OSSLabel" >
247 <property name="minimumSize" >
253 <property name="text" >
254 <string>_("Device")</string>
259 <widget class="QLineEdit" name="OSSDevice" />
262 <widget class="QPushButton" name="OSSBrowse" >
263 <property name="text" >
264 <string>_("Browse...")</string>
271 <item row="4" column="0" colspan="2" >
272 <widget class="QWidget" native="1" name="fileControl" >
273 <layout class="QHBoxLayout" >
275 <widget class="QLabel" name="fileLabel" >
276 <property name="minimumSize" >
282 <property name="text" >
283 <string>_("File")</string>
288 <widget class="QLineEdit" name="fileName" />
291 <widget class="QPushButton" name="fileBrowseButton" >
292 <property name="text" >
293 <string>_("Browse...")</string>
304 <widget class="QGroupBox" name="groupBox" >
305 <property name="title" >
306 <string>_("Effects")</string>
308 <layout class="QGridLayout" >
309 <item row="2" column="1" >
310 <widget class="QComboBox" name="visualisation" />
312 <item row="0" column="0" >
313 <widget class="QCheckBox" name="headphoneEffect" >
314 <property name="text" >
315 <string>_("Headphone surround effect")</string>
319 <item row="1" column="0" >
320 <widget class="QCheckBox" name="volNormBox" >
321 <property name="text" >
322 <string>_("Volume normalizer")</string>
326 <item row="2" column="0" >
327 <widget class="QLabel" name="label_5" >
328 <property name="text" >
329 <string>_("Visualization")</string>
333 <item row="1" column="1" >
334 <widget class="QDoubleSpinBox" name="volNormSpin" >
335 <property name="alignment" >
336 <set>Qt::AlignRight</set>
344 <widget class="QGroupBox" name="groupBox_4" >
345 <property name="title" >
346 <string>_("Last.fm")</string>
348 <layout class="QGridLayout" >
349 <item row="0" column="0" colspan="2" >
350 <widget class="QCheckBox" name="lastfm" >
351 <property name="text" >
352 <string>_("Enable last.fm submission")</string>
356 <item row="1" column="1" colspan="2" >
357 <widget class="QLineEdit" name="lastfm_user_edit" />
359 <item row="1" column="0" >
360 <widget class="QLabel" name="lastfm_user_label" >
361 <property name="text" >
362 <string>_("Username")</string>
366 <item row="2" column="0" >
367 <widget class="QLabel" name="lastfm_pass_label" >
368 <property name="text" >
369 <string>_("Password")</string>
373 <item row="2" column="1" colspan="2" >
374 <widget class="QLineEdit" name="lastfm_pass_edit" >
375 <property name="echoMode" >
376 <enum>QLineEdit::PasswordEchoOnEdit</enum>
386 <tabstop>enableAudio</tabstop>
387 <tabstop>defaultVolume</tabstop>
388 <tabstop>spdifBox</tabstop>
389 <tabstop>detectionDolby</tabstop>
390 <tabstop>preferredAudioLanguage</tabstop>
391 <tabstop>outputModule</tabstop>
392 <tabstop>alsaDevice</tabstop>
393 <tabstop>DirectXDevice</tabstop>
394 <tabstop>OSSDevice</tabstop>
395 <tabstop>OSSBrowse</tabstop>
396 <tabstop>fileBrowseButton</tabstop>
397 <tabstop>headphoneEffect</tabstop>
398 <tabstop>volNormBox</tabstop>
399 <tabstop>volNormSpin</tabstop>
400 <tabstop>visualisation</tabstop>
405 <sender>lastfm</sender>
406 <signal>toggled(bool)</signal>
407 <receiver>lastfm_pass_edit</receiver>
408 <slot>setVisible(bool)</slot>
410 <hint type="sourcelabel" >
414 <hint type="destinationlabel" >
421 <sender>lastfm</sender>
422 <signal>toggled(bool)</signal>
423 <receiver>lastfm_pass_label</receiver>
424 <slot>setVisible(bool)</slot>
426 <hint type="sourcelabel" >
430 <hint type="destinationlabel" >
437 <sender>lastfm</sender>
438 <signal>toggled(bool)</signal>
439 <receiver>lastfm_user_edit</receiver>
440 <slot>setVisible(bool)</slot>
442 <hint type="sourcelabel" >
446 <hint type="destinationlabel" >
453 <sender>lastfm</sender>
454 <signal>toggled(bool)</signal>
455 <receiver>lastfm_user_label</receiver>
456 <slot>setVisible(bool)</slot>
458 <hint type="sourcelabel" >
462 <hint type="destinationlabel" >