tweak layout of browser

This commit is contained in:
Damien Elmes 2010-01-23 21:03:23 +09:00
parent e3de050ee6
commit c909e2ad7a
2 changed files with 24 additions and 3 deletions

View file

@ -428,7 +428,7 @@ class EditDeck(QMainWindow):
self.dialog.tagList.clear() self.dialog.tagList.clear()
alltags = [None, "Marked", None, None, "Leech", None, None] alltags = [None, "Marked", None, None, "Leech", None, None]
# system tags # system tags
self.dialog.tagList.addItem(_("<Filter>")) self.dialog.tagList.addItem(_("Show All Cards"))
self.dialog.tagList.addItem(QIcon(":/icons/rating.png"), self.dialog.tagList.addItem(QIcon(":/icons/rating.png"),
_('Marked')) _('Marked'))
self.dialog.tagList.addItem(QIcon(":/icons/media-playback-pause.png"), self.dialog.tagList.addItem(QIcon(":/icons/media-playback-pause.png"),

View file

@ -43,7 +43,7 @@
<number>0</number> <number>0</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>0</number> <number>4</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>0</number> <number>0</number>
@ -51,6 +51,13 @@
<property name="bottomMargin"> <property name="bottomMargin">
<number>4</number> <number>4</number>
</property> </property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Search:</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QLineEdit" name="filterEdit"> <widget class="QLineEdit" name="filterEdit">
<property name="text"> <property name="text">
@ -58,9 +65,23 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Filter:</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QComboBox" name="tagList"/> <widget class="QComboBox" name="tagList"/>
</item> </item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Sort:</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QComboBox" name="sortBox"/> <widget class="QComboBox" name="sortBox"/>
</item> </item>
@ -167,7 +188,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>599</width> <width>599</width>
<height>23</height> <height>24</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuEdit"> <widget class="QMenu" name="menuEdit">