Qt: make the preview interface fixed Height
[vlc.git] / modules / gui / qt4 / ui / sprefs_interface.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <author>Jean-Baptiste Kempf</author>
4  <class>SPrefsInterface</class>
5  <widget class="QWidget" name="SPrefsInterface">
6   <property name="geometry">
7    <rect>
8     <x>0</x>
9     <y>0</y>
10     <width>745</width>
11     <height>651</height>
12    </rect>
13   </property>
14   <property name="sizePolicy">
15    <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
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="QGridLayout" name="gridLayout_3">
24    <item row="2" column="0" colspan="2">
25     <widget class="QGroupBox" name="OneInterfaceBox">
26      <property name="title">
27       <string>Instances</string>
28      </property>
29      <layout class="QGridLayout" name="gridLayout_2">
30       <item row="0" column="0">
31        <widget class="QCheckBox" name="OneInterfaceMode">
32         <property name="text">
33          <string>Allow only one instance</string>
34         </property>
35        </widget>
36       </item>
37       <item row="0" column="1" colspan="2">
38        <widget class="QCheckBox" name="EnqueueOneInterfaceMode">
39         <property name="text">
40          <string>Enqueue files when in one instance mode</string>
41         </property>
42        </widget>
43       </item>
44      </layout>
45     </widget>
46    </item>
47    <item row="4" column="0" colspan="2">
48     <widget class="QGroupBox" name="groupBox_2">
49      <property name="title">
50       <string>Privacy / Network Interaction</string>
51      </property>
52      <layout class="QGridLayout" name="gridLayout_5">
53       <item row="0" column="0">
54        <widget class="QLabel" name="artFetchLabel">
55         <property name="minimumSize">
56          <size>
57           <width>220</width>
58           <height>0</height>
59          </size>
60         </property>
61         <property name="text">
62          <string>Album art download policy:</string>
63         </property>
64         <property name="buddy">
65          <cstring>artFetcher</cstring>
66         </property>
67        </widget>
68       </item>
69       <item row="0" column="2" colspan="2">
70        <widget class="QComboBox" name="artFetcher"/>
71       </item>
72       <item row="1" column="0">
73        <widget class="QCheckBox" name="updatesBox">
74         <property name="text">
75          <string>Activate update notifier</string>
76         </property>
77        </widget>
78       </item>
79       <item row="1" column="2">
80        <widget class="QSpinBox" name="updatesDays">
81         <property name="sizePolicy">
82          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
83           <horstretch>0</horstretch>
84           <verstretch>0</verstretch>
85          </sizepolicy>
86         </property>
87         <property name="alignment">
88          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
89         </property>
90         <property name="suffix">
91          <string> days</string>
92         </property>
93         <property name="prefix">
94          <string>Every </string>
95         </property>
96        </widget>
97       </item>
98       <item row="1" column="3">
99        <spacer name="horizontalSpacer_2">
100         <property name="orientation">
101          <enum>Qt::Horizontal</enum>
102         </property>
103         <property name="sizeType">
104          <enum>QSizePolicy::Preferred</enum>
105         </property>
106         <property name="sizeHint" stdset="0">
107          <size>
108           <width>200</width>
109           <height>27</height>
110          </size>
111         </property>
112        </spacer>
113       </item>
114       <item row="2" column="0">
115        <widget class="QCheckBox" name="saveRecentlyPlayed">
116         <property name="text">
117          <string>Save recently played items</string>
118         </property>
119        </widget>
120       </item>
121       <item row="2" column="1">
122        <widget class="QLabel" name="filterLabel">
123         <property name="text">
124          <string>Filter:</string>
125         </property>
126         <property name="alignment">
127          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
128         </property>
129         <property name="margin">
130          <number>5</number>
131         </property>
132         <property name="buddy">
133          <cstring>recentlyPlayedFilters</cstring>
134         </property>
135        </widget>
136       </item>
137       <item row="2" column="2" colspan="2">
138        <widget class="QLineEdit" name="recentlyPlayedFilters">
139         <property name="sizePolicy">
140          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
141           <horstretch>0</horstretch>
142           <verstretch>0</verstretch>
143          </sizepolicy>
144         </property>
145         <property name="toolTip">
146          <string>Separate words by | (without space)</string>
147         </property>
148        </widget>
149       </item>
150      </layout>
151     </widget>
152    </item>
153    <item row="0" column="0" colspan="2">
154     <widget class="QGroupBox" name="languageBox">
155      <property name="title">
156       <string>Language</string>
157      </property>
158      <layout class="QHBoxLayout" name="horizontalLayout_3">
159       <item>
160        <widget class="QLabel" name="languageLabel">
161         <property name="maximumSize">
162          <size>
163           <width>220</width>
164           <height>16777215</height>
165          </size>
166         </property>
167         <property name="text">
168          <string>Menus language:</string>
169         </property>
170         <property name="alignment">
171          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
172         </property>
173         <property name="buddy">
174          <cstring>language</cstring>
175         </property>
176        </widget>
177       </item>
178       <item>
179        <widget class="QComboBox" name="language"/>
180       </item>
181      </layout>
182     </widget>
183    </item>
184    <item row="3" column="0" colspan="2">
185     <widget class="QGroupBox" name="assoBox">
186      <property name="title">
187       <string>File associations</string>
188      </property>
189      <layout class="QHBoxLayout" name="horizontalLayout_4">
190       <item>
191        <widget class="QPushButton" name="assoButton">
192         <property name="sizePolicy">
193          <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
194           <horstretch>0</horstretch>
195           <verstretch>0</verstretch>
196          </sizepolicy>
197         </property>
198         <property name="minimumSize">
199          <size>
200           <width>220</width>
201           <height>0</height>
202          </size>
203         </property>
204         <property name="text">
205          <string>Set up associations...</string>
206         </property>
207        </widget>
208       </item>
209       <item>
210        <spacer name="horizontalSpacer">
211         <property name="orientation">
212          <enum>Qt::Horizontal</enum>
213         </property>
214         <property name="sizeHint" stdset="0">
215          <size>
216           <width>40</width>
217           <height>20</height>
218          </size>
219         </property>
220        </spacer>
221       </item>
222      </layout>
223     </widget>
224    </item>
225    <item row="1" column="0" colspan="2">
226     <widget class="QGroupBox" name="LooknfeelBox">
227      <property name="title">
228       <string>Look and feel</string>
229      </property>
230      <layout class="QGridLayout" name="gridLayout">
231       <item row="7" column="0" colspan="2">
232        <widget class="QRadioButton" name="skins">
233         <property name="text">
234          <string>Use custom skin</string>
235         </property>
236        </widget>
237       </item>
238       <item row="7" column="2" colspan="2">
239        <widget class="QLabel" name="skinsLabel">
240         <property name="sizePolicy">
241          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
242           <horstretch>0</horstretch>
243           <verstretch>0</verstretch>
244          </sizepolicy>
245         </property>
246         <property name="frameShape">
247          <enum>QFrame::NoFrame</enum>
248         </property>
249         <property name="text">
250          <string/>
251         </property>
252         <property name="textFormat">
253          <enum>Qt::RichText</enum>
254         </property>
255         <property name="scaledContents">
256          <bool>false</bool>
257         </property>
258         <property name="alignment">
259          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
260         </property>
261         <property name="wordWrap">
262          <bool>true</bool>
263         </property>
264         <property name="margin">
265          <number>5</number>
266         </property>
267         <property name="openExternalLinks">
268          <bool>true</bool>
269         </property>
270        </widget>
271       </item>
272       <item row="6" column="0" colspan="4">
273        <widget class="Line" name="line">
274         <property name="orientation">
275          <enum>Qt::Horizontal</enum>
276         </property>
277        </widget>
278       </item>
279       <item row="8" column="2" colspan="2">
280        <widget class="QWidget" name="skins_zone" native="true">
281         <property name="enabled">
282          <bool>true</bool>
283         </property>
284         <property name="sizePolicy">
285          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
286           <horstretch>0</horstretch>
287           <verstretch>0</verstretch>
288          </sizepolicy>
289         </property>
290         <layout class="QHBoxLayout" name="horizontalLayout_2">
291          <property name="margin">
292           <number>0</number>
293          </property>
294          <item>
295           <widget class="QLabel" name="skinFileLabel">
296            <property name="text">
297             <string>Skin resource file:</string>
298            </property>
299            <property name="alignment">
300             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
301            </property>
302            <property name="buddy">
303             <cstring>fileSkin</cstring>
304            </property>
305           </widget>
306          </item>
307          <item>
308           <widget class="QLineEdit" name="fileSkin">
309            <property name="sizePolicy">
310             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
311              <horstretch>0</horstretch>
312              <verstretch>0</verstretch>
313             </sizepolicy>
314            </property>
315           </widget>
316          </item>
317          <item>
318           <widget class="QPushButton" name="skinBrowse">
319            <property name="sizePolicy">
320             <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
321              <horstretch>0</horstretch>
322              <verstretch>0</verstretch>
323             </sizepolicy>
324            </property>
325            <property name="text">
326             <string>Choose...</string>
327            </property>
328           </widget>
329          </item>
330         </layout>
331        </widget>
332       </item>
333       <item row="0" column="2" rowspan="3" colspan="2">
334        <widget class="QWidget" name="native_zone" native="true">
335         <layout class="QGridLayout" name="gridLayout_4">
336          <property name="margin">
337           <number>0</number>
338          </property>
339          <item row="0" column="1">
340           <widget class="QComboBox" name="displayModeBox">
341            <property name="sizePolicy">
342             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
343              <horstretch>0</horstretch>
344              <verstretch>0</verstretch>
345             </sizepolicy>
346            </property>
347           </widget>
348          </item>
349          <item row="7" column="1">
350           <widget class="QCheckBox" name="fsController">
351            <property name="text">
352             <string>Show controls in full screen mode</string>
353            </property>
354           </widget>
355          </item>
356          <item row="0" column="0">
357           <widget class="QLabel" name="displayLabel">
358            <property name="sizePolicy">
359             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
360              <horstretch>0</horstretch>
361              <verstretch>0</verstretch>
362             </sizepolicy>
363            </property>
364            <property name="layoutDirection">
365             <enum>Qt::LeftToRight</enum>
366            </property>
367            <property name="text">
368             <string>Display mode:</string>
369            </property>
370            <property name="alignment">
371             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
372            </property>
373           </widget>
374          </item>
375          <item row="4" column="1">
376           <widget class="QCheckBox" name="systrayBox">
377            <property name="text">
378             <string>Show systray icon</string>
379            </property>
380           </widget>
381          </item>
382          <item row="4" column="0">
383           <widget class="QCheckBox" name="resizingBox">
384            <property name="text">
385             <string>Resize interface to video size</string>
386            </property>
387           </widget>
388          </item>
389          <item row="7" column="0">
390           <widget class="QCheckBox" name="embedVideo">
391            <property name="text">
392             <string>Embed video in interface</string>
393            </property>
394           </widget>
395          </item>
396          <item row="8" column="1">
397           <widget class="QComboBox" name="stylesCombo"/>
398          </item>
399          <item row="8" column="0">
400           <widget class="QLabel" name="label">
401            <property name="text">
402             <string>Force window style:</string>
403            </property>
404            <property name="buddy">
405             <cstring>stylesCombo</cstring>
406            </property>
407           </widget>
408          </item>
409         </layout>
410        </widget>
411       </item>
412       <item row="0" column="0" colspan="2">
413        <widget class="QRadioButton" name="qt4">
414         <property name="toolTip">
415          <string>This is VLC's default interface, with a native look and feel.</string>
416         </property>
417         <property name="text">
418          <string>Use native style</string>
419         </property>
420         <property name="checked">
421          <bool>true</bool>
422         </property>
423        </widget>
424       </item>
425       <item row="1" column="0" rowspan="2" colspan="2">
426        <widget class="InterfacePreviewWidget" name="mainPreview">
427         <property name="minimumSize">
428          <size>
429           <width>0</width>
430           <height>100</height>
431          </size>
432         </property>
433         <property name="alignment">
434          <set>Qt::AlignHCenter|Qt::AlignTop</set>
435         </property>
436         <property name="buddy">
437          <cstring>displayModeBox</cstring>
438         </property>
439        </widget>
440       </item>
441       <item row="8" column="0" colspan="2">
442        <widget class="InterfacePreviewWidget" name="skinsPreview">
443         <property name="alignment">
444          <set>Qt::AlignCenter</set>
445         </property>
446        </widget>
447       </item>
448      </layout>
449     </widget>
450    </item>
451   </layout>
452  </widget>
453  <customwidgets>
454   <customwidget>
455    <class>InterfacePreviewWidget</class>
456    <extends>QLabel</extends>
457    <header>components/preferences_widgets.hpp</header>
458   </customwidget>
459  </customwidgets>
460  <tabstops>
461   <tabstop>OneInterfaceMode</tabstop>
462   <tabstop>artFetcher</tabstop>
463   <tabstop>updatesBox</tabstop>
464  </tabstops>
465  <resources/>
466  <connections/>
467 </ui>