]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
Qt sprefs, cleaning of Audio and Interface parts
[vlc] / modules / gui / qt4 / ui / sprefs_audio.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <author>Jean-Baptiste Kempf</author>
4  <class>SPrefsAudio</class>
5  <widget class="QWidget" name="SPrefsAudio">
6   <property name="geometry">
7    <rect>
8     <x>0</x>
9     <y>0</y>
10     <width>703</width>
11     <height>656</height>
12    </rect>
13   </property>
14   <property name="sizePolicy">
15    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
16     <horstretch>0</horstretch>
17     <verstretch>0</verstretch>
18    </sizepolicy>
19   </property>
20   <property name="windowTitle">
21    <string>Form</string>
22   </property>
23   <layout class="QVBoxLayout" name="verticalLayout_2">
24    <item>
25     <widget class="QCheckBox" name="enableAudio">
26      <property name="text">
27       <string>Enable audio</string>
28      </property>
29      <property name="checked">
30       <bool>true</bool>
31      </property>
32     </widget>
33    </item>
34    <item>
35     <widget class="QWidget" name="SPrefsAudio_zone" native="true">
36      <layout class="QVBoxLayout" name="verticalLayout">
37       <item>
38        <widget class="QGroupBox" name="audioBox">
39         <property name="title">
40          <string>Volume</string>
41         </property>
42         <layout class="QGridLayout">
43          <property name="bottomMargin">
44           <number>0</number>
45          </property>
46          <item row="0" column="0" colspan="2">
47           <widget class="QRadioButton" name="keepVolumeRadio">
48            <property name="minimumSize">
49             <size>
50              <width>250</width>
51              <height>0</height>
52             </size>
53            </property>
54            <property name="text">
55             <string>Keep audio level between sessions</string>
56            </property>
57           </widget>
58          </item>
59          <item row="1" column="0" colspan="2">
60           <widget class="QRadioButton" name="resetVolumeRadio">
61            <property name="minimumSize">
62             <size>
63              <width>250</width>
64              <height>0</height>
65             </size>
66            </property>
67            <property name="text">
68             <string>Always reset audio start level to:</string>
69            </property>
70            <property name="checked">
71             <bool>true</bool>
72            </property>
73           </widget>
74          </item>
75          <item row="1" column="2">
76           <widget class="QWidget" name="defaultVolume_zone" native="true">
77            <layout class="QHBoxLayout" name="horizontalLayout">
78             <property name="spacing">
79              <number>0</number>
80             </property>
81             <property name="sizeConstraint">
82              <enum>QLayout::SetDefaultConstraint</enum>
83             </property>
84             <property name="margin">
85              <number>0</number>
86             </property>
87             <item>
88              <widget class="QSlider" name="defaultVolume">
89               <property name="sizePolicy">
90                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
91                 <horstretch>0</horstretch>
92                 <verstretch>0</verstretch>
93                </sizepolicy>
94               </property>
95               <property name="minimumSize">
96                <size>
97                 <width>140</width>
98                 <height>0</height>
99                </size>
100               </property>
101               <property name="layoutDirection">
102                <enum>Qt::LeftToRight</enum>
103               </property>
104               <property name="maximum">
105                <number>200</number>
106               </property>
107               <property name="value">
108                <number>100</number>
109               </property>
110               <property name="orientation">
111                <enum>Qt::Horizontal</enum>
112               </property>
113              </widget>
114             </item>
115             <item>
116              <widget class="QSpinBox" name="volumeValue">
117               <property name="sizePolicy">
118                <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
119                 <horstretch>0</horstretch>
120                 <verstretch>0</verstretch>
121                </sizepolicy>
122               </property>
123               <property name="wrapping">
124                <bool>false</bool>
125               </property>
126               <property name="alignment">
127                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
128               </property>
129               <property name="readOnly">
130                <bool>true</bool>
131               </property>
132               <property name="suffix">
133                <string> %</string>
134               </property>
135               <property name="maximum">
136                <number>200</number>
137               </property>
138               <property name="value">
139                <number>100</number>
140               </property>
141              </widget>
142             </item>
143            </layout>
144           </widget>
145          </item>
146         </layout>
147        </widget>
148       </item>
149       <item>
150        <widget class="QGroupBox" name="outputAudioBox">
151         <property name="title">
152          <string>Output</string>
153         </property>
154         <layout class="QGridLayout" name="outputAudioLayout">
155          <property name="bottomMargin">
156           <number>0</number>
157          </property>
158          <item row="0" column="0">
159           <widget class="QLabel" name="outputLabel">
160            <property name="minimumSize">
161             <size>
162              <width>250</width>
163              <height>0</height>
164             </size>
165            </property>
166            <property name="text">
167             <string>Output module:</string>
168            </property>
169            <property name="buddy">
170             <cstring>outputModule</cstring>
171            </property>
172           </widget>
173          </item>
174          <item row="0" column="1">
175           <widget class="QComboBox" name="outputModule">
176            <property name="enabled">
177             <bool>true</bool>
178            </property>
179            <property name="sizePolicy">
180             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
181              <horstretch>0</horstretch>
182              <verstretch>0</verstretch>
183             </sizepolicy>
184            </property>
185           </widget>
186          </item>
187          <item row="1" column="0" colspan="2">
188           <widget class="QWidget" name="fileControl" native="true">
189            <layout class="QHBoxLayout">
190             <property name="spacing">
191              <number>0</number>
192             </property>
193             <property name="margin">
194              <number>0</number>
195             </property>
196             <item>
197              <widget class="QLabel" name="fileLabel">
198               <property name="minimumSize">
199                <size>
200                 <width>256</width>
201                 <height>0</height>
202                </size>
203               </property>
204               <property name="text">
205                <string>Destination file:</string>
206               </property>
207               <property name="buddy">
208                <cstring>fileName</cstring>
209               </property>
210              </widget>
211             </item>
212             <item>
213              <widget class="QLineEdit" name="fileName"/>
214             </item>
215             <item>
216              <widget class="QPushButton" name="fileBrowseButton">
217               <property name="text">
218                <string>Browse...</string>
219               </property>
220              </widget>
221             </item>
222            </layout>
223           </widget>
224          </item>
225          <item row="3" column="1">
226           <widget class="QCheckBox" name="spdifBox">
227            <property name="sizePolicy">
228             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
229              <horstretch>0</horstretch>
230              <verstretch>0</verstretch>
231             </sizepolicy>
232            </property>
233            <property name="text">
234             <string>Use S/PDIF when available</string>
235            </property>
236           </widget>
237          </item>
238         </layout>
239        </widget>
240       </item>
241       <item>
242        <widget class="QGroupBox" name="groupBox_2">
243         <property name="sizePolicy">
244          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
245           <horstretch>0</horstretch>
246           <verstretch>0</verstretch>
247          </sizepolicy>
248         </property>
249         <property name="title">
250          <string>Effects</string>
251         </property>
252         <property name="checkable">
253          <bool>false</bool>
254         </property>
255         <layout class="QGridLayout" name="gridLayout_2">
256          <item row="8" column="0">
257           <widget class="QLabel" name="visuLabel">
258            <property name="minimumSize">
259             <size>
260              <width>250</width>
261              <height>0</height>
262             </size>
263            </property>
264            <property name="text">
265             <string>Visualization:</string>
266            </property>
267            <property name="buddy">
268             <cstring>visualisation</cstring>
269            </property>
270           </widget>
271          </item>
272          <item row="8" column="2" colspan="2">
273           <widget class="QComboBox" name="visualisation">
274            <property name="sizePolicy">
275             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
276              <horstretch>0</horstretch>
277              <verstretch>0</verstretch>
278             </sizepolicy>
279            </property>
280           </widget>
281          </item>
282          <item row="0" column="0">
283           <widget class="QCheckBox" name="autoscaleBox">
284            <property name="text">
285             <string>Enable Time-Stretching audio</string>
286            </property>
287           </widget>
288          </item>
289          <item row="6" column="0">
290           <widget class="QLabel" name="dolbyLabel">
291            <property name="sizePolicy">
292             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
293              <horstretch>0</horstretch>
294              <verstretch>0</verstretch>
295             </sizepolicy>
296            </property>
297            <property name="minimumSize">
298             <size>
299              <width>250</width>
300              <height>0</height>
301             </size>
302            </property>
303            <property name="maximumSize">
304             <size>
305              <width>250</width>
306              <height>16777215</height>
307             </size>
308            </property>
309            <property name="text">
310             <string>Dolby Surround:</string>
311            </property>
312            <property name="buddy">
313             <cstring>detectionDolby</cstring>
314            </property>
315           </widget>
316          </item>
317          <item row="5" column="0">
318           <widget class="QLabel" name="replayLabel">
319            <property name="minimumSize">
320             <size>
321              <width>250</width>
322              <height>0</height>
323             </size>
324            </property>
325            <property name="text">
326             <string>Replay gain mode:</string>
327            </property>
328            <property name="alignment">
329             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
330            </property>
331           </widget>
332          </item>
333          <item row="5" column="3">
334           <widget class="QComboBox" name="replayCombo">
335            <property name="sizePolicy">
336             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
337              <horstretch>0</horstretch>
338              <verstretch>0</verstretch>
339             </sizepolicy>
340            </property>
341           </widget>
342          </item>
343          <item row="6" column="3">
344           <widget class="QCheckBox" name="headphoneEffect">
345            <property name="sizePolicy">
346             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
347              <horstretch>0</horstretch>
348              <verstretch>0</verstretch>
349             </sizepolicy>
350            </property>
351            <property name="text">
352             <string>Headphone surround effect</string>
353            </property>
354           </widget>
355          </item>
356          <item row="6" column="2">
357           <widget class="QComboBox" name="detectionDolby">
358            <property name="sizePolicy">
359             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
360              <horstretch>0</horstretch>
361              <verstretch>0</verstretch>
362             </sizepolicy>
363            </property>
364            <property name="currentIndex">
365             <number>-1</number>
366            </property>
367           </widget>
368          </item>
369          <item row="4" column="0">
370           <widget class="QCheckBox" name="volNormBox">
371            <property name="sizePolicy">
372             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
373              <horstretch>0</horstretch>
374              <verstretch>0</verstretch>
375             </sizepolicy>
376            </property>
377            <property name="minimumSize">
378             <size>
379              <width>250</width>
380              <height>0</height>
381             </size>
382            </property>
383            <property name="maximumSize">
384             <size>
385              <width>250</width>
386              <height>16777215</height>
387             </size>
388            </property>
389            <property name="text">
390             <string>Normalize volume to:</string>
391            </property>
392           </widget>
393          </item>
394          <item row="4" column="2">
395           <widget class="QDoubleSpinBox" name="volNormSpin">
396            <property name="enabled">
397             <bool>true</bool>
398            </property>
399            <property name="alignment">
400             <set>Qt::AlignRight</set>
401            </property>
402           </widget>
403          </item>
404          <item row="4" column="3">
405           <spacer name="horizontalSpacer">
406            <property name="orientation">
407             <enum>Qt::Horizontal</enum>
408            </property>
409            <property name="sizeHint" stdset="0">
410             <size>
411              <width>40</width>
412              <height>20</height>
413             </size>
414            </property>
415           </spacer>
416          </item>
417          <item row="7" column="2" colspan="2">
418           <widget class="Line" name="line">
419            <property name="orientation">
420             <enum>Qt::Horizontal</enum>
421            </property>
422           </widget>
423          </item>
424         </layout>
425        </widget>
426       </item>
427       <item>
428        <widget class="QGroupBox" name="groupBox_3">
429         <property name="title">
430          <string>Tracks</string>
431         </property>
432         <layout class="QGridLayout" name="gridLayout_3">
433          <property name="bottomMargin">
434           <number>0</number>
435          </property>
436          <item row="0" column="0">
437           <widget class="QLabel" name="langLabel">
438            <property name="minimumSize">
439             <size>
440              <width>250</width>
441              <height>0</height>
442             </size>
443            </property>
444            <property name="text">
445             <string>Preferred audio language:</string>
446            </property>
447            <property name="buddy">
448             <cstring>preferredAudioLanguage</cstring>
449            </property>
450           </widget>
451          </item>
452          <item row="0" column="1">
453           <widget class="QLineEdit" name="preferredAudioLanguage"/>
454          </item>
455          <item row="2" column="0" colspan="2">
456           <widget class="QWidget" name="lastfm_zone" native="true">
457            <property name="enabled">
458             <bool>true</bool>
459            </property>
460            <layout class="QGridLayout" name="gridLayout">
461             <property name="margin">
462              <number>0</number>
463             </property>
464             <item row="0" column="1">
465              <widget class="QLineEdit" name="lastfm_user_edit">
466               <property name="sizePolicy">
467                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
468                 <horstretch>0</horstretch>
469                 <verstretch>0</verstretch>
470                </sizepolicy>
471               </property>
472              </widget>
473             </item>
474             <item row="1" column="1">
475              <widget class="QLineEdit" name="lastfm_pass_edit">
476               <property name="sizePolicy">
477                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
478                 <horstretch>0</horstretch>
479                 <verstretch>0</verstretch>
480                </sizepolicy>
481               </property>
482               <property name="echoMode">
483                <enum>QLineEdit::Password</enum>
484               </property>
485              </widget>
486             </item>
487             <item row="1" column="0">
488              <widget class="QLabel" name="lastfm_pass_label">
489               <property name="maximumSize">
490                <size>
491                 <width>250</width>
492                 <height>16777215</height>
493                </size>
494               </property>
495               <property name="text">
496                <string>Password:</string>
497               </property>
498               <property name="alignment">
499                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
500               </property>
501               <property name="buddy">
502                <cstring>lastfm_pass_edit</cstring>
503               </property>
504              </widget>
505             </item>
506             <item row="0" column="0">
507              <widget class="QLabel" name="lastfm_user_label">
508               <property name="maximumSize">
509                <size>
510                 <width>250</width>
511                 <height>16777215</height>
512                </size>
513               </property>
514               <property name="text">
515                <string>Username:</string>
516               </property>
517               <property name="alignment">
518                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
519               </property>
520               <property name="buddy">
521                <cstring>lastfm_user_edit</cstring>
522               </property>
523              </widget>
524             </item>
525            </layout>
526           </widget>
527          </item>
528          <item row="1" column="0" colspan="2">
529           <widget class="QCheckBox" name="lastfm">
530            <property name="text">
531             <string>Submit played tracks stats to Last.fm</string>
532            </property>
533           </widget>
534          </item>
535         </layout>
536        </widget>
537       </item>
538      </layout>
539     </widget>
540    </item>
541   </layout>
542  </widget>
543  <tabstops>
544   <tabstop>enableAudio</tabstop>
545   <tabstop>outputModule</tabstop>
546   <tabstop>fileName</tabstop>
547   <tabstop>fileBrowseButton</tabstop>
548  </tabstops>
549  <resources/>
550  <connections/>
551 </ui>