diff options
Diffstat (limited to 'components/package')
-rw-r--r-- | components/package/contents/ui/Outbox.qml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/components/package/contents/ui/Outbox.qml b/components/package/contents/ui/Outbox.qml index b30d7455..4baa0eae 100644 --- a/components/package/contents/ui/Outbox.qml +++ b/components/package/contents/ui/Outbox.qml | |||
@@ -28,11 +28,13 @@ ToolButton { | |||
28 | id: root | 28 | id: root |
29 | 29 | ||
30 | iconName: "mail-folder-outbox" | 30 | iconName: "mail-folder-outbox" |
31 | tooltip: "outbox" | ||
31 | 32 | ||
32 | onClicked: { | 33 | onClicked: { |
33 | dialog.visible = dialog.visible ? false : true | 34 | dialog.visible = dialog.visible ? false : true |
34 | } | 35 | } |
35 | 36 | ||
37 | //BEGIN Dialog | ||
36 | Rectangle { | 38 | Rectangle { |
37 | id: dialog | 39 | id: dialog |
38 | 40 | ||
@@ -41,8 +43,8 @@ ToolButton { | |||
41 | horizontalCenter: parent.horizontalCenter | 43 | horizontalCenter: parent.horizontalCenter |
42 | } | 44 | } |
43 | 45 | ||
44 | height: 600 | 46 | height: Kirigami.Units.gridUnit * 15 |
45 | width: 400 | 47 | width: Kirigami.Units.gridUnit * 12 |
46 | 48 | ||
47 | color: Kirigami.Theme.backgroundColor | 49 | color: Kirigami.Theme.backgroundColor |
48 | border.width: 1 | 50 | border.width: 1 |
@@ -50,5 +52,27 @@ ToolButton { | |||
50 | radius: 3 | 52 | radius: 3 |
51 | clip: true | 53 | clip: true |
52 | visible: false | 54 | visible: false |
55 | |||
56 | //BEGIN Dialog Content | ||
57 | ScrollView { | ||
58 | anchors { | ||
59 | fill: parent | ||
60 | margins: 1 | ||
61 | } | ||
62 | ListView { | ||
63 | id: listView | ||
64 | |||
65 | model: 3 | ||
66 | |||
67 | delegate: Kirigami.AbstractListItem { | ||
68 | Kirigami.Label { | ||
69 | anchors.centerIn: parent | ||
70 | text: "Subjext subxetson" | ||
71 | } | ||
72 | } | ||
73 | } | ||
74 | } | ||
75 | //END Dialog Content | ||
53 | } | 76 | } |
77 | //END Dialog | ||
54 | } | 78 | } |