aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-26 14:23:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-28 07:24:10 -0800
commitf7cd4fc0216ce8584c218b58c0598bb7c5d7c43d (patch)
tree4b8239d12072bfc3a65bf40011866dbc6d69459a
parentc1173e9d2eba06542611e2c400a6df7a4d88ee2e (diff)
downloadsubsurface-f7cd4fc0216ce8584c218b58c0598bb7c5d7c43d.tar.gz
Desktop: change filter negate buttons
Use button text to indicate what the current state is (done in code) and use tool tip to tell the user that pressing the button negates the filter's effect. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/filterwidget2.ui40
1 files changed, 20 insertions, 20 deletions
diff --git a/desktop-widgets/filterwidget2.ui b/desktop-widgets/filterwidget2.ui
index 84c543640..a1ea1cb15 100644
--- a/desktop-widgets/filterwidget2.ui
+++ b/desktop-widgets/filterwidget2.ui
@@ -21,7 +21,7 @@
</property>
</widget>
</item>
- <item row="8" column="2" colspan="6">
+ <item row="8" column="4" colspan="6">
<widget class="QLineEdit" name="tags"/>
</item>
<item row="1" column="2">
@@ -121,7 +121,7 @@
</property>
</widget>
</item>
- <item row="10" column="2" colspan="6">
+ <item row="10" column="4" colspan="6">
<widget class="QLineEdit" name="location"/>
</item>
<item row="11" column="0">
@@ -137,7 +137,7 @@
<item row="4" column="8">
<widget class="QDoubleSpinBox" name="maxAirTemp"/>
</item>
- <item row="11" column="2" colspan="6">
+ <item row="11" column="4" colspan="6">
<widget class="QLineEdit" name="equipment"/>
</item>
<item row="3" column="0">
@@ -147,7 +147,7 @@
</property>
</widget>
</item>
- <item row="9" column="2" colspan="6">
+ <item row="9" column="4" colspan="6">
<widget class="QLineEdit" name="people"/>
</item>
<item row="4" column="7">
@@ -291,44 +291,44 @@
</property>
</widget>
</item>
- <item row="8" column="8">
+ <item row="8" column="2" colspan="2">
<widget class="QToolButton" name="tagsNegate">
- <property name="text">
- <string>¬</string>
- </property>
<property name="checkable">
<bool>true</bool>
</property>
+ <property name="toolTip">
+ <string>Click to negate</string>
+ </property>
</widget>
</item>
- <item row="9" column="8">
+ <item row="9" column="2" colspan="2">
<widget class="QToolButton" name="peopleNegate">
- <property name="text">
- <string>¬</string>
- </property>
<property name="checkable">
<bool>true</bool>
</property>
+ <property name="toolTip">
+ <string>Click to negate</string>
+ </property>
</widget>
</item>
- <item row="10" column="8">
+ <item row="10" column="2" colspan="2">
<widget class="QToolButton" name="locationNegate">
- <property name="text">
- <string>¬</string>
- </property>
<property name="checkable">
<bool>true</bool>
</property>
+ <property name="toolTip">
+ <string>Click to negate</string>
+ </property>
</widget>
</item>
- <item row="11" column="8">
+ <item row="11" column="2" colspan="2">
<widget class="QToolButton" name="equipmentNegate">
- <property name="text">
- <string>¬</string>
- </property>
<property name="checkable">
<bool>true</bool>
</property>
+ <property name="toolTip">
+ <string>Click to negate</string>
+ </property>
</widget>
</item>
</layout>