diff options
Diffstat (limited to 'applications/kmail-mobile/main.qml')
-rw-r--r-- | applications/kmail-mobile/main.qml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/applications/kmail-mobile/main.qml b/applications/kmail-mobile/main.qml index 3611b04a..751c080c 100644 --- a/applications/kmail-mobile/main.qml +++ b/applications/kmail-mobile/main.qml | |||
@@ -1,3 +1,20 @@ | |||
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 | |||
1 | import QtQuick 2.4 | 18 | import QtQuick 2.4 |
2 | import QtQuick.Controls 1.3 | 19 | import QtQuick.Controls 1.3 |
3 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
@@ -11,4 +28,24 @@ ApplicationWindow { | |||
11 | height: (1920 - 40)/ 2.7 | 28 | height: (1920 - 40)/ 2.7 |
12 | 29 | ||
13 | visible: true | 30 | visible: true |
31 | |||
32 | StackView { | ||
33 | id: stack | ||
34 | |||
35 | anchors.fill: parent | ||
36 | |||
37 | //TODO set akonadi folderId property | ||
38 | initialItem: {"item": Qt.resolvedUrl("FolderListView.qml"),properties: {stack: stack}} | ||
39 | } | ||
40 | |||
41 | //FIXME use whatever the plasma standart is | ||
42 | Label { | ||
43 | id: unit | ||
44 | |||
45 | text: " " | ||
46 | } | ||
47 | |||
48 | ColorPalette { | ||
49 | id: colorPalette | ||
50 | } | ||
14 | } \ No newline at end of file | 51 | } \ No newline at end of file |