]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
Qt: Simple preferences simplifications
[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="3" column="0">
257           <widget class="QCheckBox" name="volNormBox">
258            <property name="sizePolicy">
259             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
260              <horstretch>0</horstretch>
261              <verstretch>0</verstretch>
262             </sizepolicy>
263            </property>
264            <property name="minimumSize">
265             <size>
266              <width>250</width>
267              <height>0</height>
268             </size>
269            </property>
270            <property name="maximumSize">
271             <size>
272              <width>250</width>
273              <height>16777215</height>
274             </size>
275            </property>
276            <property name="text">
277             <string>Normalize volume to:</string>
278            </property>
279           </widget>
280          </item>
281          <item row="3" column="1">
282           <widget class="QDoubleSpinBox" name="volNormSpin">
283            <property name="enabled">
284             <bool>true</bool>
285            </property>
286            <property name="alignment">
287             <set>Qt::AlignRight</set>
288            </property>
289           </widget>
290          </item>
291          <item row="3" column="2">
292           <spacer name="horizontalSpacer">
293            <property name="orientation">
294             <enum>Qt::Horizontal</enum>
295            </property>
296            <property name="sizeHint" stdset="0">
297             <size>
298              <width>268</width>
299              <height>20</height>
300             </size>
301            </property>
302           </spacer>
303          </item>
304          <item row="7" column="0">
305           <widget class="QLabel" name="visuLabel">
306            <property name="minimumSize">
307             <size>
308              <width>250</width>
309              <height>0</height>
310             </size>
311            </property>
312            <property name="text">
313             <string>Visualization:</string>
314            </property>
315            <property name="buddy">
316             <cstring>visualisation</cstring>
317            </property>
318           </widget>
319          </item>
320          <item row="7" column="2">
321           <widget class="QComboBox" name="visualisation">
322            <property name="sizePolicy">
323             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
324              <horstretch>0</horstretch>
325              <verstretch>0</verstretch>
326             </sizepolicy>
327            </property>
328           </widget>
329          </item>
330          <item row="0" column="0">
331           <widget class="QCheckBox" name="autoscaleBox">
332            <property name="text">
333             <string>Enable Time-Stretching audio</string>
334            </property>
335           </widget>
336          </item>
337          <item row="5" column="0">
338           <widget class="QLabel" name="dolbyLabel">
339            <property name="sizePolicy">
340             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
341              <horstretch>0</horstretch>
342              <verstretch>0</verstretch>
343             </sizepolicy>
344            </property>
345            <property name="minimumSize">
346             <size>
347              <width>250</width>
348              <height>0</height>
349             </size>
350            </property>
351            <property name="maximumSize">
352             <size>
353              <width>250</width>
354              <height>16777215</height>
355             </size>
356            </property>
357            <property name="text">
358             <string>Dolby Surround:</string>
359            </property>
360            <property name="buddy">
361             <cstring>detectionDolby</cstring>
362            </property>
363           </widget>
364          </item>
365          <item row="5" column="2">
366           <widget class="QComboBox" name="detectionDolby">
367            <property name="sizePolicy">
368             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
369              <horstretch>0</horstretch>
370              <verstretch>0</verstretch>
371             </sizepolicy>
372            </property>
373            <property name="currentIndex">
374             <number>-1</number>
375            </property>
376           </widget>
377          </item>
378          <item row="4" column="0">
379           <widget class="QLabel" name="replayLabel">
380            <property name="minimumSize">
381             <size>
382              <width>250</width>
383              <height>0</height>
384             </size>
385            </property>
386            <property name="text">
387             <string>Replay gain mode:</string>
388            </property>
389            <property name="alignment">
390             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
391            </property>
392           </widget>
393          </item>
394          <item row="4" column="2">
395           <widget class="QComboBox" name="replayCombo">
396            <property name="sizePolicy">
397             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
398              <horstretch>0</horstretch>
399              <verstretch>0</verstretch>
400             </sizepolicy>
401            </property>
402           </widget>
403          </item>
404          <item row="6" column="0">
405           <widget class="QCheckBox" name="headphoneEffect">
406            <property name="sizePolicy">
407             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
408              <horstretch>0</horstretch>
409              <verstretch>0</verstretch>
410             </sizepolicy>
411            </property>
412            <property name="text">
413             <string>Headphone surround effect</string>
414            </property>
415           </widget>
416          </item>
417         </layout>
418        </widget>
419       </item>
420       <item>
421        <widget class="QGroupBox" name="groupBox_3">
422         <property name="title">
423          <string>Tracks</string>
424         </property>
425         <layout class="QGridLayout" name="gridLayout_3">
426          <property name="bottomMargin">
427           <number>0</number>
428          </property>
429          <item row="0" column="0">
430           <widget class="QLabel" name="langLabel">
431            <property name="minimumSize">
432             <size>
433              <width>250</width>
434              <height>0</height>
435             </size>
436            </property>
437            <property name="text">
438             <string>Preferred audio language:</string>
439            </property>
440            <property name="buddy">
441             <cstring>preferredAudioLanguage</cstring>
442            </property>
443           </widget>
444          </item>
445          <item row="0" column="1">
446           <widget class="QLineEdit" name="preferredAudioLanguage"/>
447          </item>
448          <item row="2" column="0" colspan="2">
449           <widget class="QWidget" name="lastfm_zone" native="true">
450            <property name="enabled">
451             <bool>true</bool>
452            </property>
453            <layout class="QGridLayout" name="gridLayout">
454             <property name="margin">
455              <number>0</number>
456             </property>
457             <item row="0" column="1">
458              <widget class="QLineEdit" name="lastfm_user_edit">
459               <property name="sizePolicy">
460                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
461                 <horstretch>0</horstretch>
462                 <verstretch>0</verstretch>
463                </sizepolicy>
464               </property>
465              </widget>
466             </item>
467             <item row="1" column="1">
468              <widget class="QLineEdit" name="lastfm_pass_edit">
469               <property name="sizePolicy">
470                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
471                 <horstretch>0</horstretch>
472                 <verstretch>0</verstretch>
473                </sizepolicy>
474               </property>
475               <property name="echoMode">
476                <enum>QLineEdit::Password</enum>
477               </property>
478              </widget>
479             </item>
480             <item row="1" column="0">
481              <widget class="QLabel" name="lastfm_pass_label">
482               <property name="maximumSize">
483                <size>
484                 <width>250</width>
485                 <height>16777215</height>
486                </size>
487               </property>
488               <property name="text">
489                <string>Password:</string>
490               </property>
491               <property name="alignment">
492                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
493               </property>
494               <property name="buddy">
495                <cstring>lastfm_pass_edit</cstring>
496               </property>
497              </widget>
498             </item>
499             <item row="0" column="0">
500              <widget class="QLabel" name="lastfm_user_label">
501               <property name="maximumSize">
502                <size>
503                 <width>250</width>
504                 <height>16777215</height>
505                </size>
506               </property>
507               <property name="text">
508                <string>Username:</string>
509               </property>
510               <property name="alignment">
511                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
512               </property>
513               <property name="buddy">
514                <cstring>lastfm_user_edit</cstring>
515               </property>
516              </widget>
517             </item>
518            </layout>
519           </widget>
520          </item>
521          <item row="1" column="0" colspan="2">
522           <widget class="QCheckBox" name="lastfm">
523            <property name="text">
524             <string>Submit played tracks stats to Last.fm</string>
525            </property>
526           </widget>
527          </item>
528         </layout>
529        </widget>
530       </item>
531      </layout>
532     </widget>
533    </item>
534   </layout>
535  </widget>
536  <tabstops>
537   <tabstop>enableAudio</tabstop>
538   <tabstop>outputModule</tabstop>
539   <tabstop>fileName</tabstop>
540   <tabstop>fileBrowseButton</tabstop>
541  </tabstops>
542  <resources/>
543  <connections/>
544 </ui>