diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-04 07:22:50 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-04 15:19:55 +0200 |
commit | 4c1f62bceff8db26da6d0354b29438c3294e2522 (patch) | |
tree | 9dd8271742e8974fea248ae12659e05111d07d6e /components/package/contents/ui/People.qml | |
parent | 65362ba42ac14f718b36b8e527f1d14605fd1761 (diff) | |
download | kube-4c1f62bceff8db26da6d0354b29438c3294e2522.tar.gz kube-4c1f62bceff8db26da6d0354b29438c3294e2522.zip |
use theme
Diffstat (limited to 'components/package/contents/ui/People.qml')
-rw-r--r-- | components/package/contents/ui/People.qml | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/components/package/contents/ui/People.qml b/components/package/contents/ui/People.qml index 4b67b0f3..182cce94 100644 --- a/components/package/contents/ui/People.qml +++ b/components/package/contents/ui/People.qml | |||
@@ -49,7 +49,7 @@ Popup { | |||
49 | 49 | ||
50 | anchors.verticalCenter: parent.verticalCenter | 50 | anchors.verticalCenter: parent.verticalCenter |
51 | 51 | ||
52 | iconName: "go-previous" | 52 | iconName: KubeTheme.Icons.goBack |
53 | 53 | ||
54 | onClicked: stack.pop() | 54 | onClicked: stack.pop() |
55 | 55 | ||
@@ -69,11 +69,11 @@ Popup { | |||
69 | 69 | ||
70 | anchors { | 70 | anchors { |
71 | right: parent.right | 71 | right: parent.right |
72 | rightMargin: Kirigami.Units.smallSpacing | 72 | rightMargin: KubeTheme.Units.smallSpacing |
73 | verticalCenter: parent.verticalCenter | 73 | verticalCenter: parent.verticalCenter |
74 | } | 74 | } |
75 | 75 | ||
76 | iconName: "list-add-new" | 76 | iconName: KubeTheme.Icons.addNew |
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
@@ -117,13 +117,13 @@ Popup { | |||
117 | 117 | ||
118 | anchors { | 118 | anchors { |
119 | top: parent.top | 119 | top: parent.top |
120 | topMargin: Kirigami.Units.largeSpacing | 120 | topMargin: KubeTheme.Units.largeSpacing |
121 | left: parent.left | 121 | left: parent.left |
122 | leftMargin: Kirigami.Units.largeSpacing | 122 | leftMargin: KubeTheme.Units.largeSpacing |
123 | } | 123 | } |
124 | 124 | ||
125 | spacing: Kirigami.Units.largeSpacing | 125 | spacing: KubeTheme.Units.largeSpacing |
126 | width: peoplePageRoot.width - Kirigami.Units.largeSpacing * 2 | 126 | width: peoplePageRoot.width - KubeTheme.Units.largeSpacing * 2 |
127 | 127 | ||
128 | Repeater { | 128 | Repeater { |
129 | 129 | ||
@@ -134,8 +134,8 @@ Popup { | |||
134 | delegate: Rectangle { | 134 | delegate: Rectangle { |
135 | id: delegateRoot | 135 | id: delegateRoot |
136 | 136 | ||
137 | height: Kirigami.Units.gridUnit * 3 | 137 | height: KubeTheme.Units.gridUnit * 3 |
138 | width: Kirigami.Units.gridUnit * 10 | 138 | width: KubeTheme.Units.gridUnit * 10 |
139 | 139 | ||
140 | border.width: 1 | 140 | border.width: 1 |
141 | border.color: "lightgrey" | 141 | border.color: "lightgrey" |
@@ -164,12 +164,12 @@ Popup { | |||
164 | 164 | ||
165 | anchors { | 165 | anchors { |
166 | left: avatarPlaceholder.right | 166 | left: avatarPlaceholder.right |
167 | margins: Kirigami.Units.smallSpacing | 167 | margins: KubeTheme.Units.smallSpacing |
168 | verticalCenter: parent.verticalCenter | 168 | verticalCenter: parent.verticalCenter |
169 | } | 169 | } |
170 | 170 | ||
171 | Text { | 171 | Text { |
172 | width: delegateRoot.width - avatarPlaceholder.width - Kirigami.Units.smallSpacing * 2 | 172 | width: delegateRoot.width - avatarPlaceholder.width - KubeTheme.Units.smallSpacing * 2 |
173 | 173 | ||
174 | text: model.firstName | 174 | text: model.firstName |
175 | elide: Text.ElideRight | 175 | elide: Text.ElideRight |
@@ -177,7 +177,7 @@ Popup { | |||
177 | } | 177 | } |
178 | 178 | ||
179 | Text { | 179 | Text { |
180 | width: delegateRoot.width - avatarPlaceholder.width - Kirigami.Units.smallSpacing * 2 | 180 | width: delegateRoot.width - avatarPlaceholder.width - KubeTheme.Units.smallSpacing * 2 |
181 | 181 | ||
182 | text: model.lastName | 182 | text: model.lastName |
183 | elide: Text.ElideRight | 183 | elide: Text.ElideRight |
@@ -210,7 +210,7 @@ Popup { | |||
210 | anchors { | 210 | anchors { |
211 | top: parent.top | 211 | top: parent.top |
212 | left: parent.left | 212 | left: parent.left |
213 | leftMargin: Kirigami.Units.largeSpacing | 213 | leftMargin: KubeTheme.Units.largeSpacing |
214 | } | 214 | } |
215 | 215 | ||
216 | width: parent.width | 216 | width: parent.width |
@@ -231,17 +231,17 @@ Popup { | |||
231 | 231 | ||
232 | width: personPageRoot.width | 232 | width: personPageRoot.width |
233 | 233 | ||
234 | spacing: Kirigami.Units.largeSpacing | 234 | spacing: KubeTheme.Units.largeSpacing |
235 | 235 | ||
236 | Item { | 236 | Item { |
237 | width: parent.width | 237 | width: parent.width |
238 | height: Kirigami.Units.smallSpacing | 238 | height: KubeTheme.Units.smallSpacing |
239 | } | 239 | } |
240 | 240 | ||
241 | Item { | 241 | Item { |
242 | 242 | ||
243 | height: Kirigami.Units.gridUnit * 8 | 243 | height: KubeTheme.Units.gridUnit * 8 |
244 | width: personPageRoot.width - Kirigami.Units.largeSpacing | 244 | width: personPageRoot.width - KubeTheme.Units.largeSpacing |
245 | 245 | ||
246 | Rectangle { | 246 | Rectangle { |
247 | id: avatar | 247 | id: avatar |
@@ -258,7 +258,7 @@ Popup { | |||
258 | anchors { | 258 | anchors { |
259 | top: avatar.top | 259 | top: avatar.top |
260 | left: avatar.right | 260 | left: avatar.right |
261 | leftMargin: Kirigami.Units.largeSpacing | 261 | leftMargin: KubeTheme.Units.largeSpacing |
262 | } | 262 | } |
263 | 263 | ||
264 | text: contactController.name //"Michael Tester" | 264 | text: contactController.name //"Michael Tester" |
@@ -270,7 +270,7 @@ Popup { | |||
270 | anchors { | 270 | anchors { |
271 | top: nameLabel.bottom | 271 | top: nameLabel.bottom |
272 | left: avatar.right | 272 | left: avatar.right |
273 | leftMargin: Kirigami.Units.largeSpacing | 273 | leftMargin: KubeTheme.Units.largeSpacing |
274 | } | 274 | } |
275 | 275 | ||
276 | text: "CIO" | 276 | text: "CIO" |
@@ -282,11 +282,11 @@ Popup { | |||
282 | anchors { | 282 | anchors { |
283 | bottom: avatar.bottom | 283 | bottom: avatar.bottom |
284 | left: avatar.right | 284 | left: avatar.right |
285 | leftMargin: Kirigami.Units.largeSpacing | 285 | leftMargin: KubeTheme.Units.largeSpacing |
286 | } | 286 | } |
287 | 287 | ||
288 | height: Kirigami.Units.gridUnit * 3 | 288 | height: KubeTheme.Units.gridUnit * 3 |
289 | width: Kirigami.Units.gridUnit * 10 | 289 | width: KubeTheme.Units.gridUnit * 10 |
290 | 290 | ||
291 | border.width: 1 | 291 | border.width: 1 |
292 | border.color: "lightgrey" | 292 | border.color: "lightgrey" |
@@ -304,7 +304,7 @@ Popup { | |||
304 | anchors { | 304 | anchors { |
305 | verticalCenter: av.verticalCenter | 305 | verticalCenter: av.verticalCenter |
306 | left: av.right | 306 | left: av.right |
307 | leftMargin: Kirigami.Units.smallSpacing | 307 | leftMargin: KubeTheme.Units.smallSpacing |
308 | } | 308 | } |
309 | 309 | ||
310 | text: "Sauerkraut AG" | 310 | text: "Sauerkraut AG" |
@@ -317,65 +317,65 @@ Popup { | |||
317 | Flow { | 317 | Flow { |
318 | id: emails | 318 | id: emails |
319 | 319 | ||
320 | width: personPageRoot.width - Kirigami.Units.largeSpacing | 320 | width: personPageRoot.width - KubeTheme.Units.largeSpacing |
321 | 321 | ||
322 | Repeater { | 322 | Repeater { |
323 | 323 | ||
324 | model: contactController.emails | 324 | model: contactController.emails |
325 | 325 | ||
326 | Row { | 326 | Row { |
327 | spacing: Kirigami.Units.smallSpacing | 327 | spacing: KubeTheme.Units.smallSpacing |
328 | Text { text: "(main)" } | 328 | Text { text: "(main)" } |
329 | Text { text: modelData ; color: KubeTheme.Colors.highlightColor } | 329 | Text { text: modelData ; color: KubeTheme.Colors.highlightColor } |
330 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 330 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
331 | } | 331 | } |
332 | } | 332 | } |
333 | 333 | ||
334 | Row { | 334 | Row { |
335 | spacing: Kirigami.Units.smallSpacing | 335 | spacing: KubeTheme.Units.smallSpacing |
336 | Text { text: "(alias)"} | 336 | Text { text: "(alias)"} |
337 | Text { text: "test.testerson@gmail.com"; color: KubeTheme.Colors.highlightColor } | 337 | Text { text: "test.testerson@gmail.com"; color: KubeTheme.Colors.highlightColor } |
338 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 338 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
339 | } | 339 | } |
340 | 340 | ||
341 | Row { | 341 | Row { |
342 | spacing: Kirigami.Units.smallSpacing | 342 | spacing: KubeTheme.Units.smallSpacing |
343 | Text { text: "(private)"} | 343 | Text { text: "(private)"} |
344 | Text { text: "test@gmail.com"; color: KubeTheme.Colors.highlightColor } | 344 | Text { text: "test@gmail.com"; color: KubeTheme.Colors.highlightColor } |
345 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 345 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
346 | } | 346 | } |
347 | } | 347 | } |
348 | 348 | ||
349 | Flow { | 349 | Flow { |
350 | id: phone | 350 | id: phone |
351 | 351 | ||
352 | width: personPageRoot.width - Kirigami.Units.largeSpacing | 352 | width: personPageRoot.width - KubeTheme.Units.largeSpacing |
353 | spacing: Kirigami.Units.smallSpacing | 353 | spacing: KubeTheme.Units.smallSpacing |
354 | 354 | ||
355 | Row { | 355 | Row { |
356 | spacing: Kirigami.Units.smallSpacing | 356 | spacing: KubeTheme.Units.smallSpacing |
357 | Text { text: "(inhouse)"} | 357 | Text { text: "(inhouse)"} |
358 | Text { text: "+49812324932"; opacity: 0.6 } | 358 | Text { text: "+49812324932"; opacity: 0.6 } |
359 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 359 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
360 | } | 360 | } |
361 | Row { | 361 | Row { |
362 | spacing: Kirigami.Units.smallSpacing | 362 | spacing: KubeTheme.Units.smallSpacing |
363 | Text { text: "(mobile)"} | 363 | Text { text: "(mobile)"} |
364 | Text { text: "+49812324932"; opacity: 0.6 } | 364 | Text { text: "+49812324932"; opacity: 0.6 } |
365 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 365 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
366 | } | 366 | } |
367 | Row { | 367 | Row { |
368 | spacing: Kirigami.Units.smallSpacing | 368 | spacing: KubeTheme.Units.smallSpacing |
369 | Text { text: "(private)"} | 369 | Text { text: "(private)"} |
370 | Text { text: "+49812324932"; opacity: 0.6 } | 370 | Text { text: "+49812324932"; opacity: 0.6 } |
371 | Item { width: Kirigami.Units.smallSpacing; height: 1 } | 371 | Item { width: KubeTheme.Units.smallSpacing; height: 1 } |
372 | } | 372 | } |
373 | } | 373 | } |
374 | 374 | ||
375 | Column { | 375 | Column { |
376 | id: address | 376 | id: address |
377 | 377 | ||
378 | width: personPageRoot.width - Kirigami.Units.largeSpacing | 378 | width: personPageRoot.width - KubeTheme.Units.largeSpacing |
379 | 379 | ||
380 | Text { text: "Albertstrasse 35a"} | 380 | Text { text: "Albertstrasse 35a"} |
381 | Text { text: "81767 Teststadt"} | 381 | Text { text: "81767 Teststadt"} |
@@ -386,7 +386,7 @@ Popup { | |||
386 | // | 386 | // |
387 | // width: parent.width | 387 | // width: parent.width |
388 | // | 388 | // |
389 | // spacing: Kirigami.Units.smallSpacing | 389 | // spacing: KubeTheme.Units.smallSpacing |
390 | // | 390 | // |
391 | // Text { | 391 | // Text { |
392 | // | 392 | // |
@@ -396,7 +396,7 @@ Popup { | |||
396 | // GroupGrid { | 396 | // GroupGrid { |
397 | // id: groups | 397 | // id: groups |
398 | // | 398 | // |
399 | // width: root.width - Kirigami.Units.largeSpacing | 399 | // width: root.width - KubeTheme.Units.largeSpacing |
400 | // | 400 | // |
401 | // model: GroupModel1 {} | 401 | // model: GroupModel1 {} |
402 | // } | 402 | // } |
@@ -406,7 +406,7 @@ Popup { | |||
406 | // | 406 | // |
407 | // width: parent.width | 407 | // width: parent.width |
408 | // | 408 | // |
409 | // spacing: Kirigami.Units.smallSpacing | 409 | // spacing: KubeTheme.Units.smallSpacing |
410 | // | 410 | // |
411 | // Text { | 411 | // Text { |
412 | // id: commonPeopleLabel | 412 | // id: commonPeopleLabel |
@@ -417,7 +417,7 @@ Popup { | |||
417 | // PeopleGrid { | 417 | // PeopleGrid { |
418 | // id: commonPeople | 418 | // id: commonPeople |
419 | // | 419 | // |
420 | // width: root.width - Kirigami.Units.largeSpacing | 420 | // width: root.width - KubeTheme.Units.largeSpacing |
421 | // | 421 | // |
422 | // model: PeopleModel2 {} | 422 | // model: PeopleModel2 {} |
423 | // } | 423 | // } |
@@ -425,7 +425,7 @@ Popup { | |||
425 | 425 | ||
426 | Item { | 426 | Item { |
427 | width: parent.width | 427 | width: parent.width |
428 | height: Kirigami.Units.largeSpacing | 428 | height: KubeTheme.Units.largeSpacing |
429 | } | 429 | } |
430 | } | 430 | } |
431 | } | 431 | } |