search gui advanced search panel: add checkbox to invert the meaning of the directory filter
This commit is contained in:
parent
e61712fc90
commit
70a3fdd797
@ -1974,10 +1974,9 @@ text/html [file:///Users/uncrypted-dockes/projets/bateaux/ilur/factEtCie/r
|
|||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><literal>dir</literal> for filtering the
|
<listitem><para><literal>dir</literal> for filtering the
|
||||||
results on file location (Ex:
|
results on file location (Ex:
|
||||||
<literal>dir:/home/me/somedir</literal>). Please note
|
<literal>dir:/home/me/somedir</literal>). <literal>-dir</literal>
|
||||||
that this is quite inefficient, that it may produce very
|
also works to find results out of the specified directory, only
|
||||||
slow searches, and that it may be worth in some
|
after release 1.16.</para>
|
||||||
cases to set up separate databases instead.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem><para><literal>date</literal> for searching or filtering
|
<listitem><para><literal>date</literal> for searching or filtering
|
||||||
@ -2039,7 +2038,8 @@ text/html [file:///Users/uncrypted-dockes/projets/bateaux/ilur/factEtCie/r
|
|||||||
(<filename>mimeconf</filename>), and can be modified or
|
(<filename>mimeconf</filename>), and can be modified or
|
||||||
extended. The default category names are those which permit
|
extended. The default category names are those which permit
|
||||||
filtering results in the main GUI screen. Categories are OR'ed
|
filtering results in the main GUI screen. Categories are OR'ed
|
||||||
like mime types above.</para>
|
like mime types above. This can't be negated with
|
||||||
|
<literal>-</literal> either.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
@ -2897,12 +2897,12 @@ while query.next >= 0 and query.next < nres:
|
|||||||
<application>Midi module</application></ulink></para>
|
<application>Midi module</application></ulink></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>Konqueror webarchive format with Python (uses the Tarfile
|
<listitem><para>Konqueror webarchive format with Python (uses the
|
||||||
module).</listitem>
|
Tarfile module).</para></listitem>
|
||||||
|
|
||||||
<listitem>mimehtml web archive format (support based on the mail
|
<listitem><para>mimehtml web archive format (support based on the mail
|
||||||
filter, which introduces some mild weirdness, but still
|
filter, which introduces some mild weirdness, but still
|
||||||
usable).</listitem>
|
usable).</para></listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
|
|||||||
@ -399,6 +399,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QCheckBox" name="direxclCB">
|
||||||
|
<property name="text">
|
||||||
|
<string>Invert</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|||||||
@ -351,7 +351,8 @@ void AdvSearch::runSearch()
|
|||||||
|
|
||||||
if (!subtreeCMB->currentText().isEmpty()) {
|
if (!subtreeCMB->currentText().isEmpty()) {
|
||||||
QString current = subtreeCMB->currentText();
|
QString current = subtreeCMB->currentText();
|
||||||
sdata->setTopdir((const char*)subtreeCMB->currentText().toUtf8());
|
sdata->setTopdir((const char*)subtreeCMB->currentText().toUtf8(),
|
||||||
|
direxclCB->isChecked());
|
||||||
// Keep history list clean and sorted. Maybe there would be a
|
// Keep history list clean and sorted. Maybe there would be a
|
||||||
// simpler way to do this
|
// simpler way to do this
|
||||||
list<QString> entries;
|
list<QString> entries;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user