]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_subtitles.ui
Qt: layout subtitles prefs
[vlc] / modules / gui / qt4 / ui / sprefs_subtitles.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <author>Jean-Baptiste Kempf</author>
4  <class>SPrefsSubtitles</class>
5  <widget class="QWidget" name="SPrefsSubtitles">
6   <property name="geometry">
7    <rect>
8     <x>0</x>
9     <y>0</y>
10     <width>772</width>
11     <height>446</height>
12    </rect>
13   </property>
14   <property name="windowTitle">
15    <string>Form</string>
16   </property>
17   <layout class="QVBoxLayout">
18    <property name="spacing">
19     <number>10</number>
20    </property>
21    <item>
22     <widget class="QGroupBox" name="groupBox_3">
23      <property name="title">
24       <string>On Screen Display</string>
25      </property>
26      <layout class="QVBoxLayout">
27       <item>
28        <widget class="QCheckBox" name="OSDBox">
29         <property name="text">
30          <string>Enable On Screen Display (OSD)</string>
31         </property>
32        </widget>
33       </item>
34       <item>
35        <widget class="QCheckBox" name="OSDTitleBox">
36         <property name="text">
37          <string>Show media title on video start</string>
38         </property>
39        </widget>
40       </item>
41      </layout>
42     </widget>
43    </item>
44    <item>
45     <widget class="QGroupBox" name="groupBox_2">
46      <property name="sizePolicy">
47       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
48        <horstretch>0</horstretch>
49        <verstretch>0</verstretch>
50       </sizepolicy>
51      </property>
52      <property name="title">
53       <string>Subtitles Language</string>
54      </property>
55      <layout class="QGridLayout">
56       <item row="0" column="0">
57        <widget class="QLabel" name="subLangLabel">
58         <property name="minimumSize">
59          <size>
60           <width>250</width>
61           <height>0</height>
62          </size>
63         </property>
64         <property name="text">
65          <string>Preferred subtitles language</string>
66         </property>
67         <property name="buddy">
68          <cstring>preferredLanguage</cstring>
69         </property>
70        </widget>
71       </item>
72       <item row="1" column="1">
73        <widget class="QComboBox" name="encoding">
74         <property name="maxVisibleItems">
75          <number>12</number>
76         </property>
77        </widget>
78       </item>
79       <item row="0" column="1">
80        <widget class="QLineEdit" name="preferredLanguage"/>
81       </item>
82       <item row="1" column="0">
83        <widget class="QLabel" name="encodLabel">
84         <property name="minimumSize">
85          <size>
86           <width>250</width>
87           <height>0</height>
88          </size>
89         </property>
90         <property name="text">
91          <string>Default encoding</string>
92         </property>
93         <property name="buddy">
94          <cstring>encoding</cstring>
95         </property>
96        </widget>
97       </item>
98      </layout>
99     </widget>
100    </item>
101    <item>
102     <widget class="QGroupBox" name="groupBox">
103      <property name="title">
104       <string>Display Settings</string>
105      </property>
106      <layout class="QGridLayout" rowstretch="0,0,0,0,0" columnstretch="0,0">
107       <item row="3" column="1">
108        <widget class="QComboBox" name="effect">
109         <property name="sizePolicy">
110          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
111           <horstretch>0</horstretch>
112           <verstretch>0</verstretch>
113          </sizepolicy>
114         </property>
115        </widget>
116       </item>
117       <item row="3" column="0">
118        <widget class="QLabel" name="fontEffectLabel">
119         <property name="minimumSize">
120          <size>
121           <width>250</width>
122           <height>0</height>
123          </size>
124         </property>
125         <property name="text">
126          <string>Effect</string>
127         </property>
128         <property name="buddy">
129          <cstring>effect</cstring>
130         </property>
131        </widget>
132       </item>
133       <item row="2" column="1">
134        <widget class="QComboBox" name="fontColor">
135         <property name="sizePolicy">
136          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
137           <horstretch>0</horstretch>
138           <verstretch>0</verstretch>
139          </sizepolicy>
140         </property>
141        </widget>
142       </item>
143       <item row="2" column="0">
144        <widget class="QLabel" name="fontColorLabel">
145         <property name="minimumSize">
146          <size>
147           <width>250</width>
148           <height>0</height>
149          </size>
150         </property>
151         <property name="text">
152          <string>Font color</string>
153         </property>
154         <property name="buddy">
155          <cstring>fontColor</cstring>
156         </property>
157        </widget>
158       </item>
159       <item row="1" column="1">
160        <widget class="QComboBox" name="fontSize">
161         <property name="sizePolicy">
162          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
163           <horstretch>0</horstretch>
164           <verstretch>0</verstretch>
165          </sizepolicy>
166         </property>
167        </widget>
168       </item>
169       <item row="1" column="0">
170        <widget class="QLabel" name="fontSizeLabel">
171         <property name="minimumSize">
172          <size>
173           <width>250</width>
174           <height>0</height>
175          </size>
176         </property>
177         <property name="text">
178          <string>Font size</string>
179         </property>
180         <property name="buddy">
181          <cstring>fontSize</cstring>
182         </property>
183        </widget>
184       </item>
185       <item row="0" column="0">
186        <widget class="QLabel" name="fontLabel">
187         <property name="minimumSize">
188          <size>
189           <width>250</width>
190           <height>0</height>
191          </size>
192         </property>
193         <property name="text">
194          <string>Font</string>
195         </property>
196         <property name="buddy">
197          <cstring>font</cstring>
198         </property>
199        </widget>
200       </item>
201       <item row="4" column="0">
202        <widget class="QLabel" name="subsPosLabel">
203         <property name="minimumSize">
204          <size>
205           <width>250</width>
206           <height>0</height>
207          </size>
208         </property>
209         <property name="text">
210          <string>Force subtitle position</string>
211         </property>
212         <property name="buddy">
213          <cstring>subsPosition</cstring>
214         </property>
215        </widget>
216       </item>
217       <item row="0" column="1">
218        <widget class="QFontComboBox" name="font"/>
219       </item>
220       <item row="4" column="1">
221        <widget class="QSpinBox" name="subsPosition">
222         <property name="maximumSize">
223          <size>
224           <width>16777215</width>
225           <height>16777215</height>
226          </size>
227         </property>
228         <property name="alignment">
229          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
230         </property>
231         <property name="suffix">
232          <string> px</string>
233         </property>
234         <property name="minimum">
235          <number>-1024</number>
236         </property>
237         <property name="maximum">
238          <number>1024</number>
239         </property>
240        </widget>
241       </item>
242      </layout>
243     </widget>
244    </item>
245   </layout>
246  </widget>
247  <tabstops>
248   <tabstop>OSDBox</tabstop>
249   <tabstop>preferredLanguage</tabstop>
250   <tabstop>encoding</tabstop>
251   <tabstop>font</tabstop>
252   <tabstop>fontSize</tabstop>
253   <tabstop>fontColor</tabstop>
254   <tabstop>effect</tabstop>
255  </tabstops>
256  <resources/>
257  <connections/>
258 </ui>