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