<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>PrefSubtitles</class>
 <widget class="QWidget" name="PrefSubtitles">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>541</width>
    <height>439</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string/>
  </property>
  <layout class="QVBoxLayout">
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QTabWidget" name="subtitles_tab">
     <property name="enabled">
      <bool>true</bool>
     </property>
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="tab1">
      <attribute name="title">
       <string>&amp;Subtitles</string>
      </attribute>
      <layout class="QVBoxLayout">
       <property name="spacing">
        <number>6</number>
       </property>
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Autoload</string>
         </property>
         <layout class="QGridLayout">
          <property name="margin">
           <number>9</number>
          </property>
          <property name="spacing">
           <number>6</number>
          </property>
          <item row="0" column="0">
           <widget class="QLabel" name="textLabel5">
            <property name="text">
             <string>Au&amp;toload subtitles files (*.srt, *.sub...):</string>
            </property>
            <property name="wordWrap">
             <bool>false</bool>
            </property>
            <property name="buddy">
             <cstring>font_autoload_combo</cstring>
            </property>
           </widget>
          </item>
          <item row="2" column="0" colspan="2">
           <widget class="QCheckBox" name="font_autoload_check">
            <property name="text">
             <string>S&amp;elect first available subtitle</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QComboBox" name="font_autoload_combo">
            <item>
             <property name="text">
              <string>Same name as movie</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>All subs containing movie name</string>
             </property>
            </item>
            <item>
             <property name="text">
              <string>All subs in directory</string>
             </property>
            </item>
           </widget>
          </item>
          <item row="1" column="1">
           <spacer>
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeType">
             <enum>QSizePolicy::Expanding</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>131</width>
              <height>21</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_3">
         <property name="title">
          <string>Encoding</string>
         </property>
         <layout class="QVBoxLayout">
          <item>
           <layout class="QHBoxLayout">
            <property name="spacing">
             <number>6</number>
            </property>
            <property name="margin">
             <number>0</number>
            </property>
            <item>
             <widget class="QLabel" name="textLabel4">
              <property name="text">
               <string>&amp;Default subtitle encoding:</string>
              </property>
              <property name="wordWrap">
               <bool>false</bool>
              </property>
              <property name="buddy">
               <cstring>font_encoding_combo</cstring>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QComboBox" name="font_encoding_combo">
              <property name="sizePolicy">
               <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="editable">
               <bool>false</bool>
              </property>
             </widget>
            </item>
            <item>
             <spacer>
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeType">
               <enum>QSizePolicy::Expanding</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>161</width>
                <height>31</height>
               </size>
              </property>
             </spacer>
            </item>
           </layout>
          </item>
          <item>
           <layout class="QHBoxLayout">
            <property name="bottomMargin">
             <number>0</number>
            </property>
            <item>
             <widget class="QCheckBox" name="use_enca_check">
              <property name="text">
               <string>Try to a&amp;utodetect for this language:</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QComboBox" name="enca_lang_combo">
              <property name="enabled">
               <bool>false</bool>
              </property>
              <property name="sizePolicy">
               <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
             </widget>
            </item>
            <item>
             <spacer>
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="subtitles_on_screeshots_check">
         <property name="text">
          <string>&amp;Include subtitles on screenshots</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="Line" name="line">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="use_ass_check">
         <property name="text">
          <string>Use the &amp;ASS library</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="freetype_check">
         <property name="text">
          <string>Freet&amp;ype support</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="windowsfontdir_check">
         <property name="text">
          <string>Enable &amp;Windows fonts</string>
         </property>
        </widget>
       </item>
       <item>
        <spacer>
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeType">
          <enum>QSizePolicy::Expanding</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="tab2">
      <property name="enabled">
       <bool>true</bool>
      </property>
      <attribute name="title">
       <string>&amp;Font and colors</string>
      </attribute>
      <layout class="QGridLayout">
       <item row="1" column="0" colspan="2">
        <widget class="QStackedWidget" name="stackedWidget">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="frameShape">
          <enum>QFrame::StyledPanel</enum>
         </property>
         <property name="frameShadow">
          <enum>QFrame::Sunken</enum>
         </property>
         <property name="currentIndex">
          <number>0</number>
         </property>
         <widget class="QWidget" name="ass_subs">
          <layout class="QVBoxLayout">
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="ass_scale_label">
               <property name="text">
                <string>Defa&amp;ult scale:</string>
               </property>
               <property name="buddy">
                <cstring>ass_font_scale_spin</cstring>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QDoubleSpinBox" name="ass_font_scale_spin">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="maximum">
                <double>100.000000000000000</double>
               </property>
               <property name="singleStep">
                <double>0.200000000000000</double>
               </property>
              </widget>
             </item>
             <item>
              <spacer>
               <property name="orientation">
                <enum>Qt::Horizontal</enum>
               </property>
               <property name="sizeHint" stdset="0">
                <size>
                 <width>121</width>
                 <height>20</height>
                </size>
               </property>
              </spacer>
             </item>
             <item>
              <widget class="QLabel" name="label_11">
               <property name="text">
                <string>&amp;Line spacing:</string>
               </property>
               <property name="buddy">
                <cstring>ass_line_spacing_spin</cstring>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QSpinBox" name="ass_line_spacing_spin">
               <property name="minimum">
                <number>-20</number>
               </property>
               <property name="maximum">
                <number>20</number>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="QWidget" name="styles_container" native="true">
             <property name="enabled">
              <bool>true</bool>
             </property>
             <layout class="QGridLayout">
              <property name="margin">
               <number>2</number>
              </property>
              <item row="0" column="0">
               <widget class="QGroupBox" name="groupBox_4">
                <property name="title">
                 <string>Font</string>
                </property>
                <layout class="QVBoxLayout">
                 <property name="margin">
                  <number>4</number>
                 </property>
                 <item>
                  <layout class="QHBoxLayout">
                   <item>
                    <widget class="MyFontComboBox" name="style_font_combo"/>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout">
                   <item>
                    <widget class="QLabel" name="label">
                     <property name="text">
                      <string>Si&amp;ze:</string>
                     </property>
                     <property name="buddy">
                      <cstring>style_size_spin</cstring>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QSpinBox" name="style_size_spin">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="minimum">
                      <number>1</number>
                     </property>
                     <property name="value">
                      <number>10</number>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <spacer>
                     <property name="orientation">
                      <enum>Qt::Horizontal</enum>
                     </property>
                     <property name="sizeType">
                      <enum>QSizePolicy::Preferred</enum>
                     </property>
                     <property name="sizeHint" stdset="0">
                      <size>
                       <width>60</width>
                       <height>20</height>
                      </size>
                     </property>
                    </spacer>
                   </item>
                   <item>
                    <widget class="QCheckBox" name="style_bold_check">
                     <property name="text">
                      <string>Bol&amp;d</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QCheckBox" name="style_italic_check">
                     <property name="text">
                      <string>&amp;Italic</string>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                </layout>
               </widget>
              </item>
              <item row="0" column="1">
               <widget class="QGroupBox" name="groupBox_7">
                <property name="title">
                 <string>Colors</string>
                </property>
                <layout class="QGridLayout">
                 <property name="margin">
                  <number>4</number>
                 </property>
                 <item row="0" column="0">
                  <widget class="QLabel" name="label_2">
                   <property name="text">
                    <string>&amp;Text:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_text_color_button</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="0" column="1">
                  <widget class="SelectColorButton" name="style_text_color_button">
                   <property name="sizePolicy">
                    <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
                     <horstretch>0</horstretch>
                     <verstretch>0</verstretch>
                    </sizepolicy>
                   </property>
                   <property name="text">
                    <string/>
                   </property>
                  </widget>
                 </item>
                 <item row="1" column="0">
                  <widget class="QLabel" name="label_3">
                   <property name="text">
                    <string>&amp;Border:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_border_color_button</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="1" column="1">
                  <widget class="SelectColorButton" name="style_border_color_button">
                   <property name="sizePolicy">
                    <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
                     <horstretch>0</horstretch>
                     <verstretch>0</verstretch>
                    </sizepolicy>
                   </property>
                   <property name="text">
                    <string/>
                   </property>
                  </widget>
                 </item>
                 <item row="2" column="0">
                  <widget class="QLabel" name="label_12">
                   <property name="text">
                    <string>Shadow:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                  </widget>
                 </item>
                 <item row="2" column="1">
                  <widget class="SelectColorButton" name="style_shadow_color_button">
                   <property name="sizePolicy">
                    <sizepolicy hsizetype="Minimum" vsizetype="Ignored">
                     <horstretch>0</horstretch>
                     <verstretch>0</verstretch>
                    </sizepolicy>
                   </property>
                   <property name="text">
                    <string/>
                   </property>
                  </widget>
                 </item>
                </layout>
               </widget>
              </item>
              <item row="1" column="0">
               <widget class="QGroupBox" name="groupBox_8">
                <property name="title">
                 <string>Margins</string>
                </property>
                <layout class="QGridLayout">
                 <property name="margin">
                  <number>4</number>
                 </property>
                 <item row="0" column="0">
                  <widget class="QLabel" name="label_7">
                   <property name="text">
                    <string>L&amp;eft:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_marginl_spin</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="0" column="1">
                  <widget class="QSpinBox" name="style_marginl_spin"/>
                 </item>
                 <item row="0" column="2">
                  <widget class="QLabel" name="label_8">
                   <property name="text">
                    <string>&amp;Right:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_marginr_spin</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="0" column="3">
                  <widget class="QSpinBox" name="style_marginr_spin"/>
                 </item>
                 <item row="1" column="0">
                  <widget class="QLabel" name="label_9">
                   <property name="text">
                    <string>Verti&amp;cal:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_marginv_spin</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="1" column="1">
                  <widget class="QSpinBox" name="style_marginv_spin"/>
                 </item>
                 <item row="1" column="2" colspan="2">
                  <spacer>
                   <property name="orientation">
                    <enum>Qt::Horizontal</enum>
                   </property>
                   <property name="sizeHint" stdset="0">
                    <size>
                     <width>101</width>
                     <height>25</height>
                    </size>
                   </property>
                  </spacer>
                 </item>
                </layout>
               </widget>
              </item>
              <item row="1" column="1">
               <widget class="QGroupBox" name="groupBox_9">
                <property name="title">
                 <string>Alignment</string>
                </property>
                <layout class="QGridLayout">
                 <property name="margin">
                  <number>4</number>
                 </property>
                 <item row="0" column="0">
                  <widget class="QLabel" name="label_4">
                   <property name="text">
                    <string>&amp;Horizontal:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_alignment_combo</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="0" column="1">
                  <widget class="QComboBox" name="style_alignment_combo"/>
                 </item>
                 <item row="1" column="0">
                  <widget class="QLabel" name="label_6">
                   <property name="text">
                    <string>&amp;Vertical:</string>
                   </property>
                   <property name="alignment">
                    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
                   </property>
                   <property name="buddy">
                    <cstring>style_valignment_combo</cstring>
                   </property>
                  </widget>
                 </item>
                 <item row="1" column="1">
                  <widget class="QComboBox" name="style_valignment_combo"/>
                 </item>
                </layout>
               </widget>
              </item>
              <item row="2" column="0" colspan="2">
               <layout class="QHBoxLayout">
                <item>
                 <widget class="QLabel" name="label_5">
                  <property name="text">
                   <string>Border st&amp;yle:</string>
                  </property>
                  <property name="buddy">
                   <cstring>style_border_style_combo</cstring>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="QComboBox" name="style_border_style_combo"/>
                </item>
                <item>
                 <spacer>
                  <property name="orientation">
                   <enum>Qt::Horizontal</enum>
                  </property>
                  <property name="sizeHint" stdset="0">
                   <size>
                    <width>40</width>
                    <height>20</height>
                   </size>
                  </property>
                 </spacer>
                </item>
                <item>
                 <widget class="QLabel" name="style_outline_label">
                  <property name="text">
                   <string>&amp;Outline:</string>
                  </property>
                  <property name="buddy">
                   <cstring>style_outline_spin</cstring>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="QDoubleSpinBox" name="style_outline_spin">
                  <property name="maximum">
                   <double>4.000000000000000</double>
                  </property>
                  <property name="singleStep">
                   <double>0.100000000000000</double>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="QLabel" name="style_shadow_label">
                  <property name="text">
                   <string>Shado&amp;w:</string>
                  </property>
                  <property name="buddy">
                   <cstring>style_shadow_spin</cstring>
                  </property>
                 </widget>
                </item>
                <item>
                 <widget class="QDoubleSpinBox" name="style_shadow_spin">
                  <property name="maximum">
                   <double>4.000000000000000</double>
                  </property>
                  <property name="singleStep">
                   <double>0.100000000000000</double>
                  </property>
                 </widget>
                </item>
               </layout>
              </item>
             </layout>
            </widget>
           </item>
           <item>
            <widget class="Line" name="line_3">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="orientation">
              <enum>Qt::Horizontal</enum>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QCheckBox" name="force_ass_styles">
               <property name="text">
                <string>A&amp;pply style to ASS files too</string>
               </property>
              </widget>
             </item>
             <item>
              <spacer>
               <property name="orientation">
                <enum>Qt::Horizontal</enum>
               </property>
               <property name="sizeHint" stdset="0">
                <size>
                 <width>40</width>
                 <height>20</height>
                </size>
               </property>
              </spacer>
             </item>
             <item>
              <widget class="QPushButton" name="ass_customize_button">
               <property name="enabled">
                <bool>false</bool>
               </property>
               <property name="text">
                <string>Custo&amp;mize...</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <spacer>
             <property name="orientation">
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>497</width>
               <height>16</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </widget>
        </widget>
       </item>
       <item row="0" column="0">
        <widget class="QCheckBox" name="ass_custom_check">
         <property name="text">
          <string>Use custo&amp;m style</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>MyFontComboBox</class>
   <extends>QFontComboBox</extends>
   <header>mycombobox.h</header>
  </customwidget>
  <customwidget>
   <class>SelectColorButton</class>
   <extends>QPushButton</extends>
   <header>selectcolorbutton.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>subtitles_tab</tabstop>
  <tabstop>font_autoload_combo</tabstop>
  <tabstop>font_autoload_check</tabstop>
  <tabstop>font_encoding_combo</tabstop>
  <tabstop>use_enca_check</tabstop>
  <tabstop>enca_lang_combo</tabstop>
  <tabstop>subtitles_on_screeshots_check</tabstop>
  <tabstop>use_ass_check</tabstop>
  <tabstop>freetype_check</tabstop>
  <tabstop>windowsfontdir_check</tabstop>
  <tabstop>ass_custom_check</tabstop>
  <tabstop>ass_font_scale_spin</tabstop>
  <tabstop>ass_line_spacing_spin</tabstop>
  <tabstop>style_font_combo</tabstop>
  <tabstop>style_size_spin</tabstop>
  <tabstop>style_bold_check</tabstop>
  <tabstop>style_italic_check</tabstop>
  <tabstop>style_text_color_button</tabstop>
  <tabstop>style_border_color_button</tabstop>
  <tabstop>style_shadow_color_button</tabstop>
  <tabstop>style_marginl_spin</tabstop>
  <tabstop>style_marginr_spin</tabstop>
  <tabstop>style_marginv_spin</tabstop>
  <tabstop>style_alignment_combo</tabstop>
  <tabstop>style_valignment_combo</tabstop>
  <tabstop>style_border_style_combo</tabstop>
  <tabstop>style_outline_spin</tabstop>
  <tabstop>style_shadow_spin</tabstop>
  <tabstop>force_ass_styles</tabstop>
  <tabstop>ass_customize_button</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>use_enca_check</sender>
   <signal>toggled(bool)</signal>
   <receiver>enca_lang_combo</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>118</x>
     <y>245</y>
    </hint>
    <hint type="destinationlabel">
     <x>258</x>
     <y>245</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>force_ass_styles</sender>
   <signal>toggled(bool)</signal>
   <receiver>ass_customize_button</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>115</x>
     <y>376</y>
    </hint>
    <hint type="destinationlabel">
     <x>474</x>
     <y>377</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
