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>
This commit is contained in:
Dirk Hohndel 2019-01-26 14:23:40 -08:00
parent c1173e9d2e
commit f7cd4fc021

View file

@ -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>