diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-20 00:49:40 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-20 00:49:40 +0100 |
commit | 5c9f8236e4b8fe26c4267bdc8a31ab4e02c2ebd3 (patch) | |
tree | 2d3b9691d20c95a159a11c3e119130bc36b8eba0 /components/mail/contents/ui/main.qml | |
parent | 2245218701cd24f277f749478a3a7ee4726ed537 (diff) | |
download | kube-5c9f8236e4b8fe26c4267bdc8a31ab4e02c2ebd3.tar.gz kube-5c9f8236e4b8fe26c4267bdc8a31ab4e02c2ebd3.zip |
add dummy search UI
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r-- | components/mail/contents/ui/main.qml | 33 |
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 | } |