From 196d73a2fe7cc505f619aacc1074682663107093 Mon Sep 17 00:00:00 2001
From: Olivier Langella <olivier.langella@u-psud.fr>
Date: Sun, 24 Jun 2018 07:40:35 +0200
Subject: [PATCH] hide buttons renamed in show only buttons

---
 src/gui/peptide_list_view/peptide_view.ui | 109 ++++++++++------------
 1 file changed, 51 insertions(+), 58 deletions(-)

diff --git a/src/gui/peptide_list_view/peptide_view.ui b/src/gui/peptide_list_view/peptide_view.ui
index 3f1cf3ad7..8dc80284c 100644
--- a/src/gui/peptide_list_view/peptide_view.ui
+++ b/src/gui/peptide_list_view/peptide_view.ui
@@ -37,31 +37,24 @@
     </item>
     <item>
      <layout class="QHBoxLayout" name="horizontalLayoutcb">
-      <item>
-       <widget class="QLabel" name="labelhide">
-        <property name="text">
-         <string>hide :</string>
-        </property>
-       </widget>
-      </item>
       <item>
        <widget class="QCheckBox" name="hideNotValidCheckBox">
         <property name="text">
-         <string>not valid</string>
+         <string>show only valid proteins</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="hideNotCheckedCheckBox">
         <property name="text">
-         <string>not checked</string>
+         <string>show only checked proteins</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="hideNotGroupedCheckBox">
         <property name="text">
-         <string>not grouped</string>
+         <string>show only grouped proteins</string>
         </property>
        </widget>
       </item>
@@ -137,54 +130,6 @@
  </widget>
  <resources/>
  <connections>
-  <connection>
-   <sender>hideNotValidCheckBox</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>PeptideView</receiver>
-   <slot>doNotValidHide(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>409</x>
-     <y>112</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>839</x>
-     <y>171</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>hideNotCheckedCheckBox</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>PeptideView</receiver>
-   <slot>doNotCheckedHide(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>612</x>
-     <y>112</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>920</x>
-     <y>269</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>hideNotGroupedCheckBox</sender>
-   <signal>toggled(bool)</signal>
-   <receiver>PeptideView</receiver>
-   <slot>doNotGroupedHide(bool)</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>815</x>
-     <y>112</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>1079</x>
-     <y>360</y>
-    </hint>
-   </hints>
-  </connection>
   <connection>
    <sender>peptide_search_edit</sender>
    <signal>textChanged(QString)</signal>
@@ -265,6 +210,54 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>hideNotGroupedCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>PeptideView</receiver>
+   <slot>doNotGroupedHide(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>815</x>
+     <y>112</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>1079</x>
+     <y>360</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>hideNotCheckedCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>PeptideView</receiver>
+   <slot>doNotCheckedHide(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>612</x>
+     <y>112</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>920</x>
+     <y>269</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>hideNotValidCheckBox</sender>
+   <signal>toggled(bool)</signal>
+   <receiver>PeptideView</receiver>
+   <slot>doNotValidHide(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>409</x>
+     <y>112</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>839</x>
+     <y>171</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
  <slots>
   <slot>doNotValidHide(bool)</slot>
-- 
GitLab