]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
176eb7afd7dcafd53d5fa8e1e36fc81ca398c37a
[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>541</width>
10     <height>607</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="audioBox" >
29      <property name="title" >
30       <string>_("General Audio")</string>
31      </property>
32      <layout class="QGridLayout" >
33       <item row="0" column="0" colspan="3" >
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="3" >
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="4" >
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="2" 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         <property name="buddy" >
116          <cstring>detectionDolby</cstring>
117         </property>
118        </widget>
119       </item>
120       <item row="2" column="2" colspan="3" >
121        <widget class="QComboBox" name="detectionDolby" >
122         <property name="sizePolicy" >
123          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
124           <horstretch>0</horstretch>
125           <verstretch>0</verstretch>
126          </sizepolicy>
127         </property>
128         <property name="maximumSize" >
129          <size>
130           <width>300</width>
131           <height>16777215</height>
132          </size>
133         </property>
134         <property name="currentIndex" >
135          <number>-1</number>
136         </property>
137        </widget>
138       </item>
139       <item row="3" column="0" >
140        <widget class="QLabel" name="label" >
141         <property name="text" >
142          <string>_("Preferred audio language")</string>
143         </property>
144         <property name="buddy" >
145          <cstring>preferredAudioLanguage</cstring>
146         </property>
147        </widget>
148       </item>
149       <item row="3" column="2" colspan="3" >
150        <widget class="QLineEdit" name="preferredAudioLanguage" />
151       </item>
152       <item row="2" column="1" >
153        <spacer name="horizontalSpacer" >
154         <property name="orientation" >
155          <enum>Qt::Horizontal</enum>
156         </property>
157         <property name="sizeType" >
158          <enum>QSizePolicy::Fixed</enum>
159         </property>
160         <property name="sizeHint" stdset="0" >
161          <size>
162           <width>20</width>
163           <height>20</height>
164          </size>
165         </property>
166        </spacer>
167       </item>
168      </layout>
169     </widget>
170    </item>
171    <item>
172     <widget class="QGroupBox" name="outputAudioBox" >
173      <property name="title" >
174       <string>Output</string>
175      </property>
176      <layout class="QGridLayout" name="outputAudioLayout" >
177       <item row="0" column="0" >
178        <widget class="QLabel" name="label_3" >
179         <property name="minimumSize" >
180          <size>
181           <width>100</width>
182           <height>0</height>
183          </size>
184         </property>
185         <property name="text" >
186          <string>_("Type")</string>
187         </property>
188         <property name="buddy" >
189          <cstring>outputModule</cstring>
190         </property>
191        </widget>
192       </item>
193       <item row="0" column="1" >
194        <widget class="QComboBox" name="outputModule" >
195         <property name="enabled" >
196          <bool>true</bool>
197         </property>
198         <property name="sizePolicy" >
199          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
200           <horstretch>0</horstretch>
201           <verstretch>0</verstretch>
202          </sizepolicy>
203         </property>
204        </widget>
205       </item>
206       <item row="1" column="0" colspan="2" >
207        <widget class="QWidget" native="1" name="fileControl" >
208         <layout class="QHBoxLayout" >
209          <property name="spacing" >
210           <number>0</number>
211          </property>
212          <property name="margin" >
213           <number>0</number>
214          </property>
215          <item>
216           <widget class="QLabel" name="fileLabel" >
217            <property name="minimumSize" >
218             <size>
219              <width>100</width>
220              <height>0</height>
221             </size>
222            </property>
223            <property name="text" >
224             <string>_("File")</string>
225            </property>
226            <property name="buddy" >
227             <cstring>fileName</cstring>
228            </property>
229           </widget>
230          </item>
231          <item>
232           <widget class="QLineEdit" name="fileName" />
233          </item>
234          <item>
235           <widget class="QPushButton" name="fileBrowseButton" >
236            <property name="text" >
237             <string>_("Browse...")</string>
238            </property>
239           </widget>
240          </item>
241         </layout>
242        </widget>
243       </item>
244      </layout>
245     </widget>
246    </item>
247    <item>
248     <widget class="QGroupBox" name="groupBox" >
249      <property name="title" >
250       <string>_("Effects")</string>
251      </property>
252      <layout class="QGridLayout" >
253       <item row="2" column="1" >
254        <widget class="QComboBox" name="visualisation" />
255       </item>
256       <item row="0" column="0" >
257        <widget class="QCheckBox" name="headphoneEffect" >
258         <property name="text" >
259          <string>_("Headphone surround effect")</string>
260         </property>
261        </widget>
262       </item>
263       <item row="1" column="0" >
264        <widget class="QCheckBox" name="volNormBox" >
265         <property name="text" >
266          <string>_("Volume normalizer")</string>
267         </property>
268        </widget>
269       </item>
270       <item row="2" column="0" >
271        <widget class="QLabel" name="label_5" >
272         <property name="text" >
273          <string>_("Visualization")</string>
274         </property>
275         <property name="buddy" >
276          <cstring>visualisation</cstring>
277         </property>
278        </widget>
279       </item>
280       <item row="1" column="1" >
281        <widget class="QDoubleSpinBox" name="volNormSpin" >
282         <property name="alignment" >
283          <set>Qt::AlignRight</set>
284         </property>
285        </widget>
286       </item>
287      </layout>
288     </widget>
289    </item>
290    <item>
291     <widget class="QGroupBox" name="lastFMBox" >
292      <property name="title" >
293       <string>_("last.fm")</string>
294      </property>
295      <layout class="QGridLayout" >
296       <item row="0" column="0" colspan="2" >
297        <widget class="QCheckBox" name="lastfm" >
298         <property name="text" >
299          <string>_("Enable last.fm submission")</string>
300         </property>
301        </widget>
302       </item>
303       <item row="1" column="1" colspan="2" >
304        <widget class="QLineEdit" name="lastfm_user_edit" />
305       </item>
306       <item row="1" column="0" >
307        <widget class="QLabel" name="lastfm_user_label" >
308         <property name="text" >
309          <string>_("Username")</string>
310         </property>
311         <property name="buddy" >
312          <cstring>lastfm_user_edit</cstring>
313         </property>
314        </widget>
315       </item>
316       <item row="2" column="0" >
317        <widget class="QLabel" name="lastfm_pass_label" >
318         <property name="text" >
319          <string>_("Password")</string>
320         </property>
321         <property name="buddy" >
322          <cstring>lastfm_pass_edit</cstring>
323         </property>
324        </widget>
325       </item>
326       <item row="2" column="1" colspan="2" >
327        <widget class="QLineEdit" name="lastfm_pass_edit" >
328         <property name="echoMode" >
329          <enum>QLineEdit::PasswordEchoOnEdit</enum>
330         </property>
331        </widget>
332       </item>
333      </layout>
334     </widget>
335    </item>
336   </layout>
337  </widget>
338  <tabstops>
339   <tabstop>enableAudio</tabstop>
340   <tabstop>defaultVolume</tabstop>
341   <tabstop>volumeValue</tabstop>
342   <tabstop>spdifBox</tabstop>
343   <tabstop>saveVolBox</tabstop>
344   <tabstop>detectionDolby</tabstop>
345   <tabstop>preferredAudioLanguage</tabstop>
346   <tabstop>outputModule</tabstop>
347   <tabstop>fileName</tabstop>
348   <tabstop>fileBrowseButton</tabstop>
349   <tabstop>headphoneEffect</tabstop>
350   <tabstop>volNormBox</tabstop>
351   <tabstop>volNormSpin</tabstop>
352   <tabstop>visualisation</tabstop>
353   <tabstop>lastfm</tabstop>
354   <tabstop>lastfm_user_edit</tabstop>
355   <tabstop>lastfm_pass_edit</tabstop>
356  </tabstops>
357  <resources/>
358  <connections>
359   <connection>
360    <sender>lastfm</sender>
361    <signal>toggled(bool)</signal>
362    <receiver>lastfm_pass_edit</receiver>
363    <slot>setVisible(bool)</slot>
364    <hints>
365     <hint type="sourcelabel" >
366      <x>188</x>
367      <y>619</y>
368     </hint>
369     <hint type="destinationlabel" >
370      <x>360</x>
371      <y>689</y>
372     </hint>
373    </hints>
374   </connection>
375   <connection>
376    <sender>lastfm</sender>
377    <signal>toggled(bool)</signal>
378    <receiver>lastfm_pass_label</receiver>
379    <slot>setVisible(bool)</slot>
380    <hints>
381     <hint type="sourcelabel" >
382      <x>188</x>
383      <y>619</y>
384     </hint>
385     <hint type="destinationlabel" >
386      <x>102</x>
387      <y>689</y>
388     </hint>
389    </hints>
390   </connection>
391   <connection>
392    <sender>lastfm</sender>
393    <signal>toggled(bool)</signal>
394    <receiver>lastfm_user_edit</receiver>
395    <slot>setVisible(bool)</slot>
396    <hints>
397     <hint type="sourcelabel" >
398      <x>188</x>
399      <y>619</y>
400     </hint>
401     <hint type="destinationlabel" >
402      <x>360</x>
403      <y>653</y>
404     </hint>
405    </hints>
406   </connection>
407   <connection>
408    <sender>lastfm</sender>
409    <signal>toggled(bool)</signal>
410    <receiver>lastfm_user_label</receiver>
411    <slot>setVisible(bool)</slot>
412    <hints>
413     <hint type="sourcelabel" >
414      <x>188</x>
415      <y>619</y>
416     </hint>
417     <hint type="destinationlabel" >
418      <x>102</x>
419      <y>653</y>
420     </hint>
421    </hints>
422   </connection>
423  </connections>
424 </ui>