Parent: [aaa98a] (diff)

Child: [360c3b] (diff)

Download this file

uiprefs.ui    886 lines (885 with data), 30.1 kB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>uiPrefsDialogBase</class>
 <widget class="QDialog" name="uiPrefsDialogBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>531</width>
    <height>427</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>User preferences</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout">
   <item>
    <layout class="QVBoxLayout">
     <item>
      <widget class="QTabWidget" name="tabWidget">
       <property name="currentIndex">
        <number>1</number>
       </property>
       <widget class="QWidget" name="tab">
        <attribute name="title">
         <string>User interface</string>
        </attribute>
        <layout class="QVBoxLayout">
         <item>
          <layout class="QVBoxLayout">
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabelqtc">
               <property name="text">
                <string>Highlight color for query terms</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLineEdit" name="qtermColorLE">
               <property name="minimumSize">
                <size>
                 <width>50</width>
                 <height>0</height>
                </size>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="tLSTL">
               <property name="text">
                <string>Style sheet</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="stylesheetPB">
               <property name="toolTip">
                <string>Opens a dialog to select the style sheet file</string>
               </property>
               <property name="text">
                <string>Choose</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="resetSSPB">
               <property name="toolTip">
                <string>Resets the style sheet to default</string>
               </property>
               <property name="text">
                <string>Reset</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabelHL">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="toolTip">
                <string>Texts over this size will not be highlighted in preview (too slow).</string>
               </property>
               <property name="text">
                <string>Maximum text size highlighted for preview (megabytes)</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QSpinBox" name="maxHLTSB">
               <property name="minimum">
                <number>1</number>
               </property>
               <property name="value">
                <number>3</number>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="QCheckBox" name="previewHtmlCB">
             <property name="text">
              <string>Prefer Html to plain text for preview.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout" name="horizontalLayout">
             <item>
              <widget class="QLabel" name="label">
               <property name="toolTip">
                <string>Lines in PRE text are not folded. Using BR loses some indentation. PRE + Wrap style may be what you want.</string>
               </property>
               <property name="text">
                <string>Plain text to HTML line style</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QRadioButton" name="plainBRRB">
               <property name="text">
                <string>&lt;BR&gt;</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QRadioButton" name="plainPRERB">
               <property name="text">
                <string>&lt;PRE&gt;</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QRadioButton" name="plainPREWRAPRB">
               <property name="text">
                <string>&lt;PRE&gt; + wrap</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="QPushButton" name="viewActionPB">
             <property name="text">
              <string>Choose editor applications</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="catgToolBarCB">
             <property name="text">
              <string>Display category filter as toolbar instead of button panel (needs restart).</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="ssNoCompleteCB">
             <property name="text">
              <string>Disable Qt autocompletion in search entry.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="ssAutoSpaceCB">
             <property name="text">
              <string>Auto-start simple search on whitespace entry.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="ssAutoAllCB">
             <property name="text">
              <string>Search as you type.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="initStartAdvCB">
             <property name="text">
              <string>Start with advanced search dialog open.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="keepSortCB">
             <property name="text">
              <string>Remember sort activation state.</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <spacer name="spacer4">
             <property name="orientation">
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeType">
              <enum>QSizePolicy::Expanding</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>20</width>
               <height>70</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
       <widget class="QWidget" name="tab_2">
        <attribute name="title">
         <string>Result List</string>
        </attribute>
        <layout class="QVBoxLayout">
         <item>
          <layout class="QVBoxLayout">
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel1">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="text">
                <string>Number of entries in a result page</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QSpinBox" name="pageLenSB">
               <property name="minimum">
                <number>1</number>
               </property>
               <property name="maximum">
                <number>9999</number>
               </property>
               <property name="value">
                <number>8</number>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel4">
               <property name="text">
                <string>Result list font</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="reslistFontPB">
               <property name="toolTip">
                <string>Opens a dialog to select the result list font</string>
               </property>
               <property name="text">
                <string>Helvetica-10</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="resetFontPB">
               <property name="toolTip">
                <string>Resets the result list font to the system default</string>
               </property>
               <property name="text">
                <string>Reset</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QCommandLinkButton" name="CLEditPara">
               <property name="text">
                <string>Edit result paragraph format string</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="QCommandLinkButton" name="CLEditHeader">
             <property name="text">
              <string>Edit result page html header insert</string>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabelDateFormat">
               <property name="text">
                <string>Date format (strftime(3))</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLineEdit" name="dateformatLE">
               <property name="minimumSize">
                <size>
                 <width>30</width>
                 <height>0</height>
                </size>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabelAbss">
               <property name="text">
                <string>Abstract snippet separator</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLineEdit" name="abssepLE">
               <property name="minimumSize">
                <size>
                 <width>30</width>
                 <height>0</height>
                </size>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="tLSTL">
               <property name="text">
                <string>Snippets window CSS file</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="snipCssPB">
               <property name="toolTip">
                <string>Opens a dialog to select the Snippets window CSS style sheet file</string>
               </property>
               <property name="text">
                <string>Choose</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="resetSnipCssPB">
               <property name="toolTip">
                <string>Resets the Snippets window style</string>
               </property>
               <property name="text">
                <string>Reset</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
          </layout>
         </item>
         <item>
          <spacer name="verticalSpacer">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>40</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
       <widget class="QWidget" name="tab1">
        <attribute name="title">
         <string>Search parameters</string>
        </attribute>
        <layout class="QVBoxLayout">
         <item>
          <widget class="QCheckBox" name="collapseDupsCB">
           <property name="toolTip">
            <string>If checked, results with the same content under different names will only be shown once.</string>
           </property>
           <property name="text">
            <string>Hide duplicate results.</string>
           </property>
           <property name="checked">
            <bool>false</bool>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QVBoxLayout">
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel1_2">
               <property name="text">
                <string>Stemming language</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QComboBox" name="stemLangCMB"/>
             </item>
            </layout>
           </item>
           <item>
            <widget class="Line" name="lineX">
             <property name="frameShape">
              <enum>QFrame::HLine</enum>
             </property>
             <property name="frameShadow">
              <enum>QFrame::Sunken</enum>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="autoPhraseCB">
             <property name="toolTip">
              <string>A search for [rolling stones] (2 terms) will be changed to [rolling or stones or (rolling phrase 2 stones)]. 
This should give higher precedence to the results where the search terms appear exactly as entered.</string>
             </property>
             <property name="text">
              <string>Automatically add phrase to simple searches</string>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel33">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="toolTip">
                <string>Frequency percentage threshold over which we do not use terms inside autophrase. 
Frequent terms are a major performance issue with phrases. 
Skipped terms augment the phrase slack, and reduce the autophrase efficiency.
The default value is 2 (percent). </string>
               </property>
               <property name="text">
                <string>Autophrase term frequency threshold percentage</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QDoubleSpinBox" name="autoPThreshSB">
               <property name="singleStep">
                <double>0.200000000000000</double>
               </property>
               <property name="value">
                <double>2.000000000000000</double>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="Line" name="line2">
             <property name="frameShape">
              <enum>QFrame::HLine</enum>
             </property>
             <property name="frameShadow">
              <enum>QFrame::Sunken</enum>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="buildAbsCB">
             <property name="toolTip">
              <string>Do we try to build abstracts for result list entries by using the context of query terms ? 
May be slow for big documents.</string>
             </property>
             <property name="text">
              <string>Dynamically build abstracts</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QCheckBox" name="replAbsCB">
             <property name="toolTip">
              <string>Do we synthetize an abstract even if the document seemed to have one?</string>
             </property>
             <property name="text">
              <string>Replace abstracts from documents</string>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel2">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>2</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="text">
                <string>Synthetic abstract size (characters)</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QSpinBox" name="syntlenSB">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="minimum">
                <number>80</number>
               </property>
               <property name="maximum">
                <number>100000</number>
               </property>
               <property name="singleStep">
                <number>10</number>
               </property>
               <property name="value">
                <number>250</number>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel3">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="text">
                <string>Synthetic abstract context words</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QSpinBox" name="syntctxSB">
               <property name="minimum">
                <number>2</number>
               </property>
               <property name="maximum">
                <number>20000</number>
               </property>
               <property name="value">
                <number>4</number>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="Line" name="line3">
             <property name="frameShape">
              <enum>QFrame::HLine</enum>
             </property>
             <property name="frameShadow">
              <enum>QFrame::Sunken</enum>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QLabel" name="textLabel14">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>1</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="toolTip">
                <string>The words in the list will be automatically turned to ext:xxx clauses in the query language entry.</string>
               </property>
               <property name="text">
                <string>Query language magic file name suffixes.</string>
               </property>
               <property name="wordWrap">
                <bool>false</bool>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QCheckBox" name="autoSuffsCB">
               <property name="text">
                <string>Enable</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QLineEdit" name="autoSuffsLE">
               <property name="minimumSize">
                <size>
                 <width>30</width>
                 <height>0</height>
                </size>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <spacer name="spacer2">
             <property name="orientation">
              <enum>Qt::Vertical</enum>
             </property>
             <property name="sizeType">
              <enum>QSizePolicy::Expanding</enum>
             </property>
             <property name="sizeHint" stdset="0">
              <size>
               <width>20</width>
               <height>70</height>
              </size>
             </property>
            </spacer>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
       <widget class="QWidget" name="ExtraDb">
        <attribute name="title">
         <string>External Indexes</string>
        </attribute>
        <layout class="QVBoxLayout">
         <item>
          <layout class="QVBoxLayout">
           <item>
            <widget class="QListWidget" name="idxLV">
             <property name="selectionMode">
              <enum>QAbstractItemView::ExtendedSelection</enum>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QPushButton" name="togExtraDbPB">
               <property name="text">
                <string>Toggle selected</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="actAllExtraDbPB">
               <property name="text">
                <string>Activate All</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="unacAllExtraDbPB">
               <property name="text">
                <string>Deactivate All</string>
               </property>
              </widget>
             </item>
             <item>
              <widget class="QPushButton" name="ptransPB">
               <property name="text">
                <string>Paths translations</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
           <item>
            <widget class="Line" name="line2_2">
             <property name="frameShape">
              <enum>QFrame::HLine</enum>
             </property>
             <property name="frameShadow">
              <enum>QFrame::Sunken</enum>
             </property>
            </widget>
           </item>
           <item>
            <layout class="QHBoxLayout">
             <item>
              <widget class="QPushButton" name="delExtraDbPB">
               <property name="toolTip">
                <string>Remove from list. This has no effect on the disk index.</string>
               </property>
               <property name="text">
                <string>Remove selected</string>
               </property>
              </widget>
             </item>
             <item>
              <spacer name="spacer3">
               <property name="orientation">
                <enum>Qt::Horizontal</enum>
               </property>
               <property name="sizeType">
                <enum>QSizePolicy::Expanding</enum>
               </property>
               <property name="sizeHint" stdset="0">
                <size>
                 <width>16</width>
                 <height>20</height>
                </size>
               </property>
              </spacer>
             </item>
             <item>
              <widget class="QPushButton" name="addExtraDbPB">
               <property name="enabled">
                <bool>true</bool>
               </property>
               <property name="toolTip">
                <string>Click to add another index directory to the list. You can select either a Recoll configuration directory or a Xapian index.</string>
               </property>
               <property name="text">
                <string>Add index</string>
               </property>
              </widget>
             </item>
            </layout>
           </item>
          </layout>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
     <item>
      <layout class="QHBoxLayout">
       <item>
        <spacer name="Horizontal Spacing2">
         <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="sizeType">
          <enum>QSizePolicy::Expanding</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>210</width>
           <height>20</height>
          </size>
         </property>
        </spacer>
       </item>
       <item>
        <widget class="QPushButton" name="buttonOk">
         <property name="toolTip">
          <string>Apply changes</string>
         </property>
         <property name="text">
          <string>&amp;OK</string>
         </property>
         <property name="shortcut">
          <string/>
         </property>
         <property name="autoDefault">
          <bool>true</bool>
         </property>
         <property name="default">
          <bool>true</bool>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QPushButton" name="buttonCancel">
         <property name="toolTip">
          <string>Discard changes</string>
         </property>
         <property name="text">
          <string>&amp;Cancel</string>
         </property>
         <property name="shortcut">
          <string/>
         </property>
         <property name="autoDefault">
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources/>
 <connections/>
</ui>