<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>DBSearchEnginePref</class>
<author>Andrea Rizzi <rizzi@kde.org></author>
<widget class="TQWidget">
<property name="name">
<cstring>DBSEPrefWidget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>414</width>
<height>426</height>
</rect>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>TabWidget6</cstring>
</property>
<property name="whatsThis" stdset="0">
<string></string>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>Widget4</cstring>
</property>
<attribute name="title">
<string>Generic</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>ButtonGroup2</cstring>
</property>
<property name="title">
<string>Search Mode</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>allRB</cstring>
</property>
<property name="text">
<string>Search in whole database (slow)</string>
</property>
<property name="whatsThis" stdset="0">
<string><qml>Scroll the whole database and return everything that matches
according to the rules defined in tabs <strong> Generic </strong>
and <strong>Match</strong></string>
</property>
</widget>
<widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>slistRB</cstring>
</property>
<property name="text">
<string>Search in list of "good keys" (best)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string><qml>Search in a list of <em>good keys</em> (see <strong>Good keys</strong> tab) with rules defined in <strong>Search</strong> tab.
This is the best way to search because the <em>good keys</em> list probably contains all the keys that match with your query. However, it is smaller than the whole database.</string>
</property>
</widget>
<widget class="TQRadioButton" row="2" column="0">
<property name="name">
<cstring>rlistRB</cstring>
</property>
<property name="text">
<string>Return the list of "good keys" (fast)</string>
</property>
<property name="whatsThis" stdset="0">
<string><qml>Returns the whole <em>good keys</em> list. Rules defined in <strong>Search</strong> tab are ignored.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>caseSensitiveCB</cstring>
</property>
<property name="text">
<string>Case sensitive</string>
</property>
<property name="whatsThis" stdset="0">
<string><qml>If it is checked the search will be case sensitive. It is ignored if you use <em>Return the list of "good keys"</em> search mode.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>normalizeCB</cstring>
</property>
<property name="text">
<string>Normalize white space</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Remove white spaces at the beginning and at the end of the phrase.
It also substitutes groups of more than one space character with only one space character.</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>removeContextCB</cstring>
</property>
<property name="text">
<string>Remove context comment</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Remove, if exists, the _:comment</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout11</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
<property name="text">
<string>Character to be ignored:</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>ignoreLE</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>Spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>Widget5</cstring>
</property>
<attribute name="title">
<string>Search</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>ButtonGroup1</cstring>
</property>
<property name="title">
<string>Matching Method</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<spacer row="1" column="0">
<property name="name">
<cstring>Spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="2" column="0">
<property name="name">
<cstring>Spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="2" column="1">
<property name="name">
<cstring>containedCB</cstring>
</property>
<property name="text">
<string>Query is contained</string>
</property>
<property name="whatsThis" stdset="0">
<string>Match if query is contained in database string</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="1">
<property name="name">
<cstring>containsCB</cstring>
</property>
<property name="text">
<string>Query contains</string>
</property>
<property name="whatsThis" stdset="0">
<string>Match if query contains the database string</string>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>normalTextRB</cstring>
</property>
<property name="text">
<string>Normal text</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Consider the search string as normal text.</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>equalCB</cstring>
</property>
<property name="text">
<string>Equal</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Match if query and database string are equal</string>
</property>
</widget>
<spacer row="3" column="0">
<property name="name">
<cstring>Spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQRadioButton" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>RegExpRB</cstring>
</property>
<property name="text">
<string>Regular expression</string>
</property>
<property name="whatsThis" stdset="0">
<string>Consider the search string as a regular expression</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox3</cstring>
</property>
<property name="title">
<string>Word Substitution</string>
</property>
<property name="whatsThis" stdset="0">
<string><qml>If you use one or two <em>word substitution</em> each time you search a phrase with less than the specified number of words, the search engine will also search for all phrases that differ from the original one in one or two words.<p>
<strong>Example:</strong><br>
If you search for <em>My name is Andrea</em> and you have activated <em>one word substitution</em> you may also find phrases like <em>My name is Joe</em> or <em>Your name is Andrea</em>.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<spacer row="3" column="0">
<property name="name">
<cstring>Spacer8</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>oneWordSubCB</cstring>
</property>
<property name="text">
<string>Use one word substitution</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
<spacer row="1" column="0">
<property name="name">
<cstring>Spacer9</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>Max number of words in the query:</string>
</property>
</widget>
<widget class="TQSpinBox" row="3" column="2">
<property name="name">
<cstring>twoWordSubSB</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>14</number>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>twoWordSubCB</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Use two word substitution</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="3" column="1">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="text">
<string>Max number of words in the query:</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel5_3</cstring>
</property>
<property name="text">
<string>[A-Za-z0-9_%</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="hAlign" stdset="0">
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>regExpLE</cstring>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel6_2</cstring>
</property>
<property name="text">
<string>]</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLabel" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
<property name="text">
<string>Local characters for regular expressions:</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="2">
<property name="name">
<cstring>oneWordSubSB</cstring>
</property>
<property name="maxValue">
<number>200</number>
</property>
<property name="minValue">
<number>2</number>
</property>
<property name="value">
<number>40</number>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>Spacer1_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>Widget6</cstring>
</property>
<attribute name="title">
<string>Database</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>TextLabel7_2</cstring>
</property>
<property name="text">
<string>Database folder:</string>
</property>
</widget>
<widget class="KURLRequester" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>dirInput</cstring>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>autoAddCB_2</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Auto add entry to database</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Automatically add an entry to the database if a new translation is notified by someone (may be kbabel)</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1_4</cstring>
</property>
<property name="text">
<string>Auto added entry author:</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>authorLE</cstring>
</property>
<property name="whatsThis" stdset="0">
<string><qml>Put here the name and email address that you want to use as <em>last translator</em> filed when you auto-add entry to the database (e.g. when you modify a translation with kbabel).<p></string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQPushButton" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanFilePB</cstring>
</property>
<property name="text">
<string>Scan Single PO File...</string>
</property>
</widget>
<widget class="TQPushButton" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanPB_2</cstring>
</property>
<property name="text">
<string>Scan Folder...</string>
</property>
</widget>
<widget class="TQPushButton" row="6" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>scanrecPB</cstring>
</property>
<property name="text">
<string>Scan Folder && Subfolders...</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="8" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout5</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>filenameLB</cstring>
</property>
<property name="text">
<string>Scanning file:</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>entriesLB</cstring>
</property>
<property name="text">
<string>Entries added:</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget" row="9" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout4</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQProgressBar" row="2" column="1">
<property name="name">
<cstring>processPB</cstring>
</property>
<property name="frameShape">
<enum>Panel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="centerIndicator">
<bool>true</bool>
</property>
<property name="indicatorFollowsStyle">
<bool>false</bool>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_3</cstring>
</property>
<property name="text">
<string>Total progress:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>TextLabel3_3</cstring>
</property>
<property name="text">
<string>Processing file:</string>
</property>
</widget>
<widget class="TQProgressBar" row="0" column="1">
<property name="name">
<cstring>totalPB</cstring>
</property>
<property name="frameShape">
<enum>Panel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="centerIndicator">
<bool>true</bool>
</property>
</widget>
<widget class="TQProgressBar" row="1" column="1">
<property name="name">
<cstring>loadingPB</cstring>
</property>
<property name="frameShape">
<enum>Panel</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="centerIndicator">
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel2_3</cstring>
</property>
<property name="text">
<string>Loading file:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQPushButton" row="10" column="2">
<property name="name">
<cstring>exportPB</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Export...</string>
</property>
</widget>
<widget class="TQPushButton" row="10" column="0">
<property name="name">
<cstring>statPB</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Statistics</string>
</property>
</widget>
<widget class="TQPushButton" row="10" column="1">
<property name="name">
<cstring>repeatPB</cstring>
</property>
<property name="text">
<string>Repeated Strings</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Good Keys</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox4</cstring>
</property>
<property name="title">
<string>Generic</string>
</property>
<property name="whatsThis" stdset="0">
<string><qml>Here you can define how to fill the <em>good keys list</em>.<p>
You can set the minimum number of words of the query that a key must have to be inserted in the <em>good keys list</em>.<p>
You can also set the minimum number of words of the key that the query must have to insert the key in the list.<p>
These two numbers are the percentage of the total number of words. If the result of this percentage is less than one, the engine will set it to one.<p>
Finally you can set the maximum number of entries in the list.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel3_2</cstring>
</property>
<property name="text">
<string>Minimum number of words of the key also in the query (%):</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
</widget>
<widget class="TQSlider" row="1" column="0">
<property name="name">
<cstring>thresholdSL</cstring>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>SpinBox5</cstring>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel2_2</cstring>
</property>
<property name="text">
<string>Minimum number of query words in the key (%):</string>
</property>
</widget>
<widget class="TQSpinBox" row="4" column="1">
<property name="name">
<cstring>maxSB</cstring>
</property>
<property name="maxValue">
<number>5000</number>
</property>
<property name="value">
<number>30</number>
</property>
</widget>
<widget class="TQSpinBox" row="3" column="1">
<property name="name">
<cstring>SpinBox6</cstring>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>TextLabel4_2</cstring>
</property>
<property name="text">
<string>Max list length:</string>
</property>
</widget>
<widget class="TQSlider" row="3" column="0">
<property name="name">
<cstring>thresholdOrigSL</cstring>
</property>
<property name="maxValue">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox3_2</cstring>
</property>
<property name="title">
<string>Frequent Words</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
<property name="text">
<string>Discard words more frequent than:</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="1">
<property name="name">
<cstring>freqSB</cstring>
</property>
<property name="suffix">
<string>/10000</string>
</property>
<property name="maxValue">
<number>10000</number>
</property>
<property name="lineStep">
<number>1</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>nothingCB</cstring>
</property>
<property name="text">
<string>Frequent words are considered as in every key</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>Spacer3</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
</spacer>
</vbox>
</widget>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>thresholdSL</sender>
<signal>valueChanged(int)</signal>
<receiver>SpinBox5</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>thresholdOrigSL</sender>
<signal>valueChanged(int)</signal>
<receiver>SpinBox6</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>SpinBox5</sender>
<signal>valueChanged(int)</signal>
<receiver>thresholdSL</receiver>
<slot>setValue(int)</slot>
</connection>
<connection>
<sender>SpinBox6</sender>
<signal>valueChanged(int)</signal>
<receiver>thresholdOrigSL</receiver>
<slot>setValue(int)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in declaration">klocale.h</include>
<include location="global" impldecl="in declaration">kseparator.h</include>
</includes>
<layoutdefaults spacing="6" margin="11"/>
</UI>