summaryrefslogtreecommitdiffstats
path: root/applications/kube-mail-mobile/ComposerView.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2016-04-03 02:17:25 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2016-04-03 02:17:25 +0200
commit5f2a3aa64cedc7f5517a1047dd699a286faf1898 (patch)
tree69a7cdd7b30c2966318c0e444b5cd39f3a46d292 /applications/kube-mail-mobile/ComposerView.qml
parentdb8d420485fe75ebbb45f4b6db978311c0dbf8c1 (diff)
downloadkube-5f2a3aa64cedc7f5517a1047dd699a286faf1898.tar.gz
kube-5f2a3aa64cedc7f5517a1047dd699a286faf1898.zip
port mail mobile to kirigami components + implement VDG Mockups
Diffstat (limited to 'applications/kube-mail-mobile/ComposerView.qml')
-rw-r--r--applications/kube-mail-mobile/ComposerView.qml127
1 files changed, 0 insertions, 127 deletions
diff --git a/applications/kube-mail-mobile/ComposerView.qml b/applications/kube-mail-mobile/ComposerView.qml
deleted file mode 100644
index d2f478b0..00000000
--- a/applications/kube-mail-mobile/ComposerView.qml
+++ /dev/null
@@ -1,127 +0,0 @@
1/*
2 * Copyright (C) 2015 Michael Bohlender <michael.bohlender@kdemail.net>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18import QtQuick 2.4
19import QtQuick.Controls 1.3
20import QtQuick.Layouts 1.1
21
22Item {
23 id: root
24
25 property StackView stack
26
27 //toolbar
28 ToolBar {
29 id: toolBar
30
31 RowLayout {
32
33 width: parent.width
34
35 spacing: unit.width * 8
36
37 ToolButton {
38 iconName: "go-previous"
39
40 onClicked: stack.pop()
41 }
42
43 ToolButton {
44 iconName: "mail-reply-sender"
45 }
46
47 //FIXME spacer?
48 Label {
49 text: ""
50 Layout.fillWidth: true
51 }
52
53 ToolButton {
54 iconName: "mail-attachment"
55 }
56
57 ToolButton {
58 iconName: "mail-send"
59 }
60 }
61 }
62
63 //main content
64 Rectangle {
65
66 anchors {
67 top: toolBar.bottom
68 right: parent.right
69 left: parent.left
70 bottom: parent.bottom
71 }
72
73 color: colorPalette.background
74
75 ColumnLayout {
76
77 anchors {
78 top: parent.top
79 left: parent.left
80 right: parent.right
81
82 margins: unit.width * 5
83
84 }
85
86 spacing: unit.height
87
88 RowLayout {
89 id: from
90
91 width: parent.width
92
93 spacing: unit.width * 5
94
95 Label {
96 text: "From"
97 }
98
99 Button {
100 Layout.fillWidth: true
101
102 text: "meep@monkey.com"
103
104 }
105
106 }
107
108 RowLayout {
109 id: to
110
111 width: parent.width
112
113 spacing: unit.width * 5
114
115 Label {
116 text: "To"
117 }
118
119 TextField {
120 Layout.fillWidth: true
121
122 }
123
124 }
125 }
126 }
127}