]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_audio.ui
Simple Preferences - Audio: Don't build widget not useful for your platform instead...
[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="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         <property name="buddy" >
116          <cstring>detectionDolby</cstring>
117         </property>
118        </widget>
119       </item>
120       <item row="2" column="1" 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="1" colspan="3" >
150        <widget class="QLineEdit" name="preferredAudioLanguage" />
151       </item>
152      </layout>
153     </widget>
154    </item>
155    <item>
156     <widget class="QGroupBox" name="outputAudioBox" >
157      <property name="title" >
158       <string>Output</string>
159      </property>
160      <layout class="QGridLayout" name="outputAudioLayout" >
161       <item row="0" column="0" >
162        <widget class="QLabel" name="label_3" >
163         <property name="minimumSize" >
164          <size>
165           <width>100</width>
166           <height>0</height>
167          </size>
168         </property>
169         <property name="text" >
170          <string>_("Type")</string>
171         </property>
172         <property name="buddy" >
173          <cstring>outputModule</cstring>
174         </property>
175        </widget>
176       </item>
177       <item row="0" column="1" >
178        <widget class="QComboBox" name="outputModule" >
179         <property name="enabled" >
180          <bool>true</bool>
181         </property>
182         <property name="sizePolicy" >
183          <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
184           <horstretch>0</horstretch>
185           <verstretch>0</verstretch>
186          </sizepolicy>
187         </property>
188        </widget>
189       </item>
190       <item row="1" column="0" colspan="2" >
191        <widget class="QWidget" native="1" name="fileControl" >
192         <layout class="QHBoxLayout" >
193         <property name="spacing">
194           <number>0</number>
195           </property>
196         <property name="margin">
197           <number>0</number>
198           </property>
199          <item>
200           <widget class="QLabel" name="fileLabel" >
201            <property name="minimumSize" >
202             <size>
203              <width>100</width>
204              <height>0</height>
205             </size>
206            </property>
207            <property name="text" >
208             <string>_("File")</string>
209            </property>
210            <property name="buddy" >
211             <cstring>fileName</cstring>
212            </property>
213           </widget>
214          </item>
215          <item>
216           <widget class="QLineEdit" name="fileName" />
217          </item>
218          <item>
219           <widget class="QPushButton" name="fileBrowseButton" >
220            <property name="text" >
221             <string>_("Browse...")</string>
222            </property>
223           </widget>
224          </item>
225         </layout>
226        </widget>
227       </item>
228      </layout>
229     </widget>
230    </item>
231    <item>
232     <widget class="QGroupBox" name="groupBox" >
233      <property name="title" >
234       <string>_("Effects")</string>
235      </property>
236      <layout class="QGridLayout" >
237       <item row="2" column="1" >
238        <widget class="QComboBox" name="visualisation" />
239       </item>
240       <item row="0" column="0" >
241        <widget class="QCheckBox" name="headphoneEffect" >
242         <property name="text" >
243          <string>_("Headphone surround effect")</string>
244         </property>
245        </widget>
246       </item>
247       <item row="1" column="0" >
248        <widget class="QCheckBox" name="volNormBox" >
249         <property name="text" >
250          <string>_("Volume normalizer")</string>
251         </property>
252        </widget>
253       </item>
254       <item row="2" column="0" >
255        <widget class="QLabel" name="label_5" >
256         <property name="text" >
257          <string>_("Visualization")</string>
258         </property>
259         <property name="buddy" >
260          <cstring>visualisation</cstring>
261         </property>
262        </widget>
263       </item>
264       <item row="1" column="1" >
265        <widget class="QDoubleSpinBox" name="volNormSpin" >
266         <property name="alignment" >
267          <set>Qt::AlignRight</set>
268         </property>
269        </widget>
270       </item>
271      </layout>
272     </widget>
273    </item>
274    <item>
275     <widget class="QGroupBox" name="lastFMBox" >
276      <property name="title" >
277       <string>_("Last.fm")</string>
278      </property>
279      <layout class="QGridLayout" >
280       <item row="0" column="0" colspan="2" >
281        <widget class="QCheckBox" name="lastfm" >
282         <property name="text" >
283          <string>_("Enable last.fm submission")</string>
284         </property>
285        </widget>
286       </item>
287       <item row="1" column="1" colspan="2" >
288        <widget class="QLineEdit" name="lastfm_user_edit" />
289       </item>
290       <item row="1" column="0" >
291        <widget class="QLabel" name="lastfm_user_label" >
292         <property name="text" >
293          <string>_("Username")</string>
294         </property>
295         <property name="buddy" >
296          <cstring>lastfm_user_edit</cstring>
297         </property>
298        </widget>
299       </item>
300       <item row="2" column="0" >
301        <widget class="QLabel" name="lastfm_pass_label" >
302         <property name="text" >
303          <string>_("Password")</string>
304         </property>
305         <property name="buddy" >
306          <cstring>lastfm_pass_edit</cstring>
307         </property>
308        </widget>
309       </item>
310       <item row="2" column="1" colspan="2" >
311        <widget class="QLineEdit" name="lastfm_pass_edit" >
312         <property name="echoMode" >
313          <enum>QLineEdit::PasswordEchoOnEdit</enum>
314         </property>
315        </widget>
316       </item>
317      </layout>
318     </widget>
319    </item>
320   </layout>
321  </widget>
322  <tabstops>
323   <tabstop>enableAudio</tabstop>
324   <tabstop>defaultVolume</tabstop>
325   <tabstop>volumeValue</tabstop>
326   <tabstop>spdifBox</tabstop>
327   <tabstop>saveVolBox</tabstop>
328   <tabstop>detectionDolby</tabstop>
329   <tabstop>preferredAudioLanguage</tabstop>
330   <tabstop>outputModule</tabstop>
331   <tabstop>fileName</tabstop>
332   <tabstop>fileBrowseButton</tabstop>
333   <tabstop>headphoneEffect</tabstop>
334   <tabstop>volNormBox</tabstop>
335   <tabstop>volNormSpin</tabstop>
336   <tabstop>visualisation</tabstop>
337   <tabstop>lastfm</tabstop>
338   <tabstop>lastfm_user_edit</tabstop>
339   <tabstop>lastfm_pass_edit</tabstop>
340  </tabstops>
341  <resources/>
342  <connections>
343   <connection>
344    <sender>lastfm</sender>
345    <signal>toggled(bool)</signal>
346    <receiver>lastfm_pass_edit</receiver>
347    <slot>setVisible(bool)</slot>
348    <hints>
349     <hint type="sourcelabel" >
350      <x>188</x>
351      <y>619</y>
352     </hint>
353     <hint type="destinationlabel" >
354      <x>360</x>
355      <y>689</y>
356     </hint>
357    </hints>
358   </connection>
359   <connection>
360    <sender>lastfm</sender>
361    <signal>toggled(bool)</signal>
362    <receiver>lastfm_pass_label</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>102</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_user_edit</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>360</x>
387      <y>653</y>
388     </hint>
389    </hints>
390   </connection>
391   <connection>
392    <sender>lastfm</sender>
393    <signal>toggled(bool)</signal>
394    <receiver>lastfm_user_label</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>102</x>
403      <y>653</y>
404     </hint>
405    </hints>
406   </connection>
407  </connections>
408 </ui>