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="suffix" >
85 <property name="maximum" >
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>
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>
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>
112 <property name="maximumSize" >
115 <height>16777215</height>
118 <property name="currentIndex" >
123 <item row="3" column="0" >
124 <widget class="QLabel" name="label" >
125 <property name="text" >
126 <string>_("Preferred audio language")</string>
130 <item row="3" column="1" colspan="3" >
131 <widget class="QLineEdit" name="preferredAudioLanguage" />
137 <widget class="QGroupBox" name="groupBox_2" >
138 <property name="title" >
139 <string>Output</string>
141 <layout class="QGridLayout" >
142 <item row="0" column="0" >
143 <widget class="QLabel" name="label_3" >
144 <property name="minimumSize" >
150 <property name="text" >
151 <string>_("Type")</string>
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>
165 <item row="1" column="0" colspan="2" >
166 <widget class="QWidget" native="1" name="alsaControl" >
167 <layout class="QHBoxLayout" >
169 <widget class="QLabel" name="alsaLabel" >
170 <property name="minimumSize" >
176 <property name="text" >
177 <string>_("Device")</string>
182 <widget class="QComboBox" name="alsaDevice" >
183 <property name="sizePolicy" >
184 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
185 <horstretch>0</horstretch>
186 <verstretch>0</verstretch>
194 <item row="2" column="0" colspan="2" >
195 <widget class="QWidget" native="1" name="DirectXControl" >
196 <layout class="QHBoxLayout" >
198 <widget class="QLabel" name="DirectXLabel" >
199 <property name="sizePolicy" >
200 <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
201 <horstretch>0</horstretch>
202 <verstretch>0</verstretch>
205 <property name="minimumSize" >
211 <property name="text" >
212 <string>_("Device")</string>
217 <widget class="QComboBox" name="DirectXDevice" >
218 <property name="sizePolicy" >
219 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
220 <horstretch>0</horstretch>
221 <verstretch>0</verstretch>
229 <item row="3" column="0" colspan="2" >
230 <widget class="QWidget" native="1" name="OSSControl" >
231 <layout class="QHBoxLayout" >
233 <widget class="QLabel" name="OSSLabel" >
234 <property name="minimumSize" >
240 <property name="text" >
241 <string>_("Device")</string>
246 <widget class="QLineEdit" name="OSSDevice" />
249 <widget class="QPushButton" name="OSSBrowse" >
250 <property name="text" >
251 <string>_("Browse...")</string>
258 <item row="4" column="0" colspan="2" >
259 <widget class="QWidget" native="1" name="fileControl" >
260 <layout class="QHBoxLayout" >
262 <widget class="QLabel" name="fileLabel" >
263 <property name="minimumSize" >
269 <property name="text" >
270 <string>_("File")</string>
275 <widget class="QLineEdit" name="fileName" />
278 <widget class="QPushButton" name="fileBrowseButton" >
279 <property name="text" >
280 <string>_("Browse...")</string>
291 <widget class="QGroupBox" name="groupBox" >
292 <property name="title" >
293 <string>_("Effects")</string>
295 <layout class="QGridLayout" >
296 <item row="2" column="1" >
297 <widget class="QComboBox" name="visualisation" />
299 <item row="0" column="0" >
300 <widget class="QCheckBox" name="headphoneEffect" >
301 <property name="text" >
302 <string>_("Headphone surround effect")</string>
306 <item row="1" column="0" >
307 <widget class="QCheckBox" name="volNormBox" >
308 <property name="text" >
309 <string>_("Volume normalizer")</string>
313 <item row="2" column="0" >
314 <widget class="QLabel" name="label_5" >
315 <property name="text" >
316 <string>_("Visualisation")</string>
320 <item row="1" column="1" >
321 <widget class="QDoubleSpinBox" name="volNormSpin" >
322 <property name="alignment" >
323 <set>Qt::AlignRight</set>
331 <widget class="QGroupBox" name="groupBox_4" >
332 <property name="title" >
333 <string>_("Last.fm")</string>
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>
343 <item row="1" column="1" colspan="2" >
344 <widget class="QLineEdit" name="lastfm_user_edit" />
346 <item row="1" column="0" >
347 <widget class="QLabel" name="lastfm_user_label" >
348 <property name="text" >
349 <string>_("Username")</string>
353 <item row="2" column="0" >
354 <widget class="QLabel" name="lastfm_pass_label" >
355 <property name="text" >
356 <string>_("Password")</string>
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>
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>
392 <sender>lastfm</sender>
393 <signal>toggled(bool)</signal>
394 <receiver>lastfm_pass_edit</receiver>
395 <slot>setVisible(bool)</slot>
397 <hint type="sourcelabel" >
401 <hint type="destinationlabel" >
408 <sender>lastfm</sender>
409 <signal>toggled(bool)</signal>
410 <receiver>lastfm_pass_label</receiver>
411 <slot>setVisible(bool)</slot>
413 <hint type="sourcelabel" >
417 <hint type="destinationlabel" >
424 <sender>lastfm</sender>
425 <signal>toggled(bool)</signal>
426 <receiver>lastfm_user_edit</receiver>
427 <slot>setVisible(bool)</slot>
429 <hint type="sourcelabel" >
433 <hint type="destinationlabel" >
440 <sender>lastfm</sender>
441 <signal>toggled(bool)</signal>
442 <receiver>lastfm_user_label</receiver>
443 <slot>setVisible(bool)</slot>
445 <hint type="sourcelabel" >
449 <hint type="destinationlabel" >