Helpviewer/CookieJar/CookiesExceptionsDialog.ui

changeset 2223
054c285dab38
parent 2097
c5809ca16182
--- a/Helpviewer/CookieJar/CookiesExceptionsDialog.ui	Mon Nov 12 17:46:11 2012 +0100
+++ b/Helpviewer/CookieJar/CookiesExceptionsDialog.ui	Mon Nov 12 19:04:11 2012 +0100
@@ -139,22 +139,18 @@
            <number>0</number>
           </property>
           <item>
-           <widget class="QLineEdit" name="searchEdit">
+           <widget class="E5ClearableLineEdit" name="searchEdit">
+            <property name="minimumSize">
+             <size>
+              <width>300</width>
+              <height>0</height>
+             </size>
+            </property>
             <property name="toolTip">
              <string>Enter search term for exceptions</string>
             </property>
            </widget>
           </item>
-          <item>
-           <widget class="QToolButton" name="clearButton">
-            <property name="toolTip">
-             <string>Press to clear the search edit</string>
-            </property>
-            <property name="text">
-             <string/>
-            </property>
-           </widget>
-          </item>
          </layout>
         </item>
        </layout>
@@ -237,6 +233,11 @@
  </widget>
  <customwidgets>
   <customwidget>
+   <class>E5ClearableLineEdit</class>
+   <extends>QLineEdit</extends>
+   <header>E5Gui/E5LineEdit.h</header>
+  </customwidget>
+  <customwidget>
    <class>E5TableView</class>
    <extends>QTableView</extends>
    <header>E5Gui/E5TableView.h</header>
@@ -248,7 +249,6 @@
   <tabstop>allowForSessionButton</tabstop>
   <tabstop>allowButton</tabstop>
   <tabstop>searchEdit</tabstop>
-  <tabstop>clearButton</tabstop>
   <tabstop>exceptionsTable</tabstop>
   <tabstop>removeButton</tabstop>
   <tabstop>removeAllButton</tabstop>
@@ -288,21 +288,5 @@
     </hint>
    </hints>
   </connection>
-  <connection>
-   <sender>clearButton</sender>
-   <signal>clicked()</signal>
-   <receiver>searchEdit</receiver>
-   <slot>clear()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>467</x>
-     <y>159</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>432</x>
-     <y>158</y>
-    </hint>
-   </hints>
-  </connection>
  </connections>
 </ui>

eric ide

mercurial