summaryrefslogtreecommitdiffstats
path: root/components/mail/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r--components/mail/contents/ui/main.qml33
1 files changed, 32 insertions, 1 deletions
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 {
92 folder: folderListView.currentFolder 92 folder: folderListView.currentFolder
93 } 93 }
94 94
95
96 //BEGIN Shortcuts 95 //BEGIN Shortcuts
97 Shortcut { 96 Shortcut {
98 sequence: StandardKey.Refresh 97 sequence: StandardKey.Refresh
@@ -169,6 +168,10 @@ Controls2.ApplicationWindow {
169 iconName: "search" 168 iconName: "search"
170 height: Kirigami.Units.gridUnit * 1.5 169 height: Kirigami.Units.gridUnit * 1.5
171 width: height 170 width: height
171
172 onClicked: {
173 search.open()
174 }
172 } 175 }
173 } 176 }
174 } 177 }
@@ -274,4 +277,32 @@ Controls2.ApplicationWindow {
274 y: app.height * 0.075 277 y: app.height * 0.075
275 } 278 }
276 //END AccountWizard 279 //END AccountWizard
280
281 //BEGIN Search
282 Controls2.Popup {
283 id: search
284
285 width: app.width * 0.6
286 height: Kirigami.Units.gridUnit * 3
287
288 x: app.width * 0.2
289 y: app.height * 0.2
290
291 RowLayout {
292 anchors.fill: parent
293 Controls2.TextField {
294 Layout.fillWidth: true
295 placeholderText: "Search... is not available in this beta"
296 }
297
298 Controls2.Button {
299 text: "Go"
300
301 onClicked: {
302 search.close()
303 }
304 }
305 }
306 }
307 //END Search
277} 308}