Helpviewer/UserAgent/UserAgentsDialog.ui

changeset 2223
054c285dab38
parent 2097
c5809ca16182
--- a/Helpviewer/UserAgent/UserAgentsDialog.ui	Mon Nov 12 17:46:11 2012 +0100
+++ b/Helpviewer/UserAgent/UserAgentsDialog.ui	Mon Nov 12 19:04:11 2012 +0100
@@ -38,22 +38,12 @@
         <number>0</number>
        </property>
        <item>
-        <widget class="QLineEdit" name="searchEdit">
+        <widget class="E5ClearableLineEdit" name="searchEdit">
          <property name="toolTip">
           <string>Enter search term</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>
@@ -134,6 +124,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>
@@ -141,7 +136,6 @@
  </customwidgets>
  <tabstops>
   <tabstop>searchEdit</tabstop>
-  <tabstop>clearButton</tabstop>
   <tabstop>userAgentsTable</tabstop>
   <tabstop>removeButton</tabstop>
   <tabstop>removeAllButton</tabstop>
@@ -156,8 +150,8 @@
    <slot>accept()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>228</x>
-     <y>274</y>
+     <x>237</x>
+     <y>390</y>
     </hint>
     <hint type="destinationlabel">
      <x>157</x>
@@ -172,8 +166,8 @@
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>316</x>
-     <y>260</y>
+     <x>325</x>
+     <y>390</y>
     </hint>
     <hint type="destinationlabel">
      <x>286</x>
@@ -181,21 +175,5 @@
     </hint>
    </hints>
   </connection>
-  <connection>
-   <sender>clearButton</sender>
-   <signal>clicked()</signal>
-   <receiver>searchEdit</receiver>
-   <slot>clear()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>376</x>
-     <y>21</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>329</x>
-     <y>23</y>
-    </hint>
-   </hints>
-  </connection>
  </connections>
 </ui>

eric ide

mercurial