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="audioBox" >
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" colspan="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="4" >
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="2" 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>
115 <property name="buddy" >
116 <cstring>detectionDolby</cstring>
120 <item row="2" column="2" colspan="3" >
121 <widget class="QComboBox" name="detectionDolby" >
122 <property name="sizePolicy" >
123 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch>
128 <property name="maximumSize" >
131 <height>16777215</height>
134 <property name="currentIndex" >
139 <item row="3" column="0" >
140 <widget class="QLabel" name="label" >
141 <property name="text" >
142 <string>_("Preferred audio language")</string>
144 <property name="buddy" >
145 <cstring>preferredAudioLanguage</cstring>
149 <item row="3" column="2" colspan="3" >
150 <widget class="QLineEdit" name="preferredAudioLanguage" />
152 <item row="2" column="1" >
153 <spacer name="horizontalSpacer" >
154 <property name="orientation" >
155 <enum>Qt::Horizontal</enum>
157 <property name="sizeType" >
158 <enum>QSizePolicy::Fixed</enum>
160 <property name="sizeHint" stdset="0" >
172 <widget class="QGroupBox" name="outputAudioBox" >
173 <property name="title" >
174 <string>Output</string>
176 <layout class="QGridLayout" name="outputAudioLayout" >
177 <item row="0" column="0" >
178 <widget class="QLabel" name="label_3" >
179 <property name="minimumSize" >
185 <property name="text" >
186 <string>_("Type")</string>
188 <property name="buddy" >
189 <cstring>outputModule</cstring>
193 <item row="0" column="1" >
194 <widget class="QComboBox" name="outputModule" >
195 <property name="enabled" >
198 <property name="sizePolicy" >
199 <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
200 <horstretch>0</horstretch>
201 <verstretch>0</verstretch>
206 <item row="1" column="0" colspan="2" >
207 <widget class="QWidget" native="1" name="fileControl" >
208 <layout class="QHBoxLayout" >
209 <property name="spacing" >
212 <property name="margin" >
216 <widget class="QLabel" name="fileLabel" >
217 <property name="minimumSize" >
223 <property name="text" >
224 <string>_("File")</string>
226 <property name="buddy" >
227 <cstring>fileName</cstring>
232 <widget class="QLineEdit" name="fileName" />
235 <widget class="QPushButton" name="fileBrowseButton" >
236 <property name="text" >
237 <string>_("Browse...")</string>
248 <widget class="QGroupBox" name="groupBox" >
249 <property name="title" >
250 <string>_("Effects")</string>
252 <layout class="QGridLayout" >
253 <item row="2" column="1" >
254 <widget class="QComboBox" name="visualisation" />
256 <item row="0" column="0" >
257 <widget class="QCheckBox" name="headphoneEffect" >
258 <property name="text" >
259 <string>_("Headphone surround effect")</string>
263 <item row="1" column="0" >
264 <widget class="QCheckBox" name="volNormBox" >
265 <property name="text" >
266 <string>_("Volume normalizer")</string>
270 <item row="2" column="0" >
271 <widget class="QLabel" name="label_5" >
272 <property name="text" >
273 <string>_("Visualization")</string>
275 <property name="buddy" >
276 <cstring>visualisation</cstring>
280 <item row="1" column="1" >
281 <widget class="QDoubleSpinBox" name="volNormSpin" >
282 <property name="alignment" >
283 <set>Qt::AlignRight</set>
291 <widget class="QGroupBox" name="lastFMBox" >
292 <property name="title" >
293 <string>_("last.fm")</string>
295 <layout class="QGridLayout" >
296 <item row="0" column="0" colspan="2" >
297 <widget class="QCheckBox" name="lastfm" >
298 <property name="text" >
299 <string>_("Enable last.fm submission")</string>
303 <item row="1" column="1" colspan="2" >
304 <widget class="QLineEdit" name="lastfm_user_edit" />
306 <item row="1" column="0" >
307 <widget class="QLabel" name="lastfm_user_label" >
308 <property name="text" >
309 <string>_("Username")</string>
311 <property name="buddy" >
312 <cstring>lastfm_user_edit</cstring>
316 <item row="2" column="0" >
317 <widget class="QLabel" name="lastfm_pass_label" >
318 <property name="text" >
319 <string>_("Password")</string>
321 <property name="buddy" >
322 <cstring>lastfm_pass_edit</cstring>
326 <item row="2" column="1" colspan="2" >
327 <widget class="QLineEdit" name="lastfm_pass_edit" >
328 <property name="echoMode" >
329 <enum>QLineEdit::Password</enum>
339 <tabstop>enableAudio</tabstop>
340 <tabstop>defaultVolume</tabstop>
341 <tabstop>volumeValue</tabstop>
342 <tabstop>spdifBox</tabstop>
343 <tabstop>saveVolBox</tabstop>
344 <tabstop>detectionDolby</tabstop>
345 <tabstop>preferredAudioLanguage</tabstop>
346 <tabstop>outputModule</tabstop>
347 <tabstop>fileName</tabstop>
348 <tabstop>fileBrowseButton</tabstop>
349 <tabstop>headphoneEffect</tabstop>
350 <tabstop>volNormBox</tabstop>
351 <tabstop>volNormSpin</tabstop>
352 <tabstop>visualisation</tabstop>
353 <tabstop>lastfm</tabstop>
354 <tabstop>lastfm_user_edit</tabstop>
355 <tabstop>lastfm_pass_edit</tabstop>
360 <sender>lastfm</sender>
361 <signal>toggled(bool)</signal>
362 <receiver>lastfm_pass_edit</receiver>
363 <slot>setVisible(bool)</slot>
365 <hint type="sourcelabel" >
369 <hint type="destinationlabel" >
376 <sender>lastfm</sender>
377 <signal>toggled(bool)</signal>
378 <receiver>lastfm_pass_label</receiver>
379 <slot>setVisible(bool)</slot>
381 <hint type="sourcelabel" >
385 <hint type="destinationlabel" >
392 <sender>lastfm</sender>
393 <signal>toggled(bool)</signal>
394 <receiver>lastfm_user_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_user_label</receiver>
411 <slot>setVisible(bool)</slot>
413 <hint type="sourcelabel" >
417 <hint type="destinationlabel" >