summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/People.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 12:11:49 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 12:11:49 +0100
commit0c91d01eb26793e745138c4598cf15d9a21c0136 (patch)
tree53ffeb02eaf1625598e937444430e4040e17b0a4 /components/package/contents/ui/People.qml
parented09c7689f7435761611cbfd3cda98bbd79c3a5e (diff)
downloadkube-0c91d01eb26793e745138c4598cf15d9a21c0136.tar.gz
kube-0c91d01eb26793e745138c4598cf15d9a21c0136.zip
Filtering for maillistmodel and peoplemodel
Works surprisingly well and is very useful for testing. The searchbar in the maillistmodel is a temporary solution as the global searchbar has some usability issues. E.g. how do we reset the search? As an intermediate step we could just hide the searchbar and make it visible by clicking on the search button.
Diffstat (limited to 'components/package/contents/ui/People.qml')
-rw-r--r--components/package/contents/ui/People.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/package/contents/ui/People.qml b/components/package/contents/ui/People.qml
index f280e45b..de8425df 100644
--- a/components/package/contents/ui/People.qml
+++ b/components/package/contents/ui/People.qml
@@ -55,6 +55,7 @@ Popup {
55 } 55 }
56 56
57 TextField { 57 TextField {
58 id: searchBar
58 anchors.centerIn: parent 59 anchors.centerIn: parent
59 60
60 placeholderText: "Search..." 61 placeholderText: "Search..."
@@ -122,7 +123,9 @@ Popup {
122 123
123 Repeater { 124 Repeater {
124 125
125 model: KubeFramework.PeopleModel{} 126 model: KubeFramework.PeopleModel {
127 filter: searchBar.text
128 }
126 129
127 delegate: Rectangle { 130 delegate: Rectangle {
128 id: delegateRoot 131 id: delegateRoot