Simplify screen position checking
[vlc.git] / modules / gui / qt4 / ui / sprefs_subtitles.ui
1 <ui version="4.0" >
2  <class>SPrefsSubtitles</class>
3  <widget class="QWidget" name="SPrefsSubtitles" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>434</width>
9     <height>410</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Form</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <property name="spacing" >
17     <number>10</number>
18    </property>
19    <item>
20     <widget class="QGroupBox" name="groupBox_3" >
21      <property name="title" >
22       <string>_("On Screen Display")</string>
23      </property>
24      <layout class="QVBoxLayout" >
25       <item>
26        <widget class="QCheckBox" name="OSDBox" >
27         <property name="text" >
28          <string>_("Enable OSD")</string>
29         </property>
30         <property name="checked" >
31          <bool>true</bool>
32         </property>
33         <property name="tristate" >
34          <bool>false</bool>
35         </property>
36        </widget>
37       </item>
38      </layout>
39     </widget>
40    </item>
41    <item>
42     <widget class="QGroupBox" name="groupBox_2" >
43      <property name="sizePolicy" >
44       <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
45        <horstretch>0</horstretch>
46        <verstretch>0</verstretch>
47       </sizepolicy>
48      </property>
49      <property name="title" >
50       <string>_("Subtitles Language")</string>
51      </property>
52      <layout class="QGridLayout" >
53       <item row="0" column="0" >
54        <widget class="QLabel" name="label" >
55         <property name="text" >
56          <string>_("Preferred subtitles language")</string>
57         </property>
58         <property name="buddy" >
59          <cstring>preferredLanguage</cstring>
60         </property>
61        </widget>
62       </item>
63       <item row="1" column="1" >
64        <widget class="QComboBox" name="encoding" >
65         <property name="maxVisibleItems" >
66          <number>12</number>
67         </property>
68        </widget>
69       </item>
70       <item row="0" column="1" >
71        <widget class="QLineEdit" name="preferredLanguage" />
72       </item>
73       <item row="1" column="0" >
74        <widget class="QLabel" name="label_2" >
75         <property name="text" >
76          <string>_("Default encoding")</string>
77         </property>
78         <property name="buddy" >
79          <cstring>encoding</cstring>
80         </property>
81        </widget>
82       </item>
83      </layout>
84     </widget>
85    </item>
86    <item>
87     <widget class="QGroupBox" name="groupBox" >
88      <property name="title" >
89       <string>_("Display Settings")</string>
90      </property>
91      <layout class="QGridLayout" >
92       <item row="3" column="1" colspan="2" >
93        <widget class="QComboBox" name="effect" />
94       </item>
95       <item row="3" column="0" >
96        <widget class="QLabel" name="label_6" >
97         <property name="text" >
98          <string>_("Effect")</string>
99         </property>
100         <property name="buddy" >
101          <cstring>effect</cstring>
102         </property>
103        </widget>
104       </item>
105       <item row="2" column="1" colspan="2" >
106        <widget class="QComboBox" name="fontColor" />
107       </item>
108       <item row="2" column="0" >
109        <widget class="QLabel" name="label_4" >
110         <property name="text" >
111          <string>_("Font color")</string>
112         </property>
113         <property name="buddy" >
114          <cstring>fontColor</cstring>
115         </property>
116        </widget>
117       </item>
118       <item row="1" column="1" colspan="2" >
119        <widget class="QComboBox" name="fontSize" />
120       </item>
121       <item row="1" column="0" >
122        <widget class="QLabel" name="label_3" >
123         <property name="text" >
124          <string>_("Font size")</string>
125         </property>
126         <property name="buddy" >
127          <cstring>fontSize</cstring>
128         </property>
129        </widget>
130       </item>
131       <item row="0" column="2" >
132        <widget class="QPushButton" name="fontBrowse" >
133         <property name="text" >
134          <string>_("Browse...")</string>
135         </property>
136        </widget>
137       </item>
138       <item row="0" column="1" >
139        <widget class="QLineEdit" name="font" />
140       </item>
141       <item row="0" column="0" >
142        <widget class="QLabel" name="label_5" >
143         <property name="text" >
144          <string>_("Font")</string>
145         </property>
146         <property name="buddy" >
147          <cstring>font</cstring>
148         </property>
149        </widget>
150       </item>
151       <item row="4" column="1" colspan="2" >
152        <widget class="QSpinBox" name="subsPosition" >
153         <property name="alignment" >
154          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
155         </property>
156         <property name="suffix" >
157          <string> px</string>
158         </property>
159         <property name="minimum" >
160          <number>-1024</number>
161         </property>
162         <property name="maximum" >
163          <number>1024</number>
164         </property>
165        </widget>
166       </item>
167       <item row="4" column="0" >
168        <widget class="QLabel" name="label_7" >
169         <property name="text" >
170          <string>_("Force subtitle position")</string>
171         </property>
172         <property name="buddy" >
173          <cstring>subsPosition</cstring>
174         </property>
175        </widget>
176       </item>
177      </layout>
178     </widget>
179    </item>
180   </layout>
181  </widget>
182  <tabstops>
183   <tabstop>OSDBox</tabstop>
184   <tabstop>preferredLanguage</tabstop>
185   <tabstop>encoding</tabstop>
186   <tabstop>font</tabstop>
187   <tabstop>fontBrowse</tabstop>
188   <tabstop>fontSize</tabstop>
189   <tabstop>fontColor</tabstop>
190   <tabstop>effect</tabstop>
191  </tabstops>
192  <resources/>
193  <connections/>
194 </ui>