--- a/src/qtgui/uiprefs.ui
+++ b/src/qtgui/uiprefs.ui
@@ -22,236 +22,249 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="QTabWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tabWidget2</cstring>
</property>
- <vbox>
+ <widget class="QWidget">
<property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QTabWidget">
- <property name="name">
- <cstring>tabWidget2</cstring>
- </property>
- <widget class="QWidget">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>User interface</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
<property name="name">
- <cstring>tab</cstring>
+ <cstring>layout4</cstring>
</property>
- <attribute name="title">
- <string>User interface</string>
- </attribute>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>textLabel1</cstring>
+ </property>
+ <property name="text">
+ <string>Number of entries in a result page</string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="1" column="0">
+ <property name="name">
+ <cstring>textLabel3</cstring>
+ </property>
+ <property name="text">
+ <string>Result list font</string>
+ </property>
+ </widget>
+ <widget class="QPushButton" row="1" column="1" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>reslistFontPB</cstring>
+ </property>
+ <property name="text">
+ <string>Helvetica-10</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Opens a dialog to select the result list font</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox" row="0" column="2" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>pageLenSB</cstring>
+ </property>
+ <property name="minValue">
+ <number>1</number>
+ </property>
+ <property name="value">
+ <number>8</number>
+ </property>
+ </widget>
+ <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4">
+ <property name="name">
+ <cstring>useIconsCB</cstring>
+ </property>
+ <property name="text">
+ <string>Show document type icons in result list</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QPushButton" row="1" column="3">
+ <property name="name">
+ <cstring>resetFontPB</cstring>
+ </property>
+ <property name="text">
+ <string>Reset</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Resets the result list font to the system default</string>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>Search parameters</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout7</cstring>
+ </property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
- <cstring>layout4</cstring>
- </property>
- <grid>
+ <cstring>layout6</cstring>
+ </property>
+ <hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
+ <widget class="QLabel">
<property name="name">
- <cstring>textLabel1</cstring>
+ <cstring>textLabel1_2</cstring>
</property>
<property name="text">
- <string>Number of entries in a result page</string>
+ <string>Stemming language</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="QComboBox">
<property name="name">
- <cstring>textLabel3</cstring>
- </property>
- <property name="text">
- <string>Result list font</string>
+ <cstring>stemLangCMB</cstring>
</property>
</widget>
- <widget class="QPushButton" row="1" column="1" rowspan="1" colspan="2">
- <property name="name">
- <cstring>reslistFontPB</cstring>
- </property>
- <property name="text">
- <string>Helvetica-10</string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Opens a dialog to select the result list font</string>
- </property>
- </widget>
- <widget class="QSpinBox" row="0" column="2" rowspan="1" colspan="2">
- <property name="name">
- <cstring>pageLenSB</cstring>
- </property>
- <property name="minValue">
- <number>1</number>
- </property>
- <property name="value">
- <number>8</number>
- </property>
- </widget>
- <widget class="QCheckBox" row="2" column="0" rowspan="1" colspan="4">
- <property name="name">
- <cstring>useIconsCB</cstring>
- </property>
- <property name="text">
- <string>Show document type icons in result list</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QPushButton" row="1" column="3">
- <property name="name">
- <cstring>resetFontPB</cstring>
- </property>
- <property name="text">
- <string>Reset</string>
- </property>
- <property name="toolTip" stdset="0">
- <string>Resets the result list font to the system default</string>
- </property>
- </widget>
- </grid>
- </widget>
+ </hbox>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>buildAbsCB</cstring>
+ </property>
+ <property name="text">
+ <string>Dynamically build abstracts</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <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>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>replAbsCB</cstring>
+ </property>
+ <property name="text">
+ <string>Replace abstracts from documents</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Do we synthetize an abstract even if the document seemed to have one?</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>70</height>
+ </size>
+ </property>
+ </spacer>
</vbox>
</widget>
- <widget class="QWidget">
- <property name="name">
- <cstring>tab</cstring>
- </property>
- <attribute name="title">
- <string>Search parameters</string>
- </attribute>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout7</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>layout6</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1_2</cstring>
- </property>
- <property name="text">
- <string>Stemming language</string>
- </property>
- </widget>
- <widget class="QComboBox">
- <property name="name">
- <cstring>stemLangCMB</cstring>
- </property>
- </widget>
- </hbox>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </vbox>
- </widget>
- </vbox>
- </widget>
+ </vbox>
+ </widget>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>Layout1</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>Horizontal Spacing2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>buttonOk</cstring>
+ </property>
+ <property name="text">
+ <string>&OK</string>
+ </property>
+ <property name="accel">
+ <string></string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Apply changes</string>
+ </property>
</widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>Layout1</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <spacer>
- <property name="name">
- <cstring>Horizontal Spacing2</cstring>
- </property>
- <property name="orientation">
- <enum>Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- <widget class="QPushButton">
- <property name="name">
- <cstring>buttonOk</cstring>
- </property>
- <property name="text">
- <string>&OK</string>
- </property>
- <property name="accel">
- <string></string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Apply changes</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>buttonCancel</cstring>
- </property>
- <property name="text">
- <string>&Cancel</string>
- </property>
- <property name="accel">
- <string></string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="toolTip" stdset="0">
- <string>Discard changes</string>
- </property>
- </widget>
- </hbox>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>buttonCancel</cstring>
+ </property>
+ <property name="text">
+ <string>&Cancel</string>
+ </property>
+ <property name="accel">
+ <string></string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Discard changes</string>
+ </property>
</widget>
- </vbox>
+ </hbox>
</widget>
</vbox>
</widget>
@@ -267,6 +280,12 @@
<signal>clicked()</signal>
<receiver>uiPrefsDialog</receiver>
<slot>reject()</slot>
+ </connection>
+ <connection>
+ <sender>buildAbsCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>replAbsCB</receiver>
+ <slot>setEnabled(bool)</slot>
</connection>
</connections>
<includes>