]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
c2d9d976fb606aa999fd2a47cf846dc5018077b0
[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="orientation" >
64          <enum>Qt::Horizontal</enum>
65         </property>
66        </widget>
67       </item>
68       <item row="1" column="0" colspan="3" >
69        <widget class="QCheckBox" name="spdifBox" >
70         <property name="text" >
71          <string>_("Use S/PDIF when available")</string>
72         </property>
73        </widget>
74       </item>
75       <item row="2" column="0" >
76        <widget class="QLabel" name="label_8" >
77         <property name="text" >
78          <string>_("Force detection of Dolby Surround")</string>
79         </property>
80        </widget>
81       </item>
82       <item row="2" column="1" colspan="2" >
83        <widget class="QComboBox" name="detectionDolby" >
84         <property name="sizePolicy" >
85          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
86           <horstretch>0</horstretch>
87           <verstretch>0</verstretch>
88          </sizepolicy>
89         </property>
90         <property name="maximumSize" >
91          <size>
92           <width>300</width>
93           <height>16777215</height>
94          </size>
95         </property>
96         <property name="currentIndex" >
97          <number>-1</number>
98         </property>
99        </widget>
100       </item>
101       <item row="3" column="0" >
102        <widget class="QLabel" name="label" >
103         <property name="text" >
104          <string>_("Preferred audio language")</string>
105         </property>
106        </widget>
107       </item>
108       <item row="3" column="1" colspan="2" >
109        <widget class="QLineEdit" name="preferredAudioLanguage" />
110       </item>
111      </layout>
112     </widget>
113    </item>
114    <item>
115     <widget class="QGroupBox" name="groupBox_2" >
116      <property name="title" >
117       <string>Output</string>
118      </property>
119      <layout class="QGridLayout" >
120       <item row="0" column="0" >
121        <widget class="QLabel" name="label_3" >
122         <property name="minimumSize" >
123          <size>
124           <width>100</width>
125           <height>0</height>
126          </size>
127         </property>
128         <property name="text" >
129          <string>_("Type")</string>
130         </property>
131        </widget>
132       </item>
133       <item row="0" column="1" >
134        <widget class="QComboBox" name="outputModule" >
135         <property name="sizePolicy" >
136          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
137           <horstretch>0</horstretch>
138           <verstretch>0</verstretch>
139          </sizepolicy>
140         </property>
141        </widget>
142       </item>
143       <item row="1" column="0" colspan="2" >
144        <widget class="QWidget" native="1" name="alsaControl" >
145         <layout class="QHBoxLayout" >
146          <property name="leftMargin" >
147           <number>0</number>
148          </property>
149          <property name="topMargin" >
150           <number>0</number>
151          </property>
152          <property name="rightMargin" >
153           <number>0</number>
154          </property>
155          <property name="bottomMargin" >
156           <number>0</number>
157          </property>
158          <item>
159           <widget class="QLabel" name="alsaLabel" >
160            <property name="minimumSize" >
161             <size>
162              <width>100</width>
163              <height>0</height>
164             </size>
165            </property>
166            <property name="text" >
167             <string>_("Device")</string>
168            </property>
169           </widget>
170          </item>
171          <item>
172           <widget class="QComboBox" name="alsaDevice" >
173            <property name="sizePolicy" >
174             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
175              <horstretch>0</horstretch>
176              <verstretch>0</verstretch>
177             </sizepolicy>
178            </property>
179           </widget>
180          </item>
181         </layout>
182        </widget>
183       </item>
184       <item row="2" column="0" colspan="2" >
185        <widget class="QWidget" native="1" name="DirectXControl" >
186         <layout class="QHBoxLayout" >
187          <property name="leftMargin" >
188           <number>0</number>
189          </property>
190          <property name="topMargin" >
191           <number>0</number>
192          </property>
193          <property name="rightMargin" >
194           <number>0</number>
195          </property>
196          <property name="bottomMargin" >
197           <number>0</number>
198          </property>
199          <item>
200           <widget class="QLabel" name="DirectXLabel" >
201            <property name="sizePolicy" >
202             <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
203              <horstretch>0</horstretch>
204              <verstretch>0</verstretch>
205             </sizepolicy>
206            </property>
207            <property name="minimumSize" >
208             <size>
209              <width>100</width>
210              <height>0</height>
211             </size>
212            </property>
213            <property name="text" >
214             <string>_("Device")</string>
215            </property>
216           </widget>
217          </item>
218          <item>
219           <widget class="QComboBox" name="DirectXDevice" >
220            <property name="sizePolicy" >
221             <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
222              <horstretch>0</horstretch>
223              <verstretch>0</verstretch>
224             </sizepolicy>
225            </property>
226           </widget>
227          </item>
228         </layout>
229        </widget>
230       </item>
231       <item row="3" column="0" colspan="2" >
232        <widget class="QWidget" native="1" name="OSSControl" >
233         <layout class="QHBoxLayout" >
234          <property name="leftMargin" >
235           <number>0</number>
236          </property>
237          <property name="topMargin" >
238           <number>0</number>
239          </property>
240          <property name="rightMargin" >
241           <number>0</number>
242          </property>
243          <property name="bottomMargin" >
244           <number>0</number>
245          </property>
246          <item>
247           <widget class="QLabel" name="OSSLabel" >
248            <property name="minimumSize" >
249             <size>
250              <width>100</width>
251              <height>0</height>
252             </size>
253            </property>
254            <property name="text" >
255             <string>_("Device")</string>
256            </property>
257           </widget>
258          </item>
259          <item>
260           <widget class="QLineEdit" name="OSSDevice" />
261          </item>
262          <item>
263           <widget class="QPushButton" name="OSSBrowse" >
264            <property name="text" >
265             <string>_("Browse...")</string>
266            </property>
267           </widget>
268          </item>
269         </layout>
270        </widget>
271       </item>
272       <item row="4" column="0" colspan="2" >
273        <widget class="QWidget" native="1" name="fileControl" >
274         <layout class="QHBoxLayout" >
275          <property name="leftMargin" >
276           <number>0</number>
277          </property>
278          <property name="topMargin" >
279           <number>0</number>
280          </property>
281          <property name="rightMargin" >
282           <number>0</number>
283          </property>
284          <property name="bottomMargin" >
285           <number>0</number>
286          </property>
287          <item>
288           <widget class="QLabel" name="fileLabel" >
289            <property name="minimumSize" >
290             <size>
291              <width>100</width>
292              <height>0</height>
293             </size>
294            </property>
295            <property name="text" >
296             <string>_("File")</string>
297            </property>
298           </widget>
299          </item>
300          <item>
301           <widget class="QLineEdit" name="fileName" />
302          </item>
303          <item>
304           <widget class="QPushButton" name="fileBrowseButton" >
305            <property name="text" >
306             <string>_("Browse...")</string>
307            </property>
308           </widget>
309          </item>
310         </layout>
311        </widget>
312       </item>
313      </layout>
314     </widget>
315    </item>
316    <item>
317     <widget class="QGroupBox" name="groupBox" >
318      <property name="title" >
319       <string>_("Effects")</string>
320      </property>
321      <layout class="QGridLayout" >
322       <item row="2" column="1" >
323        <widget class="QComboBox" name="visualisation" />
324       </item>
325       <item row="0" column="0" >
326        <widget class="QCheckBox" name="headphoneEffect" >
327         <property name="text" >
328          <string>_("Headphone surround effect")</string>
329         </property>
330        </widget>
331       </item>
332       <item row="1" column="0" >
333        <widget class="QCheckBox" name="volNormBox" >
334         <property name="text" >
335          <string>_("Volume normalizer")</string>
336         </property>
337        </widget>
338       </item>
339       <item row="2" column="0" >
340        <widget class="QLabel" name="label_5" >
341         <property name="text" >
342          <string>_("Visualisation")</string>
343         </property>
344        </widget>
345       </item>
346       <item row="1" column="1" >
347        <widget class="QDoubleSpinBox" name="volNormSpin" >
348         <property name="alignment" >
349          <set>Qt::AlignRight</set>
350         </property>
351        </widget>
352       </item>
353      </layout>
354     </widget>
355    </item>
356    <item>
357     <widget class="QGroupBox" name="groupBox_4" >
358      <property name="title" >
359       <string>_("Last.fm")</string>
360      </property>
361      <layout class="QGridLayout" >
362       <item row="0" column="0" colspan="2" >
363        <widget class="QCheckBox" name="lastfm" >
364         <property name="text" >
365          <string>_("Enable last.fm submission")</string>
366         </property>
367        </widget>
368       </item>
369       <item row="1" column="1" colspan="2" >
370        <widget class="QLineEdit" name="lastfm_user_edit" />
371       </item>
372       <item row="1" column="0" >
373        <widget class="QLabel" name="lastfm_user_label" >
374         <property name="text" >
375          <string>_("Username")</string>
376         </property>
377        </widget>
378       </item>
379       <item row="2" column="0" >
380        <widget class="QLabel" name="lastfm_pass_label" >
381         <property name="text" >
382          <string>_("Password")</string>
383         </property>
384        </widget>
385       </item>
386       <item row="2" column="1" colspan="2" >
387        <widget class="QLineEdit" name="lastfm_pass_edit" >
388         <property name="echoMode" >
389          <enum>QLineEdit::PasswordEchoOnEdit</enum>
390         </property>
391        </widget>
392       </item>
393      </layout>
394     </widget>
395    </item>
396   </layout>
397  </widget>
398  <tabstops>
399   <tabstop>enableAudio</tabstop>
400   <tabstop>defaultVolume</tabstop>
401   <tabstop>spdifBox</tabstop>
402   <tabstop>detectionDolby</tabstop>
403   <tabstop>preferredAudioLanguage</tabstop>
404   <tabstop>outputModule</tabstop>
405   <tabstop>alsaDevice</tabstop>
406   <tabstop>DirectXDevice</tabstop>
407   <tabstop>OSSDevice</tabstop>
408   <tabstop>OSSBrowse</tabstop>
409   <tabstop>fileBrowseButton</tabstop>
410   <tabstop>headphoneEffect</tabstop>
411   <tabstop>volNormBox</tabstop>
412   <tabstop>volNormSpin</tabstop>
413   <tabstop>visualisation</tabstop>
414  </tabstops>
415  <resources/>
416  <connections>
417   <connection>
418    <sender>lastfm</sender>
419    <signal>toggled(bool)</signal>
420    <receiver>lastfm_pass_edit</receiver>
421    <slot>setVisible(bool)</slot>
422    <hints>
423     <hint type="sourcelabel" >
424      <x>188</x>
425      <y>619</y>
426     </hint>
427     <hint type="destinationlabel" >
428      <x>360</x>
429      <y>689</y>
430     </hint>
431    </hints>
432   </connection>
433   <connection>
434    <sender>lastfm</sender>
435    <signal>toggled(bool)</signal>
436    <receiver>lastfm_pass_label</receiver>
437    <slot>setVisible(bool)</slot>
438    <hints>
439     <hint type="sourcelabel" >
440      <x>188</x>
441      <y>619</y>
442     </hint>
443     <hint type="destinationlabel" >
444      <x>102</x>
445      <y>689</y>
446     </hint>
447    </hints>
448   </connection>
449   <connection>
450    <sender>lastfm</sender>
451    <signal>toggled(bool)</signal>
452    <receiver>lastfm_user_edit</receiver>
453    <slot>setVisible(bool)</slot>
454    <hints>
455     <hint type="sourcelabel" >
456      <x>188</x>
457      <y>619</y>
458     </hint>
459     <hint type="destinationlabel" >
460      <x>360</x>
461      <y>653</y>
462     </hint>
463    </hints>
464   </connection>
465   <connection>
466    <sender>lastfm</sender>
467    <signal>toggled(bool)</signal>
468    <receiver>lastfm_user_label</receiver>
469    <slot>setVisible(bool)</slot>
470    <hints>
471     <hint type="sourcelabel" >
472      <x>188</x>
473      <y>619</y>
474     </hint>
475     <hint type="destinationlabel" >
476      <x>102</x>
477      <y>653</y>
478     </hint>
479    </hints>
480   </connection>
481  </connections>
482 </ui>