summaryrefslogtreecommitdiffstats
path: root/views
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 /views
parent46486a878310df55b686b8fbc2b6aaf35d613da7 (diff)
downloadkube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.tar.gz
kube-7fbd3cbdadb5bfb509b9bc396d949fe38a067072.zip
Search in conversationview
...via syntax highligher or search api.
Diffstat (limited to 'views')
-rw-r--r--views/conversation/main.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/conversation/main.qml b/views/conversation/main.qml
index 686aeecb..64f7f273 100644
--- a/views/conversation/main.qml
+++ b/views/conversation/main.qml
@@ -117,12 +117,26 @@ ApplicationWindow {
117 to: ["to@example.org"], 117 to: ["to@example.org"],
118 unread: true 118 unread: true
119 }, 119 },
120 {
121 resource: "resource1",
122 date: "2017-07-20T17:46:29",
123 subject: "ComplexHTMLLongLine",
124 //We assume that @media trigger the complex html view
125 body: "<pre>Hi Mélanie,\n\nI'm sorry @media to start this on such late notice, but we'd like to get Foo and boo to woo next week, because the following weeks are unfortunately not possible for us.\n<pre>",
126 bodyIsHtml: true,
127 to: ["to@example.org"],
128 unread: true
129 },
120 ] 130 ]
121 }], 131 }],
122 } 132 }
123 TestStore.setup(initialState) 133 TestStore.setup(initialState)
124 } 134 }
125 135
136 Shortcut {
137 onActivated: Kube.Fabric.postMessage(Kube.Messages.search, {})
138 sequence: StandardKey.Find
139 }
126 View { 140 View {
127 anchors.fill: parent 141 anchors.fill: parent
128 } 142 }