]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_interface.ui
Qt: Fix simple preferences according to new ui modes
[vlc] / 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>802</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         <property name="sizePolicy">
336          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
337           <horstretch>10</horstretch>
338           <verstretch>0</verstretch>
339          </sizepolicy>
340         </property>
341         <layout class="QGridLayout" name="gridLayout_4">
342          <property name="margin">
343           <number>0</number>
344          </property>
345          <item row="4" column="0">
346           <widget class="QCheckBox" name="resizingBox">
347            <property name="text">
348             <string>Resize interface to video size</string>
349            </property>
350           </widget>
351          </item>
352          <item row="8" column="1">
353           <widget class="QComboBox" name="stylesCombo"/>
354          </item>
355          <item row="8" column="0">
356           <widget class="QLabel" name="label">
357            <property name="text">
358             <string>Force window style:</string>
359            </property>
360            <property name="buddy">
361             <cstring>stylesCombo</cstring>
362            </property>
363           </widget>
364          </item>
365          <item row="5" column="0">
366           <widget class="QCheckBox" name="systrayBox">
367            <property name="text">
368             <string>Show systray icon</string>
369            </property>
370           </widget>
371          </item>
372          <item row="4" column="1">
373           <widget class="QCheckBox" name="embedVideo">
374            <property name="text">
375             <string>Embed video in interface</string>
376            </property>
377           </widget>
378          </item>
379          <item row="5" column="1">
380           <widget class="QCheckBox" name="sysPop">
381            <property name="text">
382             <string> Systray popup when minimized</string>
383            </property>
384           </widget>
385          </item>
386          <item row="0" column="1">
387           <widget class="QCheckBox" name="fsController">
388            <property name="text">
389             <string>Show controls in full screen mode</string>
390            </property>
391           </widget>
392          </item>
393          <item row="0" column="0">
394           <widget class="QCheckBox" name="minimalviewBox">
395            <property name="text">
396             <string>Minimal view mode (no toolbars)</string>
397            </property>
398           </widget>
399          </item>
400         </layout>
401        </widget>
402       </item>
403       <item row="0" column="0" colspan="2">
404        <widget class="QRadioButton" name="qt4">
405         <property name="toolTip">
406          <string>This is VLC's default interface, with a native look and feel.</string>
407         </property>
408         <property name="text">
409          <string>Use native style</string>
410         </property>
411         <property name="checked">
412          <bool>true</bool>
413         </property>
414        </widget>
415       </item>
416       <item row="1" column="0" rowspan="2" colspan="2">
417        <widget class="InterfacePreviewWidget" name="mainPreview">
418         <property name="minimumSize">
419          <size>
420           <width>0</width>
421           <height>100</height>
422          </size>
423         </property>
424         <property name="alignment">
425          <set>Qt::AlignHCenter|Qt::AlignTop</set>
426         </property>
427        </widget>
428       </item>
429       <item row="8" column="0" colspan="2">
430        <widget class="InterfacePreviewWidget" name="skinsPreview">
431         <property name="alignment">
432          <set>Qt::AlignCenter</set>
433         </property>
434        </widget>
435       </item>
436      </layout>
437     </widget>
438    </item>
439   </layout>
440  </widget>
441  <customwidgets>
442   <customwidget>
443    <class>InterfacePreviewWidget</class>
444    <extends>QLabel</extends>
445    <header>components/preferences_widgets.hpp</header>
446   </customwidget>
447  </customwidgets>
448  <tabstops>
449   <tabstop>OneInterfaceMode</tabstop>
450   <tabstop>artFetcher</tabstop>
451   <tabstop>updatesBox</tabstop>
452  </tabstops>
453  <resources/>
454  <connections/>
455 </ui>