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