diff options
Diffstat (limited to 'applications/kmail-quick/package/contents/ui')
-rw-r--r-- | applications/kmail-quick/package/contents/ui/main.qml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/applications/kmail-quick/package/contents/ui/main.qml b/applications/kmail-quick/package/contents/ui/main.qml index 737e3f59..63b66c6d 100644 --- a/applications/kmail-quick/package/contents/ui/main.qml +++ b/applications/kmail-quick/package/contents/ui/main.qml | |||
@@ -20,6 +20,8 @@ import QtQuick.Controls 1.3 | |||
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | import org.kde.plasma.components 2.0 as PlasmaComponents | 21 | import org.kde.plasma.components 2.0 as PlasmaComponents |
22 | 22 | ||
23 | import org.kde.akonadi2.mail 1.0 as Mail | ||
24 | |||
23 | ApplicationWindow { | 25 | ApplicationWindow { |
24 | id: app | 26 | id: app |
25 | 27 | ||
@@ -30,6 +32,20 @@ ApplicationWindow { | |||
30 | 32 | ||
31 | visible: true | 33 | visible: true |
32 | 34 | ||
35 | //Controller: | ||
36 | Mail.FolderList { | ||
37 | id: folderList | ||
38 | } | ||
39 | |||
40 | Mail.MailList { | ||
41 | id: mailList | ||
42 | } | ||
43 | |||
44 | Mail.SingleMail{ | ||
45 | id: singleMail | ||
46 | } | ||
47 | |||
48 | //UI | ||
33 | toolBar: ToolBar { | 49 | toolBar: ToolBar { |
34 | 50 | ||
35 | Row { | 51 | Row { |
@@ -59,7 +75,7 @@ ApplicationWindow { | |||
59 | anchors.fill: parent | 75 | anchors.fill: parent |
60 | 76 | ||
61 | FolderListView { | 77 | FolderListView { |
62 | id: folderList | 78 | id: folderListView |
63 | 79 | ||
64 | width: unit.size * 55 | 80 | width: unit.size * 55 |
65 | Layout.maximumWidth: unit.size * 150 | 81 | Layout.maximumWidth: unit.size * 150 |
@@ -67,7 +83,7 @@ ApplicationWindow { | |||
67 | } | 83 | } |
68 | 84 | ||
69 | MailListView { | 85 | MailListView { |
70 | id: mailList | 86 | id: mailListView |
71 | 87 | ||
72 | width: unit.size * 80 | 88 | width: unit.size * 80 |
73 | Layout.maximumWidth: unit.size * 250 | 89 | Layout.maximumWidth: unit.size * 250 |