From 0f4d2d2851737278dfcb765ff9946fbb62a3bd9e Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sun, 8 Nov 2015 13:51:36 +0100 Subject: add main scaffold --- .../kmail-quick/package/contents/ui/main.qml | 41 ++++++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) (limited to 'applications') 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 { visible: true - MailListView { - + SplitView { anchors.fill: parent + Rectangle { + id: folderList + + width: unit.width * 100 + Layout.maximumWidth: unit.width * 200 + Layout.minimumWidth: unit.width * 50 + + color: "green" + + } + + Rectangle { + id: mailList + + width: unit.width * 150 + Layout.maximumWidth: unit.width * 300 + Layout.minimumWidth: unit.width * 50 + + color: "red" + } + + Rectangle { + id: mailView + + Layout.fillWidth: true + + color: "blue" + } } -} \ No newline at end of file + + //TODO find a better way to scale UI + Label { + id: unit + + text: " " + } +} + -- cgit v1.2.3