aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/docsettingspage.ui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-12 16:18:14 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-16 10:06:26 +0000
commitc41abd2b54f64e4ed1b6d34c72f4f006f21be7ec (patch)
tree88e4157fd9dec4fbdbd2e8565dc038daf63e4fc2 /src/plugins/help/docsettingspage.ui
parentcaf2ca0a376bbe8633e768c381bcaeb1cc8775ee (diff)
DocSettingsPage: Add a filter line edit for the registered documentation.
Change the item view to a QListView and use a model derived from QAbstractListModel keeping a QVector of entries. Use a QSortFilterProxyModel for filtering. This makes cleaning old documentation easier. Change-Id: I3a0781e0ddff3d0c00126a1b4effe1e1c93e354b Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/help/docsettingspage.ui')
-rw-r--r--src/plugins/help/docsettingspage.ui33
1 files changed, 22 insertions, 11 deletions
diff --git a/src/plugins/help/docsettingspage.ui b/src/plugins/help/docsettingspage.ui
index 466a647096f..f5c0eddade2 100644
--- a/src/plugins/help/docsettingspage.ui
+++ b/src/plugins/help/docsettingspage.ui
@@ -21,17 +21,21 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QListWidget" name="docsListWidget">
- <property name="selectionMode">
- <enum>QAbstractItemView::ExtendedSelection</enum>
- </property>
- <property name="uniformItemSizes">
- <bool>true</bool>
- </property>
- <property name="sortingEnabled">
- <bool>true</bool>
- </property>
- </widget>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="Utils::FancyLineEdit" name="filterLineEdit"/>
+ </item>
+ <item>
+ <widget class="QListView" name="docsListView">
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
+ <property name="uniformItemSizes">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
<layout class="QVBoxLayout" name="_4">
@@ -69,6 +73,13 @@
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>Utils::FancyLineEdit</class>
+ <extends>QLineEdit</extends>
+ <header location="global">utils/fancylineedit.h</header>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>