summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-19 16:31:21 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-19 12:02:15 -0800
commite550a788f01275b04c95e8a8eb9f390b1d5ffe7b (patch)
treeba34e845631e33663fed845f7d193bf403eb2fb8 /desktop-widgets/filterwidget2.ui
parentce669adc53656fec1a7d77ee6ff8d82489bebbd7 (diff)
downloadsubsurface-e550a788f01275b04c95e8a8eb9f390b1d5ffe7b.tar.gz
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>
Diffstat (limited to 'desktop-widgets/filterwidget2.ui')
-rw-r--r--desktop-widgets/filterwidget2.ui24
1 files changed, 22 insertions, 2 deletions
diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui
index 0b95f7bae..92b61ba80 100644
--- a/desktop-widgets/filterwidget2.ui
+++ b/desktop-widgets/filterwidget2.ui
@@ -300,6 +300,11 @@
</item>
<item>
<property name="text">
+ <string>Any of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>None of</string>
</property>
</item>
@@ -314,6 +319,11 @@
</item>
<item>
<property name="text">
+ <string>Any of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>None of</string>
</property>
</item>
@@ -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>Any of</string>
</property>
</item>
<item>
<property name="text">
- <string>Doesn't match</string>
+ <string>None of</string>
</property>
</item>
</widget>
@@ -342,6 +357,11 @@
</item>
<item>
<property name="text">
+ <string>Any of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
<string>None of</string>
</property>
</item>