<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Dialog</class>
 <widget class="QDialog" name="Dialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>479</width>
    <height>574</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Configure Ebook viewer</string>
  </property>
  <property name="windowIcon">
   <iconset resource="../images.qrc">
    <normaloff>:/images/config.svg</normaloff>:/images/config.svg</iconset>
  </property>
  <layout class="QGridLayout" name="gridLayout_4">
   <item row="0" column="0">
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>&amp;Font options</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_3">
      <item row="0" column="0">
       <layout class="QGridLayout" name="gridLayout">
        <item row="0" column="0">
         <widget class="QLabel" name="label">
          <property name="text">
           <string>Se&amp;rif family:</string>
          </property>
          <property name="buddy">
           <cstring>serif_family</cstring>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="QFontComboBox" name="serif_family"/>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="label_2">
          <property name="text">
           <string>&amp;Sans family:</string>
          </property>
          <property name="buddy">
           <cstring>sans_family</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QFontComboBox" name="sans_family"/>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="label_3">
          <property name="text">
           <string>&amp;Monospace family:</string>
          </property>
          <property name="buddy">
           <cstring>mono_family</cstring>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QFontComboBox" name="mono_family"/>
        </item>
       </layout>
      </item>
      <item row="1" column="0">
       <layout class="QGridLayout" name="gridLayout_2">
        <item row="0" column="0">
         <widget class="QLabel" name="label_4">
          <property name="text">
           <string>&amp;Default font size:</string>
          </property>
          <property name="buddy">
           <cstring>default_font_size</cstring>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="QSpinBox" name="default_font_size">
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="minimum">
           <number>8</number>
          </property>
          <property name="maximum">
           <number>40</number>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="label_5">
          <property name="text">
           <string>Monospace &amp;font size:</string>
          </property>
          <property name="buddy">
           <cstring>mono_font_size</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QSpinBox" name="mono_font_size">
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="minimum">
           <number>8</number>
          </property>
          <property name="maximum">
           <number>50</number>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="label_6">
          <property name="text">
           <string>S&amp;tandard font:</string>
          </property>
          <property name="buddy">
           <cstring>standard_font</cstring>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QComboBox" name="standard_font">
          <item>
           <property name="text">
            <string>Serif</string>
           </property>
          </item>
          <item>
           <property name="text">
            <string>Sans-serif</string>
           </property>
          </item>
          <item>
           <property name="text">
            <string>Monospace</string>
           </property>
          </item>
         </widget>
        </item>
        <item row="6" column="0" colspan="2">
         <widget class="QCheckBox" name="opt_remember_window_size">
          <property name="text">
           <string>Remember last used &amp;window size</string>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <widget class="QSpinBox" name="max_view_width">
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="minimum">
           <number>100</number>
          </property>
          <property name="maximum">
           <number>10000</number>
          </property>
         </widget>
        </item>
        <item row="3" column="0">
         <widget class="QLabel" name="label_7">
          <property name="text">
           <string>Maximum &amp;view width:</string>
          </property>
          <property name="buddy">
           <cstring>max_view_width</cstring>
          </property>
         </widget>
        </item>
        <item row="4" column="0" colspan="2">
         <widget class="QCheckBox" name="hyphenate">
          <property name="text">
           <string>H&amp;yphenate (break line in the middle of large words)</string>
          </property>
         </widget>
        </item>
        <item row="5" column="1">
         <widget class="QComboBox" name="hyphenate_default_lang">
          <property name="toolTip">
           <string>The default language to use for hyphenation rules. If the book does not specify a language, this will be used.</string>
          </property>
         </widget>
        </item>
        <item row="5" column="0">
         <widget class="QLabel" name="label_8">
          <property name="text">
           <string>Default &amp;language for hyphenation:</string>
          </property>
          <property name="buddy">
           <cstring>hyphenate_default_lang</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="3" column="0">
       <widget class="QGroupBox" name="groupBox_2">
        <property name="title">
         <string>&amp;User stylesheet</string>
        </property>
        <layout class="QGridLayout" name="gridLayout_5">
         <item row="1" column="0">
          <widget class="QPlainTextEdit" name="css"/>
         </item>
        </layout>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>serif_family</tabstop>
  <tabstop>sans_family</tabstop>
  <tabstop>mono_family</tabstop>
  <tabstop>default_font_size</tabstop>
  <tabstop>mono_font_size</tabstop>
  <tabstop>standard_font</tabstop>
  <tabstop>max_view_width</tabstop>
  <tabstop>opt_remember_window_size</tabstop>
  <tabstop>css</tabstop>
  <tabstop>buttonBox</tabstop>
 </tabstops>
 <resources>
  <include location="../images.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>Dialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>252</x>
     <y>569</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>Dialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>320</x>
     <y>569</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>hyphenate</sender>
   <signal>toggled(bool)</signal>
   <receiver>hyphenate_default_lang</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>83</x>
     <y>279</y>
    </hint>
    <hint type="destinationlabel">
     <x>349</x>
     <y>312</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
