diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-11-08 13:51:36 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2015-11-08 13:51:36 +0100 |
commit | 0f4d2d2851737278dfcb765ff9946fbb62a3bd9e (patch) | |
tree | 7b3954d208a01841e37a1b480fb76613f4791ec3 /applications/kmail-quick/package/contents/ui/main.qml | |
parent | 0c0dc0cafba90b418d18cb33e4e7e4e4fd681b0b (diff) | |
download | kube-0f4d2d2851737278dfcb765ff9946fbb62a3bd9e.tar.gz kube-0f4d2d2851737278dfcb765ff9946fbb62a3bd9e.zip |
add main scaffold
Diffstat (limited to 'applications/kmail-quick/package/contents/ui/main.qml')
-rw-r--r-- | applications/kmail-quick/package/contents/ui/main.qml | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/applications/kmail-quick/package/contents/ui/main.qml b/applications/kmail-quick/package/contents/ui/main.qml index eb035bec..a8746dd8 100644 --- a/applications/kmail-quick/package/contents/ui/main.qml +++ b/applications/kmail-quick/package/contents/ui/main.qml | |||
@@ -29,9 +29,44 @@ ApplicationWindow { | |||
29 | 29 | ||
30 | visible: true | 30 | visible: true |
31 | 31 | ||
32 | MailListView { | 32 | SplitView { |
33 | |||
34 | anchors.fill: parent | 33 | anchors.fill: parent |
35 | 34 | ||
35 | Rectangle { | ||
36 | id: folderList | ||
37 | |||
38 | width: unit.width * 100 | ||
39 | Layout.maximumWidth: unit.width * 200 | ||
40 | Layout.minimumWidth: unit.width * 50 | ||
41 | |||
42 | color: "green" | ||
43 | |||
44 | } | ||
45 | |||
46 | Rectangle { | ||
47 | id: mailList | ||
48 | |||
49 | width: unit.width * 150 | ||
50 | Layout.maximumWidth: unit.width * 300 | ||
51 | Layout.minimumWidth: unit.width * 50 | ||
52 | |||
53 | color: "red" | ||
54 | } | ||
55 | |||
56 | Rectangle { | ||
57 | id: mailView | ||
58 | |||
59 | Layout.fillWidth: true | ||
60 | |||
61 | color: "blue" | ||
62 | } | ||
36 | } | 63 | } |
37 | } \ No newline at end of file | 64 | |
65 | //TODO find a better way to scale UI | ||
66 | Label { | ||
67 | id: unit | ||
68 | |||
69 | text: " " | ||
70 | } | ||
71 | } | ||
72 | |||