*** empty log message ***
This commit is contained in:
parent
f773eff0b1
commit
5f9675fd7b
@ -24,7 +24,7 @@
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout28</cstring>
|
||||
<cstring>layout13</cstring>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
@ -145,135 +145,147 @@
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>restrictFtCB</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Restrict file types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout19</cstring>
|
||||
<cstring>layout12</cstring>
|
||||
</property>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QCheckBox">
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>restrictFtCB</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Restrict file types</string>
|
||||
<cstring>layout9</cstring>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel2_2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Searched file types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QListBox">
|
||||
<property name="name">
|
||||
<cstring>yesFiltypsLB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>Extended</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout11</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>layout9</cstring>
|
||||
<cstring>delAFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>All ----></string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel2_2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Searched file types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QListBox">
|
||||
<property name="name">
|
||||
<cstring>yesFiltypsLB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>Extended</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>layout11</cstring>
|
||||
<cstring>delFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Sel -----></string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>delFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>--------></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>addFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><---------</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>layout10</cstring>
|
||||
<cstring>addFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><----- Sel</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel3</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Ignored file types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QListBox">
|
||||
<property name="name">
|
||||
<cstring>noFiltypsLB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>Extended</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
</hbox>
|
||||
<widget class="QPushButton">
|
||||
<property name="name">
|
||||
<cstring>addAFiltypPB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><----- All</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
</vbox>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout10</cstring>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel3</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Ignored file types</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QListBox">
|
||||
<property name="name">
|
||||
<cstring>noFiltypsLB</cstring>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="selectionMode">
|
||||
<enum>Extended</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="Line">
|
||||
<property name="name">
|
||||
@ -437,6 +449,18 @@
|
||||
<receiver>advsearch</receiver>
|
||||
<slot>searchPB_clicked()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>delAFiltypPB</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>advsearch</receiver>
|
||||
<slot>delAFiltypPB_clicked()</slot>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>addAFiltypPB</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>advsearch</receiver>
|
||||
<slot>addAFiltypPB_clicked()</slot>
|
||||
</connection>
|
||||
</connections>
|
||||
<includes>
|
||||
<include location="local" impldecl="in declaration">recoll.h</include>
|
||||
@ -447,7 +471,9 @@
|
||||
</signals>
|
||||
<slots>
|
||||
<slot>delFiltypPB_clicked()</slot>
|
||||
<slot>delAFiltypPB_clicked()</slot>
|
||||
<slot>addFiltypPB_clicked()</slot>
|
||||
<slot>addAFiltypPB_clicked()</slot>
|
||||
<slot>restrictFtCB_toggled( bool on )</slot>
|
||||
<slot>searchPB_clicked()</slot>
|
||||
<slot>browsePB_clicked()</slot>
|
||||
|
||||
@ -59,6 +59,13 @@ void advsearch::delFiltypPB_clicked()
|
||||
noFiltypsLB->sort();
|
||||
}
|
||||
|
||||
void advsearch::delAFiltypPB_clicked()
|
||||
{
|
||||
for (unsigned int i = 0; i < yesFiltypsLB->count();i++) {
|
||||
yesFiltypsLB->setSelected(i, true);
|
||||
}
|
||||
delFiltypPB_clicked();
|
||||
}
|
||||
|
||||
// Move selected file types from the ignored to the searched box
|
||||
void advsearch::addFiltypPB_clicked()
|
||||
@ -81,6 +88,14 @@ void advsearch::addFiltypPB_clicked()
|
||||
noFiltypsLB->sort();
|
||||
}
|
||||
|
||||
void advsearch::addAFiltypPB_clicked()
|
||||
{
|
||||
for (unsigned int i = 0; i < noFiltypsLB->count();i++) {
|
||||
noFiltypsLB->setSelected(i, true);
|
||||
}
|
||||
addFiltypPB_clicked();
|
||||
}
|
||||
|
||||
|
||||
// Activate file type selection
|
||||
void advsearch::restrictFtCB_toggled(bool on)
|
||||
@ -88,6 +103,8 @@ void advsearch::restrictFtCB_toggled(bool on)
|
||||
yesFiltypsLB->setEnabled(on);
|
||||
delFiltypPB->setEnabled(on);
|
||||
addFiltypPB->setEnabled(on);
|
||||
delAFiltypPB->setEnabled(on);
|
||||
addAFiltypPB->setEnabled(on);
|
||||
noFiltypsLB->setEnabled(on);
|
||||
}
|
||||
|
||||
@ -116,3 +133,4 @@ void advsearch::browsePB_clicked()
|
||||
QString dir = QFileDialog::getExistingDirectory();
|
||||
subtreeLE->setText(dir);
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# @(#$Id: mimeconf,v 1.11 2005-11-25 09:14:14 dockes Exp $ (C) 2004 J.F.Dockes
|
||||
# @(#$Id: mimeconf,v 1.12 2005-11-30 09:46:48 dockes Exp $ (C) 2004 J.F.Dockes
|
||||
|
||||
# Recoll : associations of mime types to processing filters.
|
||||
# There are different sections for decompression, 'interning' for indexing
|
||||
@ -55,17 +55,17 @@ text/plain = xemacs %f
|
||||
text/html = firefox %u
|
||||
application/pdf = xpdf %f
|
||||
application/postscript = gv %f
|
||||
application/msword = openoffice-1.1.3-swriter %f
|
||||
application/vnd.sun.xml.calc = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.calc.template = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.draw = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.draw.template = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.impress = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.impress.template = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.math = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.writer = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.writer.global = openoffice-1.1.3 %f
|
||||
application/vnd.sun.xml.writer.template = openoffice-1.1.3 %f
|
||||
application/msword = openoffice %f
|
||||
application/vnd.sun.xml.calc = openoffice %f
|
||||
application/vnd.sun.xml.calc.template = openoffice %f
|
||||
application/vnd.sun.xml.draw = openoffice %f
|
||||
application/vnd.sun.xml.draw.template = openoffice %f
|
||||
application/vnd.sun.xml.impress = openoffice %f
|
||||
application/vnd.sun.xml.impress.template = openoffice %f
|
||||
application/vnd.sun.xml.math = openoffice %f
|
||||
application/vnd.sun.xml.writer = openoffice %f
|
||||
application/vnd.sun.xml.writer.global = openoffice %f
|
||||
application/vnd.sun.xml.writer.template = openoffice %f
|
||||
|
||||
# Icons to be used in the result list.
|
||||
[icons]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user