mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Filter: implement any-of mode
Add an additional mode to the tags, people and location filters: any_of. Replace the original invert-bool by an enum. Move the common code into a distinct function. Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ce669adc53
commit
e550a788f0
4 changed files with 66 additions and 31 deletions
|
|
@ -298,6 +298,11 @@
|
|||
<string>All of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Any of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None of</string>
|
||||
|
|
@ -312,6 +317,11 @@
|
|||
<string>All of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Any of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None of</string>
|
||||
|
|
@ -323,12 +333,17 @@
|
|||
<widget class="QComboBox" name="locationMode">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Matches</string>
|
||||
<string>All of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Doesn't match</string>
|
||||
<string>Any of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None of</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
|
|
@ -340,6 +355,11 @@
|
|||
<string>All of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Any of</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>None of</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue