diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-02-04 13:59:30 +0100 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-02-04 13:59:30 +0100 |
commit | fc1f6b2f4276f67008010e1f12e2eb1bf79da4a9 (patch) | |
tree | d2b040643e34bad2ef72eb89d5764eaa09c62606 /applications/kube-mail/package/contents/ui/main.qml | |
parent | 941da63e855f531ae9babd5102f8291f8322f786 (diff) | |
download | kube-fc1f6b2f4276f67008010e1f12e2eb1bf79da4a9.tar.gz kube-fc1f6b2f4276f67008010e1f12e2eb1bf79da4a9.zip |
Compoer + FocusComposer UI
Diffstat (limited to 'applications/kube-mail/package/contents/ui/main.qml')
-rw-r--r-- | applications/kube-mail/package/contents/ui/main.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/applications/kube-mail/package/contents/ui/main.qml b/applications/kube-mail/package/contents/ui/main.qml index ef37ae19..c1e3fcc3 100644 --- a/applications/kube-mail/package/contents/ui/main.qml +++ b/applications/kube-mail/package/contents/ui/main.qml | |||
@@ -71,7 +71,9 @@ ApplicationWindow { | |||
71 | height: parent.height | 71 | height: parent.height |
72 | iconName: "mail-message-new" | 72 | iconName: "mail-message-new" |
73 | text: "Compose" | 73 | text: "Compose" |
74 | enabled: false | 74 | onClicked: { |
75 | composer.visible = true | ||
76 | } | ||
75 | } | 77 | } |
76 | 78 | ||
77 | PlasmaComponents.ToolButton { | 79 | PlasmaComponents.ToolButton { |
@@ -131,6 +133,12 @@ ApplicationWindow { | |||
131 | 133 | ||
132 | } | 134 | } |
133 | 135 | ||
136 | FocusComposer { | ||
137 | id: composer | ||
138 | |||
139 | anchors.fill: parent | ||
140 | } | ||
141 | |||
134 | //TODO find a better way to scale UI | 142 | //TODO find a better way to scale UI |
135 | Item { | 143 | Item { |
136 | id: unit | 144 | id: unit |