aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/listfilter.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 16:01:28 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 14:58:49 -0700
commit318256cfb47ee45f8928542e2446aa30bf3de89c (patch)
treee34d0b3afb23d254bc5cf749bf3db9d0a8eed98f /qt-ui/listfilter.ui
parentff669362fb111a5422548576db2486cc4b2b3b13 (diff)
downloadsubsurface-318256cfb47ee45f8928542e2446aa30bf3de89c.tar.gz
Better layout for the filtering widget
Fix the layout size, moved some stuff around. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/listfilter.ui')
-rw-r--r--qt-ui/listfilter.ui33
1 files changed, 22 insertions, 11 deletions
diff --git a/qt-ui/listfilter.ui b/qt-ui/listfilter.ui
index 41a8dfa94..016b7769b 100644
--- a/qt-ui/listfilter.ui
+++ b/qt-ui/listfilter.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
- <class>TagFilter</class>
- <widget class="QWidget" name="TagFilter">
+ <class>FilterWidget</class>
+ <widget class="QWidget" name="FilterWidget">
<property name="geometry">
<rect>
<x>0</x>
@@ -15,17 +15,28 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>TextLabel</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="filterInternalList">
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+ </property>
+ <property name="placeholderText">
+ <string>Filter this list</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QLineEdit" name="filterTag"/>
- </item>
- <item>
- <widget class="QListView" name="tagView"/>
+ <widget class="QListView" name="filterList"/>
</item>
</layout>
</widget>