summaryrefslogtreecommitdiffstats
path: root/components/mailviewer/qml/MailDataModel.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-21 13:35:11 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-23 15:43:23 +0100
commit7fbd3cbdadb5bfb509b9bc396d949fe38a067072 (patch)
tree7d11120d4eb69aaa42039181d3b35a71b8ec0c9e /components/mailviewer/qml/MailDataModel.qml
parent46486a878310df55b686b8fbc2b6aaf35d613da7 (diff)
downloadkube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.tar.gz
kube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.zip
Search in conversationview
...via syntax highligher or search api.
Diffstat (limited to 'components/mailviewer/qml/MailDataModel.qml')
-rw-r--r--components/mailviewer/qml/MailDataModel.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/mailviewer/qml/MailDataModel.qml b/components/mailviewer/qml/MailDataModel.qml
index d960b2ac..fdc3ce22 100644
--- a/components/mailviewer/qml/MailDataModel.qml
+++ b/components/mailviewer/qml/MailDataModel.qml
@@ -23,6 +23,8 @@ import org.kube.framework 1.0 as Kube
23DelegateModel { 23DelegateModel {
24 id: root 24 id: root
25 25
26 property string searchString: ""
27
26 delegate: Item { 28 delegate: Item {
27 id: partColumn 29 id: partColumn
28 30
@@ -124,6 +126,12 @@ DelegateModel {
124 } 126 }
125 height: item ? item.contentHeight : 0 127 height: item ? item.contentHeight : 0
126 width: parent.width 128 width: parent.width
129 Binding {
130 target: partLoader.item
131 property: "searchString"
132 value: root.searchString
133 when: partLoader.status == Loader.Ready
134 }
127 } 135 }
128 Component.onCompleted: { 136 Component.onCompleted: {
129 switch (model.type) { 137 switch (model.type) {