diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-11 11:28:27 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-11 11:28:27 +0100 |
commit | e19dfb35f74a763f4efcdc9342d08385d0042a28 (patch) | |
tree | e921b3df946501ab40afe4ec4b2b21ea02019daf /applications/kube-mail-mobile/main.qml | |
parent | 6035777fd476b9e03045deb778aa362b08d46535 (diff) | |
parent | 369bf247d2e9f869418dd883fae5d337f6b47b2e (diff) | |
download | kube-e19dfb35f74a763f4efcdc9342d08385d0042a28.tar.gz kube-e19dfb35f74a763f4efcdc9342d08385d0042a28.zip |
Merge branch 'develop' of git://anongit.kde.org/kontact-quick into develop
Diffstat (limited to 'applications/kube-mail-mobile/main.qml')
-rw-r--r-- | applications/kube-mail-mobile/main.qml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/applications/kube-mail-mobile/main.qml b/applications/kube-mail-mobile/main.qml new file mode 100644 index 00000000..751c080c --- /dev/null +++ b/applications/kube-mail-mobile/main.qml | |||
@@ -0,0 +1,51 @@ | |||
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 | ApplicationWindow { | ||
23 | id: app | ||
24 | |||
25 | //FIXME remove fixed pixel hight | ||
26 | //for now just convinience during testing | ||
27 | width: 1080 / 2.7 | ||
28 | height: (1920 - 40)/ 2.7 | ||
29 | |||
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 | } | ||
51 | } \ No newline at end of file | ||