<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Form</class>
 <widget class="QWidget" name="Form">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1096</width>
    <height>791</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QGridLayout" name="gridLayout_2">
   <item row="0" column="1">
    <widget class="ScrollingTabWidget" name="tabWidget">
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="main_interface_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/lt.png</normaloff>:/images/lt.png</iconset>
      </attribute>
      <attribute name="title">
       <string>&amp;Main interface</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_7">
       <item row="0" column="0">
        <widget class="QLabel" name="label_widget_style">
         <property name="text">
          <string>User interface style (&amp;needs restart):</string>
         </property>
         <property name="buddy">
          <cstring>opt_ui_style</cstring>
         </property>
        </widget>
       </item>
       <item row="0" column="1">
        <widget class="QComboBox" name="opt_ui_style"/>
       </item>
       <item row="0" column="2">
        <layout class="QHBoxLayout">
         <item>
          <spacer name="horizontalSpacer_3">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>1</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
       <item row="1" column="0">
        <widget class="QLabel" name="icon_theme">
         <property name="text">
          <string/>
         </property>
        </widget>
       </item>
       <item row="1" column="1">
        <widget class="QPushButton" name="icon_theme_button">
         <property name="text">
          <string>Change &amp;icon theme</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0">
        <widget class="QLabel" name="opt_color_palette_label">
         <property name="text">
          <string>User interface &amp;colors:</string>
         </property>
         <property name="buddy">
          <cstring>button_adjust_colors</cstring>
         </property>
        </widget>
       </item>
       <item row="2" column="1">
        <widget class="QPushButton" name="button_adjust_colors">
         <property name="text">
          <string>Adjust &amp;colors</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0">
        <widget class="QLabel" name="label_17">
         <property name="text">
          <string>&amp;User interface layout:</string>
         </property>
         <property name="buddy">
          <cstring>opt_gui_layout</cstring>
         </property>
        </widget>
       </item>
       <item row="3" column="1">
        <widget class="QComboBox" name="opt_gui_layout">
         <property name="maximumSize">
          <size>
           <width>250</width>
           <height>16777215</height>
          </size>
         </property>
         <property name="sizeAdjustPolicy">
          <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
         </property>
         <property name="minimumContentsLength">
          <number>20</number>
         </property>
        </widget>
       </item>
       <item row="4" column="0">
        <widget class="QLabel" name="label_7">
         <property name="text">
          <string>Choose &amp;language (needs restart):</string>
         </property>
         <property name="buddy">
          <cstring>opt_language</cstring>
         </property>
        </widget>
       </item>
       <item row="4" column="1">
        <widget class="QComboBox" name="opt_language">
         <property name="sizeAdjustPolicy">
          <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
         </property>
         <property name="minimumContentsLength">
          <number>20</number>
         </property>
        </widget>
       </item>
       <item row="5" column="0">
        <widget class="QLabel" name="label_6">
         <property name="text">
          <string>&amp;Round the corners of covers:</string>
         </property>
         <property name="buddy">
          <cstring>opt_cover_corner_radius</cstring>
         </property>
        </widget>
       </item>
       <item row="5" column="1">
        <layout class="QHBoxLayout" name="horizontalLayout_3">
         <item>
          <widget class="QSpinBox" name="opt_cover_corner_radius">
           <property name="toolTip">
            <string>Round the corners of covers in many places they are displayed such as the Cover grid, Book details panel, etc. Adjust the amount of rounding with this setting. A value of between 5 and 10 looks good with most covers sizes. Zero disables rounding and is the default.</string>
           </property>
           <property name="specialValueText">
            <string>no rounding</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QComboBox" name="opt_cover_corner_radius_unit">
           <property name="toolTip">
            <string>The unit for the cover corner rounding. Either pixel values or as a percentage of the cover size.</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item row="6" column="0">
        <widget class="QCheckBox" name="opt_systray_icon">
         <property name="text">
          <string>Enable s&amp;ystem tray icon (needs restart)</string>
         </property>
        </widget>
       </item>
       <item row="6" column="1">
        <widget class="QCheckBox" name="opt_disable_animations">
         <property name="toolTip">
          <string>Disable all animations. Useful if you have a slow/old computer.</string>
         </property>
         <property name="text">
          <string>Disable &amp;animations</string>
         </property>
        </widget>
       </item>
       <item row="7" column="0">
        <widget class="QCheckBox" name="opt_disable_tray_notification">
         <property name="toolTip">
          <string>Disable popup notifications when calibre completes jobs such a conversion, sending to device etc. The notifications are sent via the operating system notification facility, if available.</string>
         </property>
         <property name="text">
          <string>Disable n&amp;otifications on job completion</string>
         </property>
        </widget>
       </item>
       <item row="7" column="1">
        <widget class="QCheckBox" name="opt_show_splash_screen">
         <property name="text">
          <string>Show the &amp;splash screen at startup</string>
         </property>
        </widget>
       </item>
       <item row="8" column="0">
        <widget class="QCheckBox" name="opt_book_list_tooltips">
         <property name="text">
          <string>Show &amp;tooltips in the book list</string>
         </property>
        </widget>
       </item>
       <item row="9" column="0">
        <layout class="QHBoxLayout" name="horizontalLayout">
         <item>
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>&amp;Interface font:</string>
           </property>
           <property name="buddy">
            <cstring>font_display</cstring>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLineEdit" name="font_display">
           <property name="readOnly">
            <bool>true</bool>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item row="9" column="1">
        <widget class="QPushButton" name="change_font_button">
         <property name="text">
          <string>Change &amp;font (needs restart)</string>
         </property>
        </widget>
       </item>
       <item row="10" column="0">
        <widget class="QGroupBox" name="groupBox_2">
         <property name="title">
          <string>Toolbar</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_8">
          <item row="0" column="1">
           <widget class="QComboBox" name="opt_toolbar_icon_size"/>
          </item>
          <item row="0" column="0">
           <widget class="QLabel" name="label_5">
            <property name="text">
             <string>Icon si&amp;ze:</string>
            </property>
            <property name="buddy">
             <cstring>opt_toolbar_icon_size</cstring>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QComboBox" name="opt_toolbar_text"/>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="label_8">
            <property name="text">
             <string>Show &amp;text under icons:</string>
            </property>
            <property name="buddy">
             <cstring>opt_toolbar_text</cstring>
            </property>
           </widget>
          </item>
          <item row="2" column="0" colspan="2">
           <widget class="QCheckBox" name="opt_wrap_toolbar_text">
            <property name="text">
             <string>Use t&amp;wo lines for the text under the icons (needs restart)</string>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="10" column="1">
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Status bar buttons</string>
         </property>
         <layout class="QVBoxLayout">
          <item>
           <widget class="QCheckBox" name="opt_show_layout_buttons">
            <property name="toolTip">
             <string>Show individual buttons to control the layout of the interface rather than a single button with a popup.</string>
            </property>
            <property name="text">
             <string>Show &amp;layout buttons</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QCheckBox" name="opt_show_sb_all_actions_button">
            <property name="toolTip">
             <string>Show a button that gives quick access to all available actions with a single click.</string>
            </property>
            <property name="text">
             <string>S&amp;how actions button</string>
            </property>
           </widget>
          </item>
          <item>
           <spacer name="horizontalSpacer_3">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>10</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </widget>
       </item>
       <item row="11" column="0">
        <widget class="QLabel" name="label_4">
         <property name="text">
          <string>E&amp;xtra spacing to add between rows in the book list (can be negative):</string>
         </property>
         <property name="buddy">
          <cstring>opt_book_list_extra_row_spacing</cstring>
         </property>
        </widget>
       </item>
       <item row="11" column="1">
        <widget class="QSpinBox" name="opt_book_list_extra_row_spacing">
         <property name="suffix">
          <string> px</string>
         </property>
         <property name="minimum">
          <number>-20</number>
         </property>
        </widget>
       </item>
       <item row="12" column="0">
        <widget class="QCheckBox" name="opt_row_numbers_in_book_list">
         <property name="text">
          <string>Show &amp;row numbers in the book list</string>
         </property>
        </widget>
       </item>
       <item row="13" column="0">
        <widget class="QCheckBox" name="opt_booklist_grid">
         <property name="text">
          <string>Draw a &amp;grid in the book list</string>
         </property>
        </widget>
       </item>
       <item row="14" column="0">
        <widget class="QCheckBox" name="opt_dnd_merge">
         <property name="text">
          <string>Allow using &amp;drag and drop to merge books</string>
         </property>
        </widget>
       </item>
       <item row="15" column="0">
        <spacer name="verticalSpacer_3">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>20</width>
           <height>40</height>
          </size>
         </property>
        </spacer>
       </item>
      </layout>
     </widget>
     <widget class="QTabWidget" name="cover_grid_tab">
      <property name="currentIndex">
       <number>0</number>
      </property>
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/grid.png</normaloff>:/images/grid.png</iconset>
      </attribute>
      <attribute name="title">
       <string>Cover &amp;grid</string>
      </attribute>
      <widget class="QWidget" name="tab_5">
       <attribute name="title">
        <string>&amp;Layout</string>
       </attribute>
       <layout class="QFormLayout" name="formLayout_2">
        <property name="fieldGrowthPolicy">
         <enum>QFormLayout::ExpandingFieldsGrow</enum>
        </property>
        <item row="0" column="0" colspan="2">
         <widget class="QLabel" name="label_19">
          <property name="text">
           <string>Control the Cover grid view. You can enable this view by clicking the &quot;Layout&quot; button in the bottom right corner of the main calibre window.</string>
          </property>
          <property name="wordWrap">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <spacer name="verticalSpacer_6">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Fixed</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>10</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="5" column="0">
         <widget class="QLabel" name="label_14">
          <property name="text">
           <string>Field to show &amp;under the covers:</string>
          </property>
          <property name="buddy">
           <cstring>opt_field_under_covers_in_grid</cstring>
          </property>
         </widget>
        </item>
        <item row="5" column="1">
         <widget class="QComboBox" name="opt_field_under_covers_in_grid"/>
        </item>
        <item row="6" column="0">
         <widget class="QLabel" name="label_16">
          <property name="text">
           <string>Spac&amp;ing between covers:</string>
          </property>
          <property name="buddy">
           <cstring>opt_cover_grid_spacing</cstring>
          </property>
         </widget>
        </item>
        <item row="6" column="1">
         <widget class="QDoubleSpinBox" name="opt_cover_grid_spacing">
          <property name="toolTip">
           <string>The spacing between covers. A value of zero means calculate automatically based on cover size.</string>
          </property>
          <property name="specialValueText">
           <string>Automatic</string>
          </property>
          <property name="suffix">
           <string> cm</string>
          </property>
          <property name="decimals">
           <number>2</number>
          </property>
          <property name="singleStep">
           <double>0.100000000000000</double>
          </property>
         </widget>
        </item>
        <item row="7" column="0" colspan="2">
         <widget class="QGroupBox" name="cg_background_box">
          <property name="title">
           <string>Background for the Cover grid</string>
          </property>
          <layout class="QGridLayout" name="gridLayout_5"/>
         </widget>
        </item>
        <item row="10" column="0" colspan="2">
         <widget class="QGroupBox" name="groupBox_4">
          <property name="title">
           <string>Cover size</string>
          </property>
          <layout class="QGridLayout" name="gridLayout_4">
           <item row="1" column="2">
            <widget class="QPushButton" name="cover_grid_larger_cover">
             <property name="toolTip">
              <string>Make the covers larger, maintaining current aspect ratio.</string>
             </property>
             <property name="text">
              <string>&amp;Larger covers</string>
             </property>
             <property name="icon">
              <iconset resource="../../../../resources/images.qrc">
               <normaloff>:/images/plus.png</normaloff>:/images/plus.png</iconset>
             </property>
            </widget>
           </item>
           <item row="2" column="2">
            <widget class="QPushButton" name="cover_grid_smaller_cover">
             <property name="toolTip">
              <string>Make the covers smaller, maintaining current aspect ratio.</string>
             </property>
             <property name="text">
              <string>&amp;Smaller covers</string>
             </property>
             <property name="icon">
              <iconset resource="../../../../resources/images.qrc">
               <normaloff>:/images/minus.png</normaloff>:/images/minus.png</iconset>
             </property>
            </widget>
           </item>
           <item row="2" column="0">
            <widget class="QLabel" name="label_12">
             <property name="text">
              <string>Cover &amp;height: </string>
             </property>
             <property name="buddy">
              <cstring>opt_cover_grid_height</cstring>
             </property>
            </widget>
           </item>
           <item row="1" column="0">
            <widget class="QLabel" name="label_11">
             <property name="text">
              <string>Cover &amp;width: </string>
             </property>
             <property name="buddy">
              <cstring>opt_cover_grid_width</cstring>
             </property>
            </widget>
           </item>
           <item row="2" column="1">
            <widget class="QDoubleSpinBox" name="opt_cover_grid_height">
             <property name="toolTip">
              <string>The height of displayed covers.
A value of zero means calculate automatically.</string>
             </property>
             <property name="specialValueText">
              <string>Automatic</string>
             </property>
             <property name="suffix">
              <string> cm</string>
             </property>
             <property name="decimals">
              <number>1</number>
             </property>
            </widget>
           </item>
           <item row="1" column="3" rowspan="2">
            <widget class="QPushButton" name="cover_grid_reset_size">
             <property name="toolTip">
              <string>Reset size to automatic</string>
             </property>
             <property name="text">
              <string>&amp;Reset size</string>
             </property>
            </widget>
           </item>
           <item row="3" column="0" colspan="5">
            <widget class="QLabel" name="cover_grid_aspect_ratio">
             <property name="text">
              <string/>
             </property>
            </widget>
           </item>
           <item row="1" column="4">
            <spacer name="horizontalSpacer_4">
             <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 row="1" column="1">
            <widget class="QDoubleSpinBox" name="opt_cover_grid_width">
             <property name="toolTip">
              <string>The width of displayed covers.
A value of zero means calculate automatically.</string>
             </property>
             <property name="specialValueText">
              <string>Automatic</string>
             </property>
             <property name="suffix">
              <string> cm</string>
             </property>
             <property name="decimals">
              <number>1</number>
             </property>
            </widget>
           </item>
           <item row="0" column="0" colspan="5">
            <widget class="QLabel" name="cover_size_label">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text">
              <string>By default, calibre chooses a cover size based on your computer's screen size. You can change the cover size here:</string>
             </property>
             <property name="wordWrap">
              <bool>true</bool>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
        </item>
        <item row="11" column="1">
         <widget class="QSpinBox" name="opt_emblem_size">
          <property name="suffix">
           <string> px</string>
          </property>
          <property name="minimum">
           <number>16</number>
          </property>
          <property name="maximum">
           <number>1000</number>
          </property>
         </widget>
        </item>
        <item row="11" column="0">
         <widget class="QLabel" name="label_21">
          <property name="text">
           <string>Size of the emblems (if any) shown &amp;next to the covers: </string>
          </property>
          <property name="buddy">
           <cstring>opt_emblem_size</cstring>
          </property>
         </widget>
        </item>
        <item row="4" column="0" colspan="2">
         <widget class="QCheckBox" name="opt_cover_grid_show_title">
          <property name="text">
           <string>Show a &amp;field (such as title) under the covers</string>
          </property>
         </widget>
        </item>
        <item row="12" column="0">
         <widget class="QLabel" name="label_22">
          <property name="text">
           <string>&amp;Location of the emblems shown next to the covers:</string>
          </property>
          <property name="buddy">
           <cstring>opt_emblem_position</cstring>
          </property>
         </widget>
        </item>
        <item row="12" column="1">
         <widget class="QComboBox" name="opt_emblem_position"/>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="emblems_tab">
       <attribute name="title">
        <string>&amp;Emblems</string>
       </attribute>
      </widget>
      <widget class="QWidget" name="tab_6">
       <attribute name="title">
        <string>&amp;Performance</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_2">
        <item>
         <widget class="QGroupBox" name="groupBox_3">
          <property name="title">
           <string>Caching of covers for improved performance</string>
          </property>
          <layout class="QGridLayout" name="gridLayout">
           <item row="0" column="0" colspan="5">
            <widget class="QLabel" name="label_13">
             <property name="text">
              <string>There are two kinds of caches that calibre uses to improve performance when rendering covers in the grid view. A disk cache that is kept on your hard disk and stores the cover thumbnails and an in memory cache used to ensure flicker free rendering of covers. For best results, keep the memory cache small and the disk cache large, unless you have a lot of extra RAM in your computer and don't mind it being used by the memory cache.</string>
             </property>
             <property name="wordWrap">
              <bool>true</bool>
             </property>
            </widget>
           </item>
           <item row="2" column="2">
            <widget class="QSpinBox" name="opt_cover_grid_disk_cache_size">
             <property name="specialValueText">
              <string>Disable</string>
             </property>
             <property name="suffix">
              <string> MB</string>
             </property>
             <property name="minimum">
              <number>100</number>
             </property>
             <property name="singleStep">
              <number>100</number>
             </property>
            </widget>
           </item>
           <item row="4" column="0">
            <widget class="QPushButton" name="cover_grid_empty_cache">
             <property name="text">
              <string>&amp;Empty disk cache</string>
             </property>
            </widget>
           </item>
           <item row="4" column="1">
            <widget class="QPushButton" name="cover_grid_open_cache">
             <property name="text">
              <string>&amp;Open cache folder</string>
             </property>
            </widget>
           </item>
           <item row="4" column="2" colspan="3">
            <spacer name="horizontalSpacer_3">
             <property name="orientation">
              <enum>Qt::Horizontal</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>310</width>
               <height>20</height>
              </size>
             </property>
            </spacer>
           </item>
           <item row="5" column="1">
            <spacer name="verticalSpacer_2">
             <property name="orientation">
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>20</width>
               <height>40</height>
              </size>
             </property>
            </spacer>
           </item>
           <item row="1" column="3">
            <spacer name="horizontalSpacer_5">
             <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 row="1" column="0" colspan="2">
            <widget class="QLabel" name="label_15">
             <property name="text">
              <string>Number of screenfulls of covers to cache in &amp;memory (keep this small):</string>
             </property>
             <property name="buddy">
              <cstring>opt_cover_grid_cache_size_multiple</cstring>
             </property>
            </widget>
           </item>
           <item row="2" column="0" colspan="2">
            <widget class="QLabel" name="label_18">
             <property name="text">
              <string>Maximum amount of &amp;disk space to use for caching thumbnails: </string>
             </property>
             <property name="buddy">
              <cstring>opt_cover_grid_disk_cache_size</cstring>
             </property>
            </widget>
           </item>
           <item row="1" column="2">
            <widget class="QSpinBox" name="opt_cover_grid_cache_size_multiple">
             <property name="toolTip">
              <string>The maximum number of screenfulls of thumbnails to keep in memory. Increasing this will make rendering faster, at the cost of more memory usage. Note that regardless of this setting, a minimum of one hundred thumbnails are always kept in memory, to ensure flicker free rendering.</string>
             </property>
             <property name="minimum">
              <number>2</number>
             </property>
             <property name="maximum">
              <number>100</number>
             </property>
            </widget>
           </item>
           <item row="3" column="2">
            <widget class="QLabel" name="cover_grid_current_disk_cache">
             <property name="text">
              <string/>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
        </item>
       </layout>
      </widget>
     </widget>
     <widget class="QWidget" name="book_details_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/book.png</normaloff>:/images/book.png</iconset>
      </attribute>
      <attribute name="title">
       <string>&amp;Book details</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_6">
       <item row="6" column="0">
        <widget class="QGroupBox" name="groupBox_5">
         <property name="title">
          <string>Text styling</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <item>
           <widget class="QPlainTextEdit" name="opt_book_details_css"/>
          </item>
         </layout>
        </widget>
       </item>
       <item row="5" column="0" colspan="3">
        <widget class="QPushButton" name="id_links_button">
         <property name="text">
          <string>Create rules to convert &amp;identifiers into links</string>
         </property>
        </widget>
       </item>
       <item row="3" column="0" colspan="3">
        <widget class="QWidget" name="default_author_link_container" native="true">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
        </widget>
       </item>
       <item row="6" column="2">
        <widget class="QGroupBox" name="groupBox3">
         <property name="toolTip">
          <string>&lt;p&gt;Check the box if you want the category's values displayed on separate lines instead of separated by commas&lt;/p&gt;</string>
         </property>
         <property name="title">
          <string>Categories on separate lines</string>
         </property>
         <layout class="QVBoxLayout" name="vblayout_3">
          <item>
           <widget class="QListView" name="bd_vertical_cats">
            <property name="alternatingRowColors">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="6" column="1">
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Select displayed metadata</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_3">
          <item row="3" column="1">
           <widget class="QToolButton" name="df_down_button">
            <property name="toolTip">
             <string>Move down. Keyboard shortcut: Ctrl-Down arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-down.png</normaloff>:/images/arrow-down.png</iconset>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QToolButton" name="df_up_button">
            <property name="toolTip">
             <string>Move up. Keyboard shortcut: Ctrl-Up arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-up.png</normaloff>:/images/arrow-up.png</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <spacer name="verticalSpacer_5">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item row="1" column="0" rowspan="3">
           <widget class="ListViewWithMoveByKeyPress" name="field_display_order">
            <property name="alternatingRowColors">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="4" column="0" colspan="2">
           <widget class="QLabel" name="label_3">
            <property name="text">
             <string>&lt;p&gt;Note: &lt;b&gt;comments&lt;/b&gt;-like columns will always
                     be displayed at the end unless their &quot;Heading position&quot; is
                     &quot;Show heading to the side&quot;.&lt;/p&gt;</string>
            </property>
            <property name="wordWrap">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
       <item row="0" column="0" colspan="3">
        <layout class="QHBoxLayout">
         <item>
          <widget class="QCheckBox" name="opt_bd_show_cover">
           <property name="text">
            <string>Show &amp;cover</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QCheckBox" name="opt_bd_overlay_cover_size">
           <property name="toolTip">
            <string>Show the size of the book's cover in pixels</string>
           </property>
           <property name="text">
            <string>Show cover &amp;size</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QCheckBox" name="opt_use_roman_numerals_for_series_number">
           <property name="text">
            <string>Use &amp;Roman numerals for series</string>
           </property>
           <property name="checked">
            <bool>true</bool>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="horizontalSpacer_bd1">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>0</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
       <item row="1" column="0" colspan="3">
        <layout class="QHBoxLayout" name="horizontalLayout_2">
         <item>
          <widget class="QLabel" name="label_25">
           <property name="text">
            <string>Show comments &amp;heading:</string>
           </property>
           <property name="buddy">
            <cstring>opt_book_details_comments_heading_pos</cstring>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QComboBox" name="opt_book_details_comments_heading_pos">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="horizontalSpacer_bd13">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>10</width>
             <height>0</height>
            </size>
           </property>
          </spacer>
         </item>
         <item>
          <widget class="QLabel" name="label_1022">
           <property name="text">
            <string>Link and note icon si&amp;ze:</string>
           </property>
           <property name="buddy">
            <cstring>opt_book_details_note_link_icon_width</cstring>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QDoubleSpinBox" name="opt_book_details_note_link_icon_width">
           <property name="toolTip">
            <string>Increase or decrease the size of the links and notes icons by this number. Larger
than one increases the icon size while smaller than one decreases it.</string>
           </property>
           <property name="decimals">
            <number>1</number>
           </property>
           <property name="minimum">
            <double>0.5</double>
           </property>
           <property name="maximum">
            <double>4.0</double>
           </property>
           <property name="singleStep">
            <double>0.1</double>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="horizontalSpacer_bd13">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>30</width>
             <height>0</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="edit_metadata_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/edit_input.png</normaloff>:/images/edit_input.png</iconset>
      </attribute>
      <attribute name="title">
       <string>Edit &amp;metadata</string>
      </attribute>
      <layout class="QVBoxLayout" name="vbox_layout_61">
       <item>
        <layout class="QFormLayout">
         <item row="0" column="0">
          <widget class="QLabel" name="edit_metadata_single_label">
           <property name="text">
            <string>Edit metadata (single) &amp;layout:</string>
           </property>
           <property name="buddy">
            <cstring>opt_edit_metadata_single_layout</cstring>
           </property>
          </widget>
         </item>
         <item row="0" column="1">
          <widget class="QComboBox" name="opt_edit_metadata_single_layout">
           <property name="toolTip">
            <string>Choose a different layout for the Edit metadata dialog. The compact metadata layout favors editing custom metadata over changing covers and formats.</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Select the custom columns (for this library) to display in the edit metadata dialogs and their order:</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_3">
          <item row="3" column="1">
           <widget class="QToolButton" name="em_down_button">
            <property name="toolTip">
             <string>Move down. Keyboard shortcut: Ctrl-Down arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-down.png</normaloff>:/images/arrow-down.png</iconset>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QToolButton" name="em_up_button">
            <property name="toolTip">
             <string>Move up. Keyboard shortcut: Ctrl-Up arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-up.png</normaloff>:/images/arrow-up.png</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <spacer name="verticalSpacer_5">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item row="1" column="0" rowspan="3">
           <widget class="ListViewWithMoveByKeyPress" name="em_display_order">
            <property name="alternatingRowColors">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="5" column="0">
           <layout class="QHBoxLayout" name="horizontalLayout_4">
            <item>
             <widget class="QPushButton" name="em_reset_layout_button">
              <property name="toolTip">
               <string>Click this button to reset the list to its default order.</string>
              </property>
              <property name="text">
               <string>Reset list</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="em_import_layout_button">
              <property name="toolTip">
               <string>&lt;p&gt;Click this button to set the list to one
previously exported. This could be useful if you have several libraries with
similar structure and you want to use the same column order for each one. Columns
in the imported list that aren't in the current library are ignored. Columns in
the library that are not in the imported list are put at the end and marked
as displayable.&lt;/p&gt;</string>
              </property>
              <property name="text">
               <string>Import list</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="em_export_layout_button">
              <property name="toolTip">
               <string>&lt;p&gt;Click this button to write the current display
settings to a file. This could be useful if you have several libraries with similar
structure and you want to use the same column order for each one.&lt;/p&gt;</string>
              </property>
              <property name="text">
               <string>Export list</string>
              </property>
             </widget>
            </item>
            <item>
             <spacer name="horizontalSpacer">
              <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>
        <layout class="QHBoxLayout">
         <item>
          <layout class="QFormLayout">
           <item row="0" column="0" colspan="2">
            <widget class="QCheckBox" name="opt_edit_metadata_ignore_display_order">
             <property name="toolTip">
              <string>&lt;p&gt;Check this box to make the edit metadata dialogs ignore the
above specifications, showing all the columns in the default order. This is
useful for temporarily seeing all your columns in the dialogs without losing
the display and order specifications.&lt;/p&gt;</string>
             </property>
             <property name="text">
              <string>Show &amp;all columns in default order when editing metadata</string>
             </property>
            </widget>
           </item>
           <item row="1" column="0" colspan="2">
            <widget class="QCheckBox" name="opt_edit_metadata_elide_labels">
             <property name="toolTip">
              <string>If checked then labels wider than the label width
will be elided, otherwise they will be word wrapped.</string>
             </property>
             <property name="text">
              <string>&amp;Elide labels when editing custom columns</string>
             </property>
            </widget>
           </item>
           <item row="2" column="0">
            <widget class="QLabel" name="label_1023">
             <property name="text">
              <string/>
             </property>
            </widget>
           </item>
           <item row="2" column="1">
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="label_102">
               <property name="text">
                <string>Elision point:</string>
               </property>
               <property name="buddy">
                <cstring>opt_edit_metadata_elision_point</cstring>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QComboBox" name="opt_edit_metadata_elision_point">
               <property name="toolTip">
                <string>Choose where in the label to put the...</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item row="3" column="0" colspan="2">
            <widget class="QCheckBox" name="opt_edit_metadata_templates_only_F2_on_booklist">
             <property name="toolTip">
              <string>&lt;p&gt;Check this box to allow only the F2 (Edit) key to
open the template editor in the book list for a &quot;Column built from other
columns&quot;. Editing with mouse clicks and the Tab key will be disabled.&lt;/p&gt;</string>
             </property>
             <property name="text">
              <string>Only the &amp;F2 (Edit) key edits column templates in the book list</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <layout class="QFormLayout">
           <item row="0" column="0" colspan="2">
            <widget class="QCheckBox" name="opt_edit_metadata_single_use_2_cols_for_custom_fields">
             <property name="text">
              <string>Use &amp;two columns for custom columns in the Default layout</string>
             </property>
            </widget>
           </item>
           <item row="1" column="0">
            <widget class="QLabel" name="label_102">
             <property name="text">
              <string>&amp;Bulk edit custom column label length:</string>
             </property>
             <property name="buddy">
              <cstring>opt_edit_metadata_bulk_cc_label_length</cstring>
             </property>
            </widget>
           </item>
           <item row="1" column="1">
            <widget class="QSpinBox" name="opt_edit_metadata_bulk_cc_label_length">
             <property name="toolTip">
              <string>The maximum width of a custom column label for the bulk metadata edit dialog in average characters.</string>
             </property>
             <property name="suffix">
              <string> chars</string>
             </property>
            </widget>
           </item>
           <item row="2" column="0">
            <widget class="QLabel" name="label_1022">
             <property name="text">
              <string>&amp;Single edit custom column label length:</string>
             </property>
             <property name="buddy">
              <cstring>opt_edit_metadata_single_cc_label_length</cstring>
             </property>
            </widget>
           </item>
           <item row="2" column="1">
            <widget class="QSpinBox" name="opt_edit_metadata_single_cc_label_length">
             <property name="toolTip">
              <string>The maximum width of a custom column label for the single metadata edit dialog in average characters.</string>
             </property>
             <property name="suffix">
              <string> chars</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
        </layout>
       </item>
      </layout>
     </widget>
     <widget class="QTabWidget" name="tag_browser_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/tags.png</normaloff>:/images/tags.png</iconset>
      </attribute>
      <attribute name="title">
       <string>&amp;Tag browser</string>
      </attribute>
      <widget class="QWidget" name="tb_tab1">
       <attribute name="title">
        <string>Di&amp;splay</string>
       </attribute>
       <layout class="QGridLayout" name="verticalLayout_42">
        <item row="0" column="0">
         <widget class="QLabel" name="label">
          <property name="toolTip">
           <string>User categories and Saved searches cannot be moved</string>
          </property>
          <property name="text">
           <string>Select the categories to display in the Tag browser, and their &amp;order</string>
          </property>
          <property name="buddy">
           <cstring>tb_display_order</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="0" rowspan="3">
         <widget class="ListViewWithMoveByKeyPress" name="tb_display_order">
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>200</height>
           </size>
          </property>
          <property name="alternatingRowColors">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QToolButton" name="tb_up_button">
          <property name="toolTip">
           <string>Move up. User categories and Saved searches cannot be moved. Keyboard shortcut: Ctrl-Up arrow</string>
          </property>
          <property name="icon">
           <iconset resource="../../../../resources/images.qrc">
            <normaloff>:/images/arrow-up.png</normaloff>:/images/arrow-up.png</iconset>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <spacer name="verticalSpacer_5">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>50</width>
            <height>40</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="3" column="1">
         <widget class="QToolButton" name="tb_down_button">
          <property name="toolTip">
           <string>Move down. User categories and Saved searches cannot be moved. Keyboard shortcut: Ctrl-Down arrow</string>
          </property>
          <property name="icon">
           <iconset resource="../../../../resources/images.qrc">
            <normaloff>:/images/arrow-down.png</normaloff>:/images/arrow-down.png</iconset>
          </property>
         </widget>
        </item>
        <item row="4" column="0">
         <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
           <widget class="QPushButton" name="tb_reset_layout_button">
            <property name="toolTip">
             <string>Click this button to reset the list to its default order.</string>
            </property>
            <property name="text">
             <string>Reset list</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="tb_import_layout_button">
            <property name="toolTip">
             <string>&lt;p&gt;Click this button to set the list to one
previously exported. This could be useful if you have several libraries with
similar structure and you want to use the same column order for each one. Columns
in the imported list that aren't in the current library are ignored. Columns in
the library that are not in the imported list are put at the end and marked
as displayable.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Import list</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="tb_export_layout_button">
            <property name="toolTip">
             <string>&lt;p&gt;Click this button to write the current display
settings to a file. This could be useful if you have several libraries with similar
structure and you want to use the same column order for each one.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Export list</string>
            </property>
           </widget>
          </item>
          <item>
           <spacer name="horizontalSpacer">
            <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>
        <item row="5" column="0" colspan="3">
         <layout class="QGridLayout" name="gridlayout_22">
          <item row="0" column="0">
           <widget class="QCheckBox" name="opt_show_avg_rating">
            <property name="toolTip">
             <string>Show the average rating per item indication in the Tag browser</string>
            </property>
            <property name="text">
             <string>Show &amp;average ratings</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="QCheckBox" name="opt_show_links_in_tag_browser">
            <property name="toolTip">
             <string>Show an icon if the item has an attached link</string>
            </property>
            <property name="text">
             <string>Show &amp;links icons</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="0" column="2">
           <widget class="QCheckBox" name="opt_tag_browser_show_tooltips">
            <property name="text">
             <string>Show &amp;tooltips</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QCheckBox" name="opt_tag_browser_show_counts">
            <property name="toolTip">
             <string>&lt;p&gt;Show counts for items in the Tag browser. Such as the number of books
by each author, the number of authors, etc. If you turn it off, you can still
see the counts by hovering your mouse over any item.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Show &amp;counts</string>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QCheckBox" name="opt_show_notes_in_tag_browser">
            <property name="toolTip">
             <string>Show an icon if the item has an attached note</string>
            </property>
            <property name="text">
             <string>Show &amp;notes icons</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="1" column="2">
           <widget class="QCheckBox" name="opt_tag_browser_old_look">
            <property name="text">
             <string>Use &amp;alternating row colors</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QCheckBox" name="opt_tag_browser_hide_empty_categories">
            <property name="toolTip">
             <string>&lt;p&gt;When checked, calibre will automatically hide any category
(a column, custom or standard) that has no items to show. For example, some
categories might not have values when using Virtual libraries. Checking this
box will cause these empty categories to be hidden.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Hide empt&amp;y categories (columns)</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QCheckBox" name="opt_icons_on_right_in_tag_browser">
            <property name="toolTip">
             <string>If checked the notes and links icons will be placed at the right, after
the count and in columns. If unchecked, the icons will be placed immediately after the text,
to the left of the count and not in columns.</string>
            </property>
            <property name="text">
             <string>Place icons on the &amp;right, in columns</string>
            </property>
            <property name="checked">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="2" column="2">
           <widget class="QCheckBox" name="opt_tag_browser_always_autocollapse">
            <property name="toolTip">
             <string>&lt;p&gt;When checked, Find in the Tag browser will show all items
that match the search instead of the first one. If Hide empty categories is
also checked then only categories containing a matched item will be shown.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Find &amp;shows all items that match</string>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <widget class="QCheckBox" name="opt_tag_browser_restore_tree_expansion">
            <property name="toolTip">
             <string>&lt;p&gt;Ensure the last &quot;used&quot; item in the Tag browser is visible when opening a library.
An item is &quot;used&quot; when it is expanded, collapsed, or clicked.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Expand tr&amp;ee to show last used item</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item row="8" column="0" colspan="3">
         <layout class="QVBoxLayout" name="verticalLayout">
          <item>
           <widget class="QCheckBox" name="opt_tag_browser_allow_keyboard_focus">
            <property name="toolTip">
             <string>&lt;p&gt;When checked, the Tag browser can get keyboard focus, allowing
use of the keyboard to navigate the tree using the arrow keys. The Enter key simulates
a click on the selected item. The keyboard shortcut 'Tag browser /
Give the Tag browser keyboard focus' changes the keyboard focus without
using the mouse.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Allow the Tag browser to have keyboard &amp;focus</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QLabel" name="tb_focus_label">
            <property name="styleSheet">
             <string notr="true">margin-left: 1.5em</string>
            </property>
            <property name="text">
             <string>&lt;p style=&quot;text-indent: 2em; font-size:smaller&quot;&gt;
If you enable this option then you should set a keyboard shortcut to
focus the Tag browser under
&lt;code&gt;Preferences-&amp;gt;Shortcuts-&amp;gt;Tag browser-&amp;gt;Give
the Tag browser keyboard focus&lt;/code&gt;&lt;/p&gt;</string>
            </property>
            <property name="wordWrap">
             <bool>true</bool>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item row="10" column="0" colspan="3">
         <layout class="QFormLayout" name="formLayout">
          <property name="fieldGrowthPolicy">
           <enum>QFormLayout::ExpandingFieldsGrow</enum>
          </property>
          <item row="1" column="0">
           <widget class="QLabel" name="label">
            <property name="text">
             <string>Spacing between &amp;items:</string>
            </property>
            <property name="buddy">
             <cstring>opt_tag_browser_item_padding</cstring>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QDoubleSpinBox" name="opt_tag_browser_item_padding">
            <property name="toolTip">
             <string>&lt;p&gt;The spacing between consecutive items in the Tag browser.
In units of (ex) which is the approximate height of the letter 'x' in the
currently used font.&lt;/p&gt;</string>
            </property>
            <property name="suffix">
             <string>ex</string>
            </property>
            <property name="decimals">
             <number>1</number>
            </property>
            <property name="minimum">
             <double>-1.000000000000000</double>
            </property>
            <property name="maximum">
             <double>2.000000000000000</double>
            </property>
            <property name="singleStep">
             <double>0.100000000000000</double>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="tb_tab2">
       <attribute name="title">
        <string>&amp;Partitioning and collapsing</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_4">
        <item>
         <layout class="QGridLayout" name="gridLayout_10">
          <item row="0" column="0">
           <layout class="QFormLayout" name="formLayout">
            <property name="fieldGrowthPolicy">
             <enum>QFormLayout::ExpandingFieldsGrow</enum>
            </property>
            <item row="0" column="0">
             <widget class="QLabel" name="label_9">
              <property name="text">
               <string>&amp;Category partitioning method:</string>
              </property>
              <property name="buddy">
               <cstring>opt_tags_browser_partition_method</cstring>
              </property>
             </widget>
            </item>
            <item row="0" column="1">
             <widget class="QComboBox" name="opt_tags_browser_partition_method">
              <property name="toolTip">
               <string>&lt;p&gt;Choose how Tag browser subcategories are displayed when
there are more items than the limit. Select by first
letter to see an A, B, C list. Choose partitioned to
have a list of fixed-sized groups. Set to disabled
if you never want subcategories&lt;/p&gt;</string>
              </property>
             </widget>
            </item>
            <item row="1" column="0">
             <widget class="QLabel" name="label_10">
              <property name="text">
               <string>Combine letters &amp;when fewer items than:</string>
              </property>
              <property name="buddy">
               <cstring>opt_tags_browser_collapse_fl_at</cstring>
              </property>
             </widget>
            </item>
            <item row="1" column="1">
             <widget class="QSpinBox" name="opt_tags_browser_collapse_fl_at">
              <property name="toolTip">
               <string>&lt;p&gt;If collapsing by first letter, combine adjacent letters together if
there are fewer items under a letter than specified here. If the partition method is
not set to first letter, this value is ignored. Set to zero to disable.&lt;/p&gt;</string>
              </property>
              <property name="maximum">
               <number>10000</number>
              </property>
             </widget>
            </item>
            <item row="2" column="0">
             <widget class="QLabel" name="label_10">
              <property name="text">
               <string>Co&amp;llapse when more items than:</string>
              </property>
              <property name="buddy">
               <cstring>opt_tags_browser_collapse_at</cstring>
              </property>
             </widget>
            </item>
            <item row="2" column="1">
             <widget class="QSpinBox" name="opt_tags_browser_collapse_at">
              <property name="toolTip">
               <string>&lt;p&gt;If a Tag browser category has more than this number of items, it is divided
up into subcategories. If the partition method is set to disable, this value is ignored.&lt;/p&gt;</string>
              </property>
              <property name="maximum">
               <number>10000</number>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item row="1" column="0">
           <widget class="QLabel" name="label">
            <property name="toolTip">
             <string>&lt;p&gt;Check the box for categories that are to
be partitioned using the criteria above. Uncheck the box if you don't want to
partition a category even if the number of items is larger than
the value shown above. This option can be used to
avoid collapsing hierarchical categories that have only
a few top-level elements.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Select categories to &amp;partition:</string>
            </property>
            <property name="buddy">
             <cstring>tb_cats_to_partition</cstring>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QListView" name="tb_cats_to_partition">
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>200</height>
             </size>
            </property>
            <property name="alternatingRowColors">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <layout class="QHBoxLayout" name="horizontalLayout_41">
            <item>
             <widget class="QPushButton" name="tb_partition_reset_button">
              <property name="toolTip">
               <string>Click this button to reset the list to its default order.</string>
              </property>
              <property name="text">
               <string>Reset list</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="tb_partition_import_layout_button">
              <property name="toolTip">
               <string>&lt;p&gt;Click this button to set the list to one
previously exported. This could be useful if you have several libraries with
similar structure and you want to use the same for each one.&lt;/p&gt;</string>
              </property>
              <property name="text">
               <string>Import list</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QPushButton" name="tb_partition_export_layout_button">
              <property name="toolTip">
               <string>&lt;p&gt;Click this button to write the current display
settings to a file. This could be useful if you have several libraries with similar
structure and you want to use the same for each one.&lt;/p&gt;</string>
              </property>
              <property name="text">
               <string>Export list</string>
              </property>
             </widget>
            </item>
            <item>
             <spacer name="horizontalSpacer">
              <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>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="tb_tab3">
       <attribute name="title">
        <string>&amp;Hierarchy and searching</string>
       </attribute>
       <layout class="QGridLayout">
        <item row="0" column="0">
         <widget class="QLabel" name="label">
          <property name="toolTip">
           <string>&lt;p&gt;Check the box for an item if it is to be displayed as a
hierarchical tree in the Tag browser. For example, if you check
'tags' then tags of the form 'Mystery.English'
and 'Mystery.Thriller' will be displayed with English and Thriller
both under 'Mystery'. If 'tags' is not checked
then the tags will be displayed each on their own line.&lt;/p&gt;
&lt;p&gt;The categories 'authors', 'publisher', 'news', 'formats', and 'rating'
cannot be hierarchical.&lt;/p&gt;
&lt;p&gt;User categories are always hierarchical and so do not appear in this list.&lt;/p&gt;</string>
          </property>
          <property name="text">
           <string>Select categories with &amp;hierarchical items:</string>
          </property>
          <property name="buddy">
           <cstring>tb_hierarchical_cats</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="0" rowspan="3">
         <widget class="QListView" name="tb_hierarchical_cats">
          <property name="sizePolicy">
           <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
            <horstretch>0</horstretch>
            <verstretch>1</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>200</height>
           </size>
          </property>
          <property name="alternatingRowColors">
           <bool>true</bool>
          </property>
         </widget>
        </item>
        <item row="4" column="0">
         <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
           <widget class="QPushButton" name="tb_hierarchy_reset_layout_button">
            <property name="toolTip">
             <string>Click this button to reset the list to its default order.</string>
            </property>
            <property name="text">
             <string>Reset list</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="tb_hierarchy_import_layout_button">
            <property name="toolTip">
             <string>&lt;p&gt;Click this button to set the list to one
previously exported. This could be useful if you have several libraries with
similar structure and you want to use the same for each one.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Import list</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QPushButton" name="tb_hierarchy_export_layout_button">
            <property name="toolTip">
             <string>&lt;p&gt;Click this button to write the current display
settings to a file. This could be useful if you have several libraries with similar
structure and you want to use the same for each one.&lt;/p&gt;</string>
            </property>
            <property name="text">
             <string>Export list</string>
            </property>
           </widget>
          </item>
          <item>
           <spacer name="horizontalSpacer">
            <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>
        <item row="10" column="0">
         <spacer name="horizontalSpacer">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>0</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="11" column="0">
         <widget class="QLabel" name="label">
          <property name="toolTip">
           <string>&lt;p&gt;Set the order of the searches when clicking on an item in
the Tag browser. The 'or its children' options are ignored when clicking on
top-level categories, items that aren't in a hierarchical category, and items
that don't have children.&lt;/p&gt;</string>
          </property>
          <property name="text">
           <string>Set the &amp;order of searches when clicking on items</string>
          </property>
          <property name="buddy">
           <cstring>tb_search_order</cstring>
          </property>
         </widget>
        </item>
        <item row="12" column="0" rowspan="3">
         <widget class="ListWidgetWithMoveByKeyPress" name="tb_search_order">
          <property name="sizeAdjustPolicy">
           <enum>QAbstractScrollArea::AdjustToContents</enum>
          </property>
         </widget>
        </item>
        <item row="12" column="1">
         <widget class="QToolButton" name="tb_search_order_up_button">
          <property name="toolTip">
           <string>Move up. Keyboard shortcut: Ctrl-Up arrow</string>
          </property>
          <property name="icon">
           <iconset resource="../../../../resources/images.qrc">
            <normaloff>:/images/arrow-up.png</normaloff>:/images/arrow-up.png</iconset>
          </property>
         </widget>
        </item>
        <item row="13" column="1">
         <spacer name="verticalSpacer_51">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>1</width>
            <height>1</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="14" column="1">
         <widget class="QToolButton" name="tb_search_order_down_button">
          <property name="toolTip">
           <string>Move down. Keyboard shortcut: Ctrl-Down arrow</string>
          </property>
          <property name="icon">
           <iconset resource="../../../../resources/images.qrc">
            <normaloff>:/images/arrow-down.png</normaloff>:/images/arrow-down.png</iconset>
          </property>
         </widget>
        </item>
        <item row="15" column="0">
         <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
           <widget class="QPushButton" name="tb_search_order_reset_button">
            <property name="toolTip">
             <string>Click this button to reset the list to its default order.</string>
            </property>
            <property name="text">
             <string>Reset list</string>
            </property>
           </widget>
          </item>
          <item>
           <spacer name="horizontalSpacer">
            <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>
     </widget>
     <widget class="QWidget" name="cover_browser_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/cover_flow.png</normaloff>:/images/cover_flow.png</iconset>
      </attribute>
      <attribute name="title">
       <string>Cover &amp;browser</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_11">
       <item row="0" column="1" colspan="2">
        <widget class="QCheckBox" name="opt_cb_fullscreen">
         <property name="text">
          <string>When showing in a separate window, show it &amp;fullscreen</string>
         </property>
        </widget>
       </item>
       <item row="0" column="0" colspan="3">
        <widget class="QCheckBox" name="opt_separate_cover_flow">
         <property name="text">
          <string>Show in a &amp;separate window (needs restart)</string>
         </property>
        </widget>
       </item>
       <item row="7" column="1" colspan="2">
        <widget class="QSpinBox" name="opt_cover_flow_queue_length"/>
       </item>
       <item row="7" column="0">
        <widget class="QLabel" name="label_61">
         <property name="text">
          <string>&amp;Number of covers to show in browse mode (needs restart):</string>
         </property>
         <property name="buddy">
          <cstring>opt_cover_flow_queue_length</cstring>
         </property>
        </widget>
       </item>
       <item row="8" column="2">
        <widget class="QPushButton" name="cover_browser_title_template_button">
         <property name="text">
          <string>Template &amp;editor</string>
         </property>
        </widget>
       </item>
       <item row="11" column="0" colspan="2">
        <spacer name="verticalSpacer_4">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>690</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item row="8" column="1">
        <widget class="QLineEdit" name="opt_cover_browser_title_template">
         <property name="toolTip">
          <string>&lt;p&gt;The template used to generate the text below the covers. This template uses
the same syntax as save templates. Defaults to just the book title.
Note that this setting is per-library, which means that you have to
set it again for every different calibre library you use. Use an
empty template for no text.&lt;/p&gt;</string>
         </property>
        </widget>
       </item>
       <item row="4" column="0">
        <widget class="QCheckBox" name="opt_cover_browser_reflections">
         <property name="text">
          <string>Show &amp;reflections</string>
         </property>
        </widget>
       </item>
       <item row="4" column="1" colspan="2">
        <widget class="QCheckBox" name="opt_cb_preserve_aspect_ratio">
         <property name="toolTip">
          <string>Show covers in their original aspect ratio instead of resizing
them to all have the same width and height</string>
         </property>
         <property name="text">
          <string>Preserve &amp;aspect ratio of covers</string>
         </property>
        </widget>
       </item>
       <item row="6" column="0">
        <widget class="QLabel" name="label_987">
         <property name="text">
          <string>Cover browser &amp;position in the narrow layout:</string>
         </property>
         <property name="buddy">
          <cstring>opt_cover_browser_narrow_view_position</cstring>
         </property>
        </widget>
       </item>
       <item row="6" column="1" colspan="2">
        <widget class="QComboBox" name="opt_cover_browser_narrow_view_position"/>
       </item>
       <item row="9" column="1" colspan="2">
        <widget class="QComboBox" name="opt_cover_browser_subtitle_field"/>
       </item>
       <item row="8" column="0">
        <widget class="QLabel" name="label_23">
         <property name="text">
          <string>&amp;Template for caption:</string>
         </property>
         <property name="buddy">
          <cstring>opt_cover_browser_title_template</cstring>
         </property>
        </widget>
       </item>
       <item row="9" column="0">
        <widget class="QLabel" name="label_24">
         <property name="text">
          <string>Fie&amp;ld for sub-title:</string>
         </property>
         <property name="buddy">
          <cstring>opt_cover_browser_subtitle_field</cstring>
         </property>
        </widget>
       </item>
       <item row="1" column="1" colspan="2">
        <widget class="QLabel" name="fs_help_msg">
         <property name="styleSheet">
          <string notr="true">margin-left: 1.5em</string>
         </property>
         <property name="text">
          <string>You can press the %s key to toggle full screen mode.</string>
         </property>
         <property name="wordWrap">
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item row="10" column="0">
        <widget class="QLabel" name="label_26">
         <property name="text">
          <string>Show ne&amp;xt cover during auto scroll after:</string>
         </property>
         <property name="buddy">
          <cstring>opt_books_autoscroll_time</cstring>
         </property>
        </widget>
       </item>
       <item row="10" column="1">
        <widget class="QDoubleSpinBox" name="opt_books_autoscroll_time">
         <property name="suffix">
          <string> seconds</string>
         </property>
         <property name="decimals">
          <number>1</number>
         </property>
         <property name="minimum">
          <double>1.000000000000000</double>
         </property>
         <property name="maximum">
          <double>100000.000000000000000</double>
         </property>
        </widget>
       </item>
       <item row="5" column="0" colspan="2">
        <widget class="QCheckBox" name="opt_cb_double_click_to_activate">
         <property name="text">
          <string>&amp;Double click to view the central book, instead of single click</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="quickview_tab">
      <attribute name="icon">
       <iconset resource="../../../../resources/images.qrc">
        <normaloff>:/images/quickview.png</normaloff>:/images/quickview.png</iconset>
      </attribute>
      <attribute name="title">
       <string>&amp;Quickview</string>
      </attribute>
      <layout class="QGridLayout" name="gridLayout_122">
       <item row="1" column="0" colspan="2">
        <layout class="QGridLayout" name="gridLayout_122">
         <item row="2" column="0">
          <widget class="QCheckBox" name="opt_qv_respects_vls">
           <property name="toolTip">
            <string>&lt;p&gt;Check this box to make Quickview show books only in the
current Virtual library. If unchecked, Quickview ignores Virtual libraries. If
unchecked then only row changes are taken into account.&lt;/p&gt;</string>
           </property>
           <property name="text">
            <string>&amp;Apply Virtual libraries</string>
           </property>
          </widget>
         </item>
         <item row="2" column="1">
          <widget class="QCheckBox" name="opt_qv_follows_column">
           <property name="toolTip">
            <string>&lt;p&gt;Check this box to make Quickview change the column being examined
when the column in the book list is changed using the cursor arrow keys&lt;/p&gt;</string>
           </property>
           <property name="text">
            <string>&amp;Change Quickview item when book list column changes</string>
           </property>
          </widget>
         </item>
         <item row="1" column="0">
          <widget class="QCheckBox" name="opt_qv_retkey_changes_column">
           <property name="toolTip">
            <string>&lt;p&gt;Pressing Enter in a cell changes both the book and the
column being examined (the left-hand panel)&lt;/p&gt;</string>
           </property>
           <property name="text">
            <string>&amp;Pressing Enter changes the examined column</string>
           </property>
          </widget>
         </item>
         <item row="1" column="1">
          <widget class="QCheckBox" name="opt_qv_dclick_changes_column">
           <property name="toolTip">
            <string>&lt;p&gt;Double-clicking in a cell changes both the book and the
column being examined (the left-hand panel)&lt;/p&gt;</string>
           </property>
           <property name="text">
            <string>&amp;Double click changes examined column</string>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item row="3" column="0" rowspan="2">
        <widget class="QGroupBox" name="groupBox">
         <property name="title">
          <string>Select columns to display</string>
         </property>
         <layout class="QGridLayout" name="gridLayout_32">
          <item row="0" column="1">
           <widget class="QToolButton" name="qv_up_button">
            <property name="toolTip">
             <string>Move up. Keyboard shortcut: Ctrl-Up arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-up.png</normaloff>:/images/arrow-up.png</iconset>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QToolButton" name="qv_down_button">
            <property name="toolTip">
             <string>Move down. Keyboard shortcut: Ctrl-Down arrow</string>
            </property>
            <property name="icon">
             <iconset resource="../../../../resources/images.qrc">
              <normaloff>:/images/arrow-down.png</normaloff>:/images/arrow-down.png</iconset>
            </property>
           </widget>
          </item>
          <item row="0" column="0" rowspan="3">
           <widget class="ListViewWithMoveByKeyPress" name="qv_display_order">
            <property name="alternatingRowColors">
             <bool>true</bool>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <spacer name="verticalSpacer_5">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item row="0" column="0">
    <widget class="QListWidget" name="sections_view">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>ListViewWithMoveByKeyPress</class>
   <extends>QListView</extends>
   <header>calibre/gui2/preferences.h</header>
  </customwidget>
  <customwidget>
   <class>ListWidgetWithMoveByKeyPress</class>
   <extends>QListWidget</extends>
   <header>calibre/gui2/preferences.h</header>
  </customwidget>
  <customwidget>
   <class>ScrollingTabWidget</class>
   <extends>QTabWidget</extends>
   <header>calibre/gui2/widgets2.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="../../../../resources/images.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>opt_cover_grid_show_title</sender>
   <signal>toggled(bool)</signal>
   <receiver>opt_field_under_covers_in_grid</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>86</x>
     <y>49</y>
    </hint>
    <hint type="destinationlabel">
     <x>101</x>
     <y>51</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>opt_tag_browser_allow_keyboard_focus</sender>
   <signal>toggled(bool)</signal>
   <receiver>tb_focus_label</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>275</x>
     <y>528</y>
    </hint>
    <hint type="destinationlabel">
     <x>358</x>
     <y>555</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
