1 <?xml version="1.0" encoding="UTF-8"?>
3 <author>Jean-Baptiste Kempf</author>
4 <class>SPrefsSubtitles</class>
5 <widget class="QWidget" name="SPrefsSubtitles">
6 <property name="geometry">
14 <property name="windowTitle">
17 <layout class="QVBoxLayout" name="verticalLayout">
19 <widget class="QGroupBox" name="groupBox_3">
20 <property name="title">
21 <string>On Screen Display</string>
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>
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>
38 <item row="1" column="2">
39 <widget class="QComboBox" name="OSDTitlePos"/>
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>
49 <property name="text">
50 <string>Position</string>
52 <property name="alignment">
53 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
55 <property name="buddy">
56 <cstring>OSDTitlePos</cstring>
64 <widget class="QCheckBox" name="spuActiveBox">
65 <property name="text">
66 <string>Enable subtitles</string>
71 <widget class="QWidget" name="spuZone" native="true">
72 <layout class="QVBoxLayout" name="spuZoneLayout">
73 <property name="leftMargin">
76 <property name="topMargin">
79 <property name="rightMargin">
82 <property name="bottomMargin">
86 <widget class="QGroupBox" name="groupBox_2">
87 <property name="sizePolicy">
88 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
89 <horstretch>0</horstretch>
90 <verstretch>0</verstretch>
93 <property name="title">
94 <string>Subtitle Language</string>
96 <layout class="QGridLayout">
97 <item row="0" column="0">
98 <widget class="QLabel" name="subLangLabel">
99 <property name="minimumSize">
105 <property name="text">
106 <string>Preferred subtitle language</string>
108 <property name="buddy">
109 <cstring>preferredLanguage</cstring>
113 <item row="1" column="1">
114 <widget class="QComboBox" name="encoding">
115 <property name="maxVisibleItems">
120 <item row="0" column="1">
121 <widget class="QLineEdit" name="preferredLanguage"/>
123 <item row="1" column="0">
124 <widget class="QLabel" name="encodLabel">
125 <property name="minimumSize">
131 <property name="text">
132 <string>Default encoding</string>
134 <property name="buddy">
135 <cstring>encoding</cstring>
143 <widget class="QGroupBox" name="groupBox">
144 <property name="title">
145 <string>Subtitle effects</string>
147 <layout class="QGridLayout" name="gridLayout_2">
148 <item row="0" column="0">
149 <widget class="QLabel" name="fontLabel">
150 <property name="minimumSize">
156 <property name="text">
157 <string>Font</string>
159 <property name="buddy">
160 <cstring>font</cstring>
164 <item row="1" column="0">
165 <widget class="QLabel" name="fontSizeLabel">
166 <property name="minimumSize">
172 <property name="text">
173 <string>Font size</string>
175 <property name="buddy">
176 <cstring>fontSize</cstring>
180 <item row="1" column="1">
181 <widget class="QComboBox" name="fontSize">
182 <property name="sizePolicy">
183 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
184 <horstretch>0</horstretch>
185 <verstretch>0</verstretch>
190 <item row="1" column="2">
191 <spacer name="horizontalSpacer">
192 <property name="orientation">
193 <enum>Qt::Horizontal</enum>
195 <property name="sizeType">
196 <enum>QSizePolicy::Preferred</enum>
198 <property name="sizeHint" stdset="0">
206 <item row="1" column="3">
207 <widget class="QLabel" name="fontColorLabel">
208 <property name="text">
209 <string>Font color</string>
211 <property name="buddy">
212 <cstring>fontColor</cstring>
216 <item row="1" column="4">
217 <widget class="QPushButton" name="fontColor"/>
219 <item row="2" column="0">
220 <widget class="QLabel" name="fontEffectLabel">
221 <property name="minimumSize">
227 <property name="text">
228 <string>Outline thickness</string>
230 <property name="buddy">
231 <cstring>effect</cstring>
235 <item row="2" column="1">
236 <widget class="QComboBox" name="effect">
237 <property name="sizePolicy">
238 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
239 <horstretch>0</horstretch>
240 <verstretch>0</verstretch>
245 <item row="2" column="3">
246 <widget class="QLabel" name="outlineColorLabel">
247 <property name="text">
248 <string>Outline color</string>
250 <property name="buddy">
251 <cstring>outlineColor</cstring>
255 <item row="2" column="4">
256 <widget class="QPushButton" name="outlineColor"/>
258 <item row="3" column="0">
259 <widget class="QCheckBox" name="shadowCheck">
260 <property name="text">
261 <string>Add a shadow</string>
265 <item row="4" column="0">
266 <widget class="QLabel" name="subsPosLabel">
267 <property name="minimumSize">
273 <property name="text">
274 <string>Force subtitle position</string>
276 <property name="buddy">
277 <cstring>subsPosition</cstring>
281 <item row="4" column="1">
282 <widget class="QSpinBox" name="subsPosition">
283 <property name="maximumSize">
285 <width>16777215</width>
286 <height>16777215</height>
289 <property name="alignment">
290 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
292 <property name="suffix">
295 <property name="minimum">
296 <number>-1024</number>
298 <property name="maximum">
299 <number>1024</number>
303 <item row="0" column="1" colspan="4">
304 <widget class="QFontComboBox" name="font"/>
306 <item row="3" column="1">
307 <widget class="QCheckBox" name="backgroundCheck">
308 <property name="text">
309 <string>Add a background</string>
320 <spacer name="verticalSpacer">
321 <property name="orientation">
322 <enum>Qt::Vertical</enum>
324 <property name="sizeHint" stdset="0">
335 <tabstop>OSDBox</tabstop>
336 <tabstop>OSDTitleBox</tabstop>
337 <tabstop>OSDTitlePos</tabstop>
338 <tabstop>preferredLanguage</tabstop>
339 <tabstop>encoding</tabstop>
340 <tabstop>font</tabstop>
341 <tabstop>fontSize</tabstop>
342 <tabstop>fontColor</tabstop>
343 <tabstop>effect</tabstop>
344 <tabstop>outlineColor</tabstop>
345 <tabstop>shadowCheck</tabstop>
346 <tabstop>subsPosition</tabstop>