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