summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-04-06 13:56:45 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-04-06 13:56:45 +0200
commitebe08f49ef538320ad485bad1b5db0bb4e3bb54a (patch)
tree7fb2f4cd54d3d7b029f77314700010612a0123f6
parentae7882068f50e80c356b3e25b1c52acdb325e855 (diff)
downloadkube-ebe08f49ef538320ad485bad1b5db0bb4e3bb54a.tar.gz
kube-ebe08f49ef538320ad485bad1b5db0bb4e3bb54a.zip
use kube.button in focuscomposer
-rw-r--r--framework/qml/FocusComposer.qml20
1 files changed, 11 insertions, 9 deletions
diff --git a/framework/qml/FocusComposer.qml b/framework/qml/FocusComposer.qml
index e827dbc2..5900b809 100644
--- a/framework/qml/FocusComposer.qml
+++ b/framework/qml/FocusComposer.qml
@@ -159,7 +159,7 @@ Kube.Popup {
159 } 159 }
160 } 160 }
161 161
162 Controls2.Button { 162 Kube.Button {
163 id: ccButton 163 id: ccButton
164 164
165 text: "Cc" 165 text: "Cc"
@@ -169,7 +169,7 @@ Kube.Popup {
169 } 169 }
170 } 170 }
171 171
172 Controls2.Button { 172 Kube.Button {
173 id: bccButton 173 id: bccButton
174 174
175 text: "Bcc" 175 text: "Bcc"
@@ -214,7 +214,7 @@ Kube.Popup {
214 214
215 width: parent.width 215 width: parent.width
216 216
217 Controls2.Button { 217 Kube.Button {
218 text: "Discard" 218 text: "Discard"
219 219
220 onClicked: { 220 onClicked: {
@@ -227,19 +227,21 @@ Kube.Popup {
227 } 227 }
228 228
229 229
230 Controls2.Button { 230 Kube.Button {
231 text: "Save as Draft" 231 id: saveDraftButton
232 232
233 enabled: saveAsDraftAction.enabled 233 text: "Save as Draft"
234 //TODO enabled: saveAsDraftAction.enabled
234 onClicked: { 235 onClicked: {
235 saveAsDraftAction.execute() 236 saveAsDraftAction.execute()
236 } 237 }
237 } 238 }
238 239
239 Controls2.Button { 240 Kube.PositiveButton {
240 text: "Send" 241 width: saveDraftButton.width
241 242
242 enabled: sendAction.enabled 243 text: "Send"
244 //TODO enabled: sendAction.enabled
243 onClicked: { 245 onClicked: {
244 sendAction.execute() 246 sendAction.execute()
245 } 247 }