From 5c9f8236e4b8fe26c4267bdc8a31ab4e02c2ebd3 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Fri, 20 Jan 2017 00:49:40 +0100 Subject: add dummy search UI --- components/mail/contents/ui/main.qml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'components') diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 0a65fec1..4cc5972e 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml @@ -92,7 +92,6 @@ Controls2.ApplicationWindow { folder: folderListView.currentFolder } - //BEGIN Shortcuts Shortcut { sequence: StandardKey.Refresh @@ -169,6 +168,10 @@ Controls2.ApplicationWindow { iconName: "search" height: Kirigami.Units.gridUnit * 1.5 width: height + + onClicked: { + search.open() + } } } } @@ -274,4 +277,32 @@ Controls2.ApplicationWindow { y: app.height * 0.075 } //END AccountWizard + + //BEGIN Search + Controls2.Popup { + id: search + + width: app.width * 0.6 + height: Kirigami.Units.gridUnit * 3 + + x: app.width * 0.2 + y: app.height * 0.2 + + RowLayout { + anchors.fill: parent + Controls2.TextField { + Layout.fillWidth: true + placeholderText: "Search... is not available in this beta" + } + + Controls2.Button { + text: "Go" + + onClicked: { + search.close() + } + } + } + } + //END Search } -- cgit v1.2.3