]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/sprefs_subtitles.ui
Qt: preferences, fix checkbox behaviours
[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>741</width>
11     <height>375</height>
12    </rect>
13   </property>
14   <property name="windowTitle">
15    <string>Form</string>
16   </property>
17   <layout class="QVBoxLayout" name="verticalLayout">
18    <item>
19     <widget class="QGroupBox" name="groupBox_3">
20      <property name="title">
21       <string>On Screen Display</string>
22      </property>
23      <layout class="QGridLayout" name="gridLayout">
24       <item row="0" column="0">
25        <widget class="QCheckBox" name="OSDBox">
26         <property name="text">
27          <string>Enable On Screen Display (OSD)</string>
28         </property>
29        </widget>
30       </item>
31       <item row="1" column="0">
32        <widget class="QCheckBox" name="OSDTitleBox">
33         <property name="text">
34          <string>Show media title on video start</string>
35         </property>
36        </widget>
37       </item>
38       <item row="1" column="2">
39        <widget class="QComboBox" name="OSDTitlePos"/>
40       </item>
41       <item row="1" column="1">
42        <widget class="QLabel" name="OSDTitlePosLabel">
43         <property name="sizePolicy">
44          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
45           <horstretch>0</horstretch>
46           <verstretch>0</verstretch>
47          </sizepolicy>
48         </property>
49         <property name="text">
50          <string>Position</string>
51         </property>
52         <property name="alignment">
53          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
54         </property>
55         <property name="buddy">
56          <cstring>OSDTitlePos</cstring>
57         </property>
58        </widget>
59       </item>
60      </layout>
61     </widget>
62    </item>
63    <item>
64     <widget class="QCheckBox" name="spuActiveBox">
65      <property name="text">
66       <string>Enable subtitles</string>
67      </property>
68     </widget>
69    </item>
70    <item>
71     <widget class="QWidget" name="spuZone" native="true">
72      <layout class="QVBoxLayout" name="spuZoneLayout">
73       <property name="margin">
74        <number>0</number>
75       </property>
76       <item>
77        <widget class="QGroupBox" name="groupBox_2">
78         <property name="sizePolicy">
79          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
80           <horstretch>0</horstretch>
81           <verstretch>0</verstretch>
82          </sizepolicy>
83         </property>
84         <property name="title">
85          <string>Subtitles Language</string>
86         </property>
87         <layout class="QGridLayout">
88          <item row="0" column="0">
89           <widget class="QLabel" name="subLangLabel">
90            <property name="minimumSize">
91             <size>
92              <width>250</width>
93              <height>0</height>
94             </size>
95            </property>
96            <property name="text">
97             <string>Preferred subtitles language</string>
98            </property>
99           </widget>
100          </item>
101          <item row="1" column="1">
102           <widget class="QComboBox" name="encoding">
103            <property name="maxVisibleItems">
104             <number>12</number>
105            </property>
106           </widget>
107          </item>
108          <item row="0" column="1">
109           <widget class="QLineEdit" name="preferredLanguage"/>
110          </item>
111          <item row="1" column="0">
112           <widget class="QLabel" name="encodLabel">
113            <property name="minimumSize">
114             <size>
115              <width>250</width>
116              <height>0</height>
117             </size>
118            </property>
119            <property name="text">
120             <string>Default encoding</string>
121            </property>
122           </widget>
123          </item>
124         </layout>
125        </widget>
126       </item>
127       <item>
128        <widget class="QGroupBox" name="groupBox">
129         <property name="title">
130          <string>Subtitles effects</string>
131         </property>
132         <layout class="QGridLayout" name="gridLayout_2">
133          <item row="0" column="0">
134           <widget class="QLabel" name="fontLabel">
135            <property name="minimumSize">
136             <size>
137              <width>250</width>
138              <height>0</height>
139             </size>
140            </property>
141            <property name="text">
142             <string>Font</string>
143            </property>
144           </widget>
145          </item>
146          <item row="0" column="1" colspan="3">
147           <widget class="QFontComboBox" name="font"/>
148          </item>
149          <item row="1" column="0">
150           <widget class="QLabel" name="fontSizeLabel">
151            <property name="minimumSize">
152             <size>
153              <width>250</width>
154              <height>0</height>
155             </size>
156            </property>
157            <property name="text">
158             <string>Font size</string>
159            </property>
160           </widget>
161          </item>
162          <item row="1" column="1">
163           <widget class="QComboBox" name="fontSize">
164            <property name="sizePolicy">
165             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
166              <horstretch>0</horstretch>
167              <verstretch>0</verstretch>
168             </sizepolicy>
169            </property>
170           </widget>
171          </item>
172          <item row="1" column="2">
173           <spacer name="horizontalSpacer">
174            <property name="orientation">
175             <enum>Qt::Horizontal</enum>
176            </property>
177            <property name="sizeType">
178             <enum>QSizePolicy::Preferred</enum>
179            </property>
180            <property name="sizeHint" stdset="0">
181             <size>
182              <width>20</width>
183              <height>20</height>
184             </size>
185            </property>
186           </spacer>
187          </item>
188          <item row="1" column="3">
189           <widget class="QLabel" name="fontColorLabel">
190            <property name="text">
191             <string>Font color</string>
192            </property>
193           </widget>
194          </item>
195          <item row="1" column="4">
196           <widget class="QPushButton" name="fontColor"/>
197          </item>
198          <item row="2" column="0">
199           <widget class="QLabel" name="fontEffectLabel">
200            <property name="minimumSize">
201             <size>
202              <width>250</width>
203              <height>0</height>
204             </size>
205            </property>
206            <property name="text">
207             <string>Outline thickness</string>
208            </property>
209           </widget>
210          </item>
211          <item row="2" column="1">
212           <widget class="QComboBox" name="effect">
213            <property name="sizePolicy">
214             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
215              <horstretch>0</horstretch>
216              <verstretch>0</verstretch>
217             </sizepolicy>
218            </property>
219           </widget>
220          </item>
221          <item row="2" column="3">
222           <widget class="QLabel" name="outlineColorLabel">
223            <property name="text">
224             <string>Outline color</string>
225            </property>
226           </widget>
227          </item>
228          <item row="2" column="4">
229           <widget class="QPushButton" name="outlineColor"/>
230          </item>
231          <item row="3" column="0">
232           <widget class="QCheckBox" name="shadowCheck">
233            <property name="text">
234             <string>Add a shadow</string>
235            </property>
236           </widget>
237          </item>
238          <item row="3" column="3">
239           <widget class="QCheckBox" name="backgroundCheck">
240            <property name="text">
241             <string>Add a background</string>
242            </property>
243           </widget>
244          </item>
245          <item row="4" column="0">
246           <widget class="QLabel" name="subsPosLabel">
247            <property name="minimumSize">
248             <size>
249              <width>250</width>
250              <height>0</height>
251             </size>
252            </property>
253            <property name="text">
254             <string>Force subtitle position</string>
255            </property>
256           </widget>
257          </item>
258          <item row="4" column="1">
259           <widget class="QSpinBox" name="subsPosition">
260            <property name="maximumSize">
261             <size>
262              <width>16777215</width>
263              <height>16777215</height>
264             </size>
265            </property>
266            <property name="alignment">
267             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
268            </property>
269            <property name="suffix">
270             <string> px</string>
271            </property>
272            <property name="minimum">
273             <number>-1024</number>
274            </property>
275            <property name="maximum">
276             <number>1024</number>
277            </property>
278           </widget>
279          </item>
280         </layout>
281        </widget>
282       </item>
283      </layout>
284     </widget>
285    </item>
286   </layout>
287  </widget>
288  <tabstops>
289   <tabstop>OSDBox</tabstop>
290   <tabstop>OSDTitleBox</tabstop>
291   <tabstop>OSDTitlePos</tabstop>
292   <tabstop>preferredLanguage</tabstop>
293   <tabstop>encoding</tabstop>
294   <tabstop>font</tabstop>
295   <tabstop>fontSize</tabstop>
296   <tabstop>fontColor</tabstop>
297   <tabstop>effect</tabstop>
298   <tabstop>outlineColor</tabstop>
299   <tabstop>shadowCheck</tabstop>
300   <tabstop>backgroundCheck</tabstop>
301   <tabstop>subsPosition</tabstop>
302  </tabstops>
303  <resources/>
304  <connections/>
305 </ui>