summaryrefslogtreecommitdiffstats
path: root/components/accounts
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-01-05 19:44:27 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-01-05 19:44:27 +0100
commit7726fc6e03c09a5a1cb2dad62bd9ed6438e8bd8b (patch)
treef849f33531f83f1d27cb3fade27f31d6953ad35b /components/accounts
parentd0716c36927275fbfe0a0a9ab8e1726cbddb35c0 (diff)
downloadkube-7726fc6e03c09a5a1cb2dad62bd9ed6438e8bd8b.tar.gz
kube-7726fc6e03c09a5a1cb2dad62bd9ed6438e8bd8b.zip
kolabnow controller and create ui
Diffstat (limited to 'components/accounts')
-rw-r--r--components/accounts/CreateKolabNow.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/accounts/CreateKolabNow.qml b/components/accounts/CreateKolabNow.qml
index e86f4ec9..c362bef6 100644
--- a/components/accounts/CreateKolabNow.qml
+++ b/components/accounts/CreateKolabNow.qml
@@ -22,8 +22,14 @@ import QtQuick.Controls 1.4 as Controls
22import QtQuick.Controls 2.0 as Controls2 22import QtQuick.Controls 2.0 as Controls2
23import org.kde.kirigami 1.0 as Kirigami 23import org.kde.kirigami 1.0 as Kirigami
24 24
25import org.kube.framework.accounts 1.0 as KubeAccounts
26
25Item { 27Item {
26 28
29 KubeAccounts.KolabNowController {
30 id: account
31 }
32
27 Controls.ToolButton { 33 Controls.ToolButton {
28 iconName: "go-previous" 34 iconName: "go-previous"
29 35
@@ -97,6 +103,12 @@ Item {
97 Controls.TextField { 103 Controls.TextField {
98 Layout.fillWidth: true 104 Layout.fillWidth: true
99 105
106 text: account.emailAddress
107
108 onTextChanged: {
109 account.emailAddress = text
110 }
111
100 placeholderText: "Your email address" 112 placeholderText: "Your email address"
101 } 113 }
102 114
@@ -113,6 +125,13 @@ Item {
113 Layout.fillWidth: true 125 Layout.fillWidth: true
114 126
115 placeholderText: "Password of your email account" 127 placeholderText: "Password of your email account"
128
129 text: account.password
130
131 onTextChanged: {
132 account.password = text
133 }
134
116 echoMode: TextInput.Password 135 echoMode: TextInput.Password
117 } 136 }
118 137
@@ -157,6 +176,7 @@ Item {
157 text: "Save" 176 text: "Save"
158 177
159 onClicked: { 178 onClicked: {
179 account.createAction.execute()
160 popup.close() 180 popup.close()
161 } 181 }
162 } 182 }