Added "clear" button to filter bar
[quandoparte] / application / stationlistview.ui
index ab8b820..b9db599 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>780</width>
-    <height>460</height>
+    <width>778</width>
+    <height>458</height>
    </rect>
   </property>
   <property name="windowTitle">
      <widget class="QListView" name="listView"/>
     </item>
     <item>
-     <widget class="QLineEdit" name="filterEdit"/>
+     <widget class="QFrame" name="filterFrame">
+      <property name="frameShape">
+       <enum>QFrame::NoFrame</enum>
+      </property>
+      <property name="frameShadow">
+       <enum>QFrame::Raised</enum>
+      </property>
+      <property name="lineWidth">
+       <number>0</number>
+      </property>
+      <layout class="QHBoxLayout" name="horizontalLayout">
+       <property name="margin">
+        <number>0</number>
+       </property>
+       <item>
+        <widget class="QLineEdit" name="filterEdit">
+         <property name="sizePolicy">
+          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+           <horstretch>1</horstretch>
+           <verstretch>0</verstretch>
+          </sizepolicy>
+         </property>
+        </widget>
+       </item>
+       <item>
+        <widget class="QToolButton" name="filterClear"/>
+       </item>
+      </layout>
+     </widget>
     </item>
    </layout>
   </widget>
@@ -28,8 +56,8 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>780</width>
-     <height>25</height>
+     <width>778</width>
+     <height>42</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuView">