]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
Qt4 - Simple Preferences, audio: you expect to deal with % for the volume not abstrac...
[vlc] / 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>725</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="buttonSymbols" >
83          <enum>QAbstractSpinBox::NoButtons</enum>
84         </property>
85         <property name="suffix" >
86          <string> %</string>
87         </property>
88         <property name="maximum" >
89          <number>400</number>
90         </property>
91        </widget>
92       </item>
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>
97         </property>
98        </widget>
99       </item>
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>
104         </property>
105        </widget>
106       </item>
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>
113          </sizepolicy>
114         </property>
115         <property name="maximumSize" >
116          <size>
117           <width>300</width>
118           <height>16777215</height>
119          </size>
120         </property>
121         <property name="currentIndex" >
122          <number>-1</number>
123         </property>
124        </widget>
125       </item>
126       <item row="3" column="0" >
127        <widget class="QLabel" name="label" >
128         <property name="text" >
129          <string>_("Preferred audio language")</string>
130         </property>
131        </widget>
132       </item>
133       <item row="3" column="1" colspan="3" >
134        <widget class="QLineEdit" name="preferredAudioLanguage" />
135       </item>
136      </layout>
137     </widget>
138    </item>
139    <item>
140     <widget class="QGroupBox" name="groupBox_2" >
141      <property name="title" >
142       <string>Output</string>
143      </property>
144      <layout class="QGridLayout" >
145       <item row="0" column="0" >
146        <widget class="QLabel" name="label_3" >
147         <property name="minimumSize" >
148          <size>
149           <width>100</width>
150           <height>0</height>
151          </size>
152         </property>
153         <property name="text" >
154          <string>_("Type")</string>
155         </property>
156        </widget>
157       </item>
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>
164          </sizepolicy>
165         </property>
166        </widget>
167       </item>
168       <item row="1" column="0" colspan="2" >
169        <widget class="QWidget" native="1" name="alsaControl" >
170         <layout class="QHBoxLayout" >
171          <property name="leftMargin" >
172           <number>0</number>
173          </property>
174          <property name="topMargin" >
175           <number>0</number>
176          </property>
177          <property name="rightMargin" >
178           <number>0</number>
179          </property>
180          <property name="bottomMargin" >
181           <number>0</number>
182          </property>
183          <item>
184           <widget class="QLabel" name="alsaLabel" >
185            <property name="minimumSize" >
186             <size>
187              <width>100</width>
188              <height>0</height>
189             </size>
190            </property>
191            <property name="text" >
192             <string>_("Device")</string>
193            </property>
194           </widget>
195          </item>
196          <item>
197           <widget class="QComboBox" name="alsaDevice" >
198            <property name="sizePolicy" >
199             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
200              <horstretch>0</horstretch>
201              <verstretch>0</verstretch>
202             </sizepolicy>
203            </property>
204           </widget>
205          </item>
206         </layout>
207        </widget>
208       </item>
209       <item row="2" column="0" colspan="2" >
210        <widget class="QWidget" native="1" name="DirectXControl" >
211         <layout class="QHBoxLayout" >
212          <property name="leftMargin" >
213           <number>0</number>
214          </property>
215          <property name="topMargin" >
216           <number>0</number>
217          </property>
218          <property name="rightMargin" >
219           <number>0</number>
220          </property>
221          <property name="bottomMargin" >
222           <number>0</number>
223          </property>
224          <item>
225           <widget class="QLabel" name="DirectXLabel" >
226            <property name="sizePolicy" >
227             <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
228              <horstretch>0</horstretch>
229              <verstretch>0</verstretch>
230             </sizepolicy>
231            </property>
232            <property name="minimumSize" >
233             <size>
234              <width>100</width>
235              <height>0</height>
236             </size>
237            </property>
238            <property name="text" >
239             <string>_("Device")</string>
240            </property>
241           </widget>
242          </item>
243          <item>
244           <widget class="QComboBox" name="DirectXDevice" >
245            <property name="sizePolicy" >
246             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
247              <horstretch>0</horstretch>
248              <verstretch>0</verstretch>
249             </sizepolicy>
250            </property>
251           </widget>
252          </item>
253         </layout>
254        </widget>
255       </item>
256       <item row="3" column="0" colspan="2" >
257        <widget class="QWidget" native="1" name="OSSControl" >
258         <layout class="QHBoxLayout" >
259          <property name="leftMargin" >
260           <number>0</number>
261          </property>
262          <property name="topMargin" >
263           <number>0</number>
264          </property>
265          <property name="rightMargin" >
266           <number>0</number>
267          </property>
268          <property name="bottomMargin" >
269           <number>0</number>
270          </property>
271          <item>
272           <widget class="QLabel" name="OSSLabel" >
273            <property name="minimumSize" >
274             <size>
275              <width>100</width>
276              <height>0</height>
277             </size>
278            </property>
279            <property name="text" >
280             <string>_("Device")</string>
281            </property>
282           </widget>
283          </item>
284          <item>
285           <widget class="QLineEdit" name="OSSDevice" />
286          </item>
287          <item>
288           <widget class="QPushButton" name="OSSBrowse" >
289            <property name="text" >
290             <string>_("Browse...")</string>
291            </property>
292           </widget>
293          </item>
294         </layout>
295        </widget>
296       </item>
297       <item row="4" column="0" colspan="2" >
298        <widget class="QWidget" native="1" name="fileControl" >
299         <layout class="QHBoxLayout" >
300          <property name="leftMargin" >
301           <number>0</number>
302          </property>
303          <property name="topMargin" >
304           <number>0</number>
305          </property>
306          <property name="rightMargin" >
307           <number>0</number>
308          </property>
309          <property name="bottomMargin" >
310           <number>0</number>
311          </property>
312          <item>
313           <widget class="QLabel" name="fileLabel" >
314            <property name="minimumSize" >
315             <size>
316              <width>100</width>
317              <height>0</height>
318             </size>
319            </property>
320            <property name="text" >
321             <string>_("File")</string>
322            </property>
323           </widget>
324          </item>
325          <item>
326           <widget class="QLineEdit" name="fileName" />
327          </item>
328          <item>
329           <widget class="QPushButton" name="fileBrowseButton" >
330            <property name="text" >
331             <string>_("Browse...")</string>
332            </property>
333           </widget>
334          </item>
335         </layout>
336        </widget>
337       </item>
338      </layout>
339     </widget>
340    </item>
341    <item>
342     <widget class="QGroupBox" name="groupBox" >
343      <property name="title" >
344       <string>_("Effects")</string>
345      </property>
346      <layout class="QGridLayout" >
347       <item row="2" column="1" >
348        <widget class="QComboBox" name="visualisation" />
349       </item>
350       <item row="0" column="0" >
351        <widget class="QCheckBox" name="headphoneEffect" >
352         <property name="text" >
353          <string>_("Headphone surround effect")</string>
354         </property>
355        </widget>
356       </item>
357       <item row="1" column="0" >
358        <widget class="QCheckBox" name="volNormBox" >
359         <property name="text" >
360          <string>_("Volume normalizer")</string>
361         </property>
362        </widget>
363       </item>
364       <item row="2" column="0" >
365        <widget class="QLabel" name="label_5" >
366         <property name="text" >
367          <string>_("Visualisation")</string>
368         </property>
369        </widget>
370       </item>
371       <item row="1" column="1" >
372        <widget class="QDoubleSpinBox" name="volNormSpin" >
373         <property name="alignment" >
374          <set>Qt::AlignRight</set>
375         </property>
376        </widget>
377       </item>
378      </layout>
379     </widget>
380    </item>
381    <item>
382     <widget class="QGroupBox" name="groupBox_4" >
383      <property name="title" >
384       <string>_("Last.fm")</string>
385      </property>
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>
391         </property>
392        </widget>
393       </item>
394       <item row="1" column="1" colspan="2" >
395        <widget class="QLineEdit" name="lastfm_user_edit" />
396       </item>
397       <item row="1" column="0" >
398        <widget class="QLabel" name="lastfm_user_label" >
399         <property name="text" >
400          <string>_("Username")</string>
401         </property>
402        </widget>
403       </item>
404       <item row="2" column="0" >
405        <widget class="QLabel" name="lastfm_pass_label" >
406         <property name="text" >
407          <string>_("Password")</string>
408         </property>
409        </widget>
410       </item>
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>
415         </property>
416        </widget>
417       </item>
418      </layout>
419     </widget>
420    </item>
421   </layout>
422  </widget>
423  <tabstops>
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>
439  </tabstops>
440  <resources/>
441  <connections>
442   <connection>
443    <sender>lastfm</sender>
444    <signal>toggled(bool)</signal>
445    <receiver>lastfm_pass_edit</receiver>
446    <slot>setVisible(bool)</slot>
447    <hints>
448     <hint type="sourcelabel" >
449      <x>188</x>
450      <y>619</y>
451     </hint>
452     <hint type="destinationlabel" >
453      <x>360</x>
454      <y>689</y>
455     </hint>
456    </hints>
457   </connection>
458   <connection>
459    <sender>lastfm</sender>
460    <signal>toggled(bool)</signal>
461    <receiver>lastfm_pass_label</receiver>
462    <slot>setVisible(bool)</slot>
463    <hints>
464     <hint type="sourcelabel" >
465      <x>188</x>
466      <y>619</y>
467     </hint>
468     <hint type="destinationlabel" >
469      <x>102</x>
470      <y>689</y>
471     </hint>
472    </hints>
473   </connection>
474   <connection>
475    <sender>lastfm</sender>
476    <signal>toggled(bool)</signal>
477    <receiver>lastfm_user_edit</receiver>
478    <slot>setVisible(bool)</slot>
479    <hints>
480     <hint type="sourcelabel" >
481      <x>188</x>
482      <y>619</y>
483     </hint>
484     <hint type="destinationlabel" >
485      <x>360</x>
486      <y>653</y>
487     </hint>
488    </hints>
489   </connection>
490   <connection>
491    <sender>lastfm</sender>
492    <signal>toggled(bool)</signal>
493    <receiver>lastfm_user_label</receiver>
494    <slot>setVisible(bool)</slot>
495    <hints>
496     <hint type="sourcelabel" >
497      <x>188</x>
498      <y>619</y>
499     </hint>
500     <hint type="destinationlabel" >
501      <x>102</x>
502      <y>653</y>
503     </hint>
504    </hints>
505   </connection>
506  </connections>
507 </ui>