aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-26 14:02:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-28 07:24:10 -0800
commit11b357a4f080f43c2fc3d1c169aeb94d042d041e (patch)
tree1aac222f09ed052ffa10a64ffb6c844f00cba0c3 /desktop-widgets/filterwidget2.ui
parentde569b03bb132b09d397747015629a6cc625e3c2 (diff)
downloadsubsurface-11b357a4f080f43c2fc3d1c169aeb94d042d041e.tar.gz
Desktop: set filter negation texts
The texts may not be perfect, but this is a start. Replace the buttons by combo-boxes. This will allow potential extension to "any of". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/filterwidget2.ui')
-rw-r--r--desktop-widgets/filterwidget2.ui92
1 files changed, 54 insertions, 38 deletions
diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui
index 6167de4df..6a4345c43 100644
--- a/desktop-widgets/filterwidget2.ui
+++ b/desktop-widgets/filterwidget2.ui
@@ -291,44 +291,60 @@
</property>
</widget>
</item>
- <item row="8" column="2" colspan="2">
- <widget class="QToolButton" name="tagsNegate">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>Click to negate</string>
- </property>
- </widget>
- </item>
- <item row="9" column="2" colspan="2">
- <widget class="QToolButton" name="peopleNegate">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>Click to negate</string>
- </property>
- </widget>
- </item>
- <item row="10" column="2" colspan="2">
- <widget class="QToolButton" name="locationNegate">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>Click to negate</string>
- </property>
- </widget>
- </item>
- <item row="11" column="2" colspan="2">
- <widget class="QToolButton" name="equipmentNegate">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>Click to negate</string>
- </property>
+ <item row="8" column="2">
+ <widget class="QComboBox" name="tagsMode">
+ <item>
+ <property name="text">
+ <string>All of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>None of</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="9" column="2">
+ <widget class="QComboBox" name="peopleMode">
+ <item>
+ <property name="text">
+ <string>All of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>None of</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="10" column="2">
+ <widget class="QComboBox" name="locationMode">
+ <item>
+ <property name="text">
+ <string>Matches</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Doesn't match</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="11" column="2">
+ <widget class="QComboBox" name="equipmentMode">
+ <item>
+ <property name="text">
+ <string>All of</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>None of</string>
+ </property>
+ </item>
</widget>
</item>
<item row="12" column="0">