Skip to content

Commit

Permalink
[search] tooltips and shortcuts for buttons in search form
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrewe committed Oct 24, 2016
1 parent 23a0daa commit 3300a49
Showing 1 changed file with 56 additions and 20 deletions.
76 changes: 56 additions & 20 deletions searchform.ui
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,26 @@
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="2">
<widget class="QLabel" name="label_3">
<item row="2" column="5">
<widget class="QPushButton" name="goBtn">
<property name="toolTip">
<string>perform seach (cmd - enter)</string>
</property>
<property name="text">
<string>Search term:</string>
<string>go</string>
</property>
<property name="shortcut">
<string>Ctrl+Return</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLineEdit" name="termEdit">
<item row="2" column="3">
<widget class="QCheckBox" name="caseSensitivityCheckBox">
<property name="toolTip">
<string>The seach term</string>
<string>Check to turn on case sensitivity</string>
</property>
<property name="text">
<string>aA</string>
</property>
</widget>
</item>
Expand All @@ -49,10 +58,10 @@
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Field:</string>
<item row="2" column="1">
<widget class="QComboBox" name="fieldComboBox">
<property name="toolTip">
<string>The field on which the search should be performed</string>
</property>
</widget>
</item>
Expand All @@ -63,27 +72,37 @@
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="fieldComboBox">
<property name="toolTip">
<string>The field on which the search should be performed</string>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Field:</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QCheckBox" name="caseSensitivityCheckBox">
<item row="2" column="2">
<widget class="QLineEdit" name="termEdit">
<property name="toolTip">
<string>Check to turn on case sensitivity</string>
<string>The seach term</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>aA</string>
<string>Search term:</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="goBtn">
<widget class="QCheckBox" name="exactCheckBox">
<property name="toolTip">
<string>Defines whether the term must be an exact match, or may be a substring.</string>
</property>
<property name="text">
<string>go</string>
<string>exact</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
Expand All @@ -109,8 +128,25 @@
</hint>
</hints>
</connection>
<connection>
<sender>fieldComboBox</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>SearchForm</receiver>
<slot>fieldSelected(int)</slot>
<hints>
<hint type="sourcelabel">
<x>160</x>
<y>59</y>
</hint>
<hint type="destinationlabel">
<x>365</x>
<y>39</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>go()</slot>
<slot>fieldSelected(int)</slot>
</slots>
</ui>

0 comments on commit 3300a49

Please sign in to comment.