*** empty log message ***
This commit is contained in:
+130
-104
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user