diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-14 23:38:31 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-06-14 23:38:31 +0200 |
commit | 68096043c377acf36aa9cbb9efcf8e6758dd7a63 (patch) | |
tree | 9b32a6fd284ea3945d0fa7a32d5e604e0b5ad7bd | |
parent | 08071acd19466e21b2f1cbe51f5ff8385fe56387 (diff) | |
download | kube-68096043c377acf36aa9cbb9efcf8e6758dd7a63.tar.gz kube-68096043c377acf36aa9cbb9efcf8e6758dd7a63.zip |
some comments for navigation
-rw-r--r-- | components/mail/contents/ui/main.qml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index acee12bf..eb890e9b 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml | |||
@@ -35,6 +35,7 @@ ApplicationWindow { | |||
35 | 35 | ||
36 | visible: true | 36 | visible: true |
37 | 37 | ||
38 | //BEGIN Actions | ||
38 | KubeAction.Context { | 39 | KubeAction.Context { |
39 | id: maillistcontext | 40 | id: maillistcontext |
40 | property variant mail | 41 | property variant mail |
@@ -78,7 +79,9 @@ ApplicationWindow { | |||
78 | actionId: "org.kde.kube.actions.synchronize" | 79 | actionId: "org.kde.kube.actions.synchronize" |
79 | context: folderListContext | 80 | context: folderListContext |
80 | } | 81 | } |
82 | //END Actions | ||
81 | 83 | ||
84 | //BEGIN Main content | ||
82 | SplitView { | 85 | SplitView { |
83 | anchors { | 86 | anchors { |
84 | top: toolbar.bottom | 87 | top: toolbar.bottom |
@@ -93,6 +96,7 @@ ApplicationWindow { | |||
93 | width: Kirigami.Units.gridUnit * 10 | 96 | width: Kirigami.Units.gridUnit * 10 |
94 | Layout.maximumWidth: app.width * 0.25 | 97 | Layout.maximumWidth: app.width * 0.25 |
95 | Layout.minimumWidth: Kirigami.Units.gridUnit * 5 | 98 | Layout.minimumWidth: Kirigami.Units.gridUnit * 5 |
99 | focus: true | ||
96 | } | 100 | } |
97 | 101 | ||
98 | KubeComponents.MailListView { | 102 | KubeComponents.MailListView { |
@@ -110,7 +114,9 @@ ApplicationWindow { | |||
110 | Layout.fillWidth: true | 114 | Layout.fillWidth: true |
111 | } | 115 | } |
112 | } | 116 | } |
117 | //END Main content | ||
113 | 118 | ||
119 | //BEGIN Toolbar | ||
114 | ToolBar { | 120 | ToolBar { |
115 | id: toolbar | 121 | id: toolbar |
116 | 122 | ||
@@ -127,6 +133,7 @@ ApplicationWindow { | |||
127 | 133 | ||
128 | spacing: 1 //to account for the SplitView borders | 134 | spacing: 1 //to account for the SplitView borders |
129 | 135 | ||
136 | //BEGIN Folderlist section | ||
130 | RowLayout { | 137 | RowLayout { |
131 | height: parent.height | 138 | height: parent.height |
132 | width: folderListView.width - 5 //to adjust for the toolbar spacing | 139 | width: folderListView.width - 5 //to adjust for the toolbar spacing |
@@ -146,14 +153,15 @@ ApplicationWindow { | |||
146 | } | 153 | } |
147 | } | 154 | } |
148 | } | 155 | } |
156 | //END Folderlist section | ||
149 | 157 | ||
158 | //BEGIN MailList section | ||
150 | Item { | 159 | Item { |
151 | 160 | ||
152 | height: parent.height | 161 | height: parent.height |
153 | width: mailListView.width | 162 | width: mailListView.width |
154 | 163 | ||
155 | Row { | 164 | Row { |
156 | |||
157 | anchors.centerIn: parent | 165 | anchors.centerIn: parent |
158 | 166 | ||
159 | spacing: Kirigami.Units.smallSpacing | 167 | spacing: Kirigami.Units.smallSpacing |
@@ -185,7 +193,9 @@ ApplicationWindow { | |||
185 | } | 193 | } |
186 | } | 194 | } |
187 | } | 195 | } |
196 | //END MailList section | ||
188 | 197 | ||
198 | //BEGIN MailView sections | ||
189 | RowLayout{ | 199 | RowLayout{ |
190 | 200 | ||
191 | height: parent.height | 201 | height: parent.height |
@@ -285,6 +295,8 @@ ApplicationWindow { | |||
285 | } | 295 | } |
286 | } | 296 | } |
287 | } | 297 | } |
298 | //END MailView section | ||
288 | } | 299 | } |
289 | } | 300 | } |
301 | //END ToolBar | ||
290 | } \ No newline at end of file | 302 | } \ No newline at end of file |