diff options
Diffstat (limited to 'applications')
4 files changed, 75 insertions, 3 deletions
diff --git a/applications/kmail-quick/package/contents/ui/FolderListView.qml b/applications/kmail-quick/package/contents/ui/FolderListView.qml new file mode 100644 index 00000000..4698003b --- /dev/null +++ b/applications/kmail-quick/package/contents/ui/FolderListView.qml | |||
@@ -0,0 +1,24 @@ | |||
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 | |||
18 | import QtQuick 2.4 | ||
19 | import QtQuick.Controls 1.3 | ||
20 | import QtQuick.Layouts 1.1 | ||
21 | |||
22 | Rectangle { | ||
23 | color: "red" | ||
24 | } \ No newline at end of file | ||
diff --git a/applications/kmail-quick/package/contents/ui/MailListView.qml b/applications/kmail-quick/package/contents/ui/MailListView.qml new file mode 100644 index 00000000..55fbf344 --- /dev/null +++ b/applications/kmail-quick/package/contents/ui/MailListView.qml | |||
@@ -0,0 +1,24 @@ | |||
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 | |||
18 | import QtQuick 2.4 | ||
19 | import QtQuick.Controls 1.3 | ||
20 | import QtQuick.Layouts 1.1 | ||
21 | |||
22 | Rectangle { | ||
23 | color: "blue" | ||
24 | } | ||
diff --git a/applications/kmail-quick/package/contents/ui/SingleMailView.qml b/applications/kmail-quick/package/contents/ui/SingleMailView.qml new file mode 100644 index 00000000..b9a517ec --- /dev/null +++ b/applications/kmail-quick/package/contents/ui/SingleMailView.qml | |||
@@ -0,0 +1,24 @@ | |||
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 | |||
18 | import QtQuick 2.4 | ||
19 | import QtQuick.Controls 1.3 | ||
20 | import QtQuick.Layouts 1.1 | ||
21 | |||
22 | Rectangle { | ||
23 | color: "green" | ||
24 | } \ No newline at end of file | ||
diff --git a/applications/kmail-quick/package/contents/ui/main.qml b/applications/kmail-quick/package/contents/ui/main.qml index c614cdb3..75e781fc 100644 --- a/applications/kmail-quick/package/contents/ui/main.qml +++ b/applications/kmail-quick/package/contents/ui/main.qml | |||
@@ -36,7 +36,7 @@ ApplicationWindow { | |||
36 | SplitView { | 36 | SplitView { |
37 | anchors.fill: parent | 37 | anchors.fill: parent |
38 | 38 | ||
39 | Rectangle { | 39 | FolderListView { |
40 | id: folderList | 40 | id: folderList |
41 | 41 | ||
42 | width: unit.width * 100 | 42 | width: unit.width * 100 |
@@ -46,7 +46,7 @@ ApplicationWindow { | |||
46 | color: "green" | 46 | color: "green" |
47 | } | 47 | } |
48 | 48 | ||
49 | Rectangle { | 49 | MailListView { |
50 | id: mailList | 50 | id: mailList |
51 | 51 | ||
52 | width: unit.width * 150 | 52 | width: unit.width * 150 |
@@ -56,7 +56,7 @@ ApplicationWindow { | |||
56 | color: "red" | 56 | color: "red" |
57 | } | 57 | } |
58 | 58 | ||
59 | Rectangle { | 59 | SingleMailView { |
60 | id: mailView | 60 | id: mailView |
61 | 61 | ||
62 | Layout.fillWidth: true | 62 | Layout.fillWidth: true |