diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-01-12 13:44:57 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-01-12 13:44:57 +0100 |
commit | e4e11ba46f4ccce5f9ca63ab758a132d945061e8 (patch) | |
tree | a49953c65055b1257fa57871ab6501f9cf9c79f6 | |
parent | e19dfb35f74a763f4efcdc9342d08385d0042a28 (diff) | |
download | kube-e4e11ba46f4ccce5f9ca63ab758a132d945061e8.tar.gz kube-e4e11ba46f4ccce5f9ca63ab758a132d945061e8.zip |
initial composer ui
-rw-r--r-- | applications/kube-mail/package/contents/ui/Composer.qml | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/applications/kube-mail/package/contents/ui/Composer.qml b/applications/kube-mail/package/contents/ui/Composer.qml new file mode 100644 index 00000000..d32ee7c6 --- /dev/null +++ b/applications/kube-mail/package/contents/ui/Composer.qml | |||
@@ -0,0 +1,87 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2016 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 | //import org.kde.kube.mail 1.0 as Mail | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | import QtQuick 2.4 | ||
20 | import QtQuick.Controls 1.3 | ||
21 | import QtQuick.Layouts 1.1 | ||
22 | |||
23 | Item { | ||
24 | id: root | ||
25 | |||
26 | ColumnLayout { | ||
27 | |||
28 | anchors.fill: parent | ||
29 | |||
30 | GridLayout { | ||
31 | |||
32 | columns: 2 | ||
33 | |||
34 | Label { | ||
35 | text: "To" | ||
36 | } | ||
37 | |||
38 | TextField { | ||
39 | id: to | ||
40 | |||
41 | Layout.fillWidth: true | ||
42 | } | ||
43 | |||
44 | Label { | ||
45 | text: "Cc" | ||
46 | } | ||
47 | |||
48 | TextField { | ||
49 | id: cc | ||
50 | |||
51 | Layout.fillWidth: true | ||
52 | } | ||
53 | |||
54 | Label { | ||
55 | text: "Bcc" | ||
56 | } | ||
57 | |||
58 | TextField { | ||
59 | id: bcc | ||
60 | |||
61 | Layout.fillWidth: true | ||
62 | } | ||
63 | } | ||
64 | |||
65 | TextField { | ||
66 | id: subject | ||
67 | |||
68 | Layout.fillWidth: true | ||
69 | |||
70 | placeholderText: "Subject" | ||
71 | } | ||
72 | |||
73 | TextArea { | ||
74 | id: content | ||
75 | |||
76 | Layout.fillWidth: true | ||
77 | Layout.fillHeight: true | ||
78 | |||
79 | } | ||
80 | |||
81 | RowLayout { | ||
82 | Button { | ||
83 | text: "Send" | ||
84 | } | ||
85 | } | ||
86 | } | ||
87 | } | ||