diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-17 16:13:43 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-01-17 16:13:43 +0100 |
commit | 87261220a8386cb38a7dc228814850182294b01d (patch) | |
tree | b03aaa845d9c6e2d6e683268dd99c5e051f7ceb6 /components/mail/contents/ui/main.qml | |
parent | d60df73099541c6f18653f2102e143d3bf5c1f5e (diff) | |
download | kube-87261220a8386cb38a7dc228814850182294b01d.tar.gz kube-87261220a8386cb38a7dc228814850182294b01d.zip |
add dummy account switcher
Diffstat (limited to 'components/mail/contents/ui/main.qml')
-rw-r--r-- | components/mail/contents/ui/main.qml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 20fa25c1..ed10fa45 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml | |||
@@ -177,11 +177,46 @@ Controls2.ApplicationWindow { | |||
177 | KubeComponents.AccountSwitcher { | 177 | KubeComponents.AccountSwitcher { |
178 | id: accountSwitcher | 178 | id: accountSwitcher |
179 | 179 | ||
180 | anchors.bottom: parent.bottom | 180 | anchors.bottom: appSwitcher.top |
181 | 181 | ||
182 | width: parent.width | 182 | width: parent.width |
183 | height: Kirigami.Units.gridUnit * 2 | 183 | height: Kirigami.Units.gridUnit * 2 |
184 | } | 184 | } |
185 | |||
186 | Item { | ||
187 | id: appSwitcher | ||
188 | |||
189 | anchors { | ||
190 | bottom: parent.bottom | ||
191 | } | ||
192 | |||
193 | width: parent.width | ||
194 | height: Kirigami.Units.gridUnit * 2 | ||
195 | |||
196 | RowLayout { | ||
197 | anchors.centerIn: parent | ||
198 | |||
199 | spacing: Kirigami.Units.largeSpacing | ||
200 | |||
201 | ToolButton { | ||
202 | iconName: "mail-message" | ||
203 | height: Kirigami.Units.gridUnit * 1.5 | ||
204 | width: height | ||
205 | } | ||
206 | |||
207 | ToolButton { | ||
208 | iconName: "user" | ||
209 | height: Kirigami.Units.gridUnit * 1.5 | ||
210 | width: height | ||
211 | } | ||
212 | |||
213 | ToolButton { | ||
214 | iconName: "configure" | ||
215 | height: Kirigami.Units.gridUnit * 1.5 | ||
216 | width: height | ||
217 | } | ||
218 | } | ||
219 | } | ||
185 | } | 220 | } |
186 | 221 | ||
187 | KubeComponents.MailListView { | 222 | KubeComponents.MailListView { |