From 7fbd3cbdadb5bfb509b9bc396d949fe38a067072 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 21 Feb 2018 13:35:11 +0100 Subject: Search in conversationview ...via syntax highligher or search api. --- views/conversation/main.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'views') 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 { to: ["to@example.org"], unread: true }, + { + resource: "resource1", + date: "2017-07-20T17:46:29", + subject: "ComplexHTMLLongLine", + //We assume that @media trigger the complex html view + body: "
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
",
+                            bodyIsHtml: true,
+                            to: ["to@example.org"],
+                            unread: true
+                        },
                     ]
                 }],
         }
         TestStore.setup(initialState)
     }
 
+    Shortcut {
+        onActivated: Kube.Fabric.postMessage(Kube.Messages.search, {})
+        sequence: StandardKey.Find
+    }
     View {
         anchors.fill: parent
     }
-- 
cgit v1.2.3