diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-21 17:30:25 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-09-22 10:26:27 +0200 |
commit | 1b1e83aeb820df85ce7f10e81fe1f44deab2174e (patch) | |
tree | 8a137d8f286a3595d9171c24b45655c4b2b03427 /accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | |
parent | 777cb40dae338e79e8f4160882b7c37900b42238 (diff) | |
download | kube-1b1e83aeb820df85ce7f10e81fe1f44deab2174e.tar.gz kube-1b1e83aeb820df85ce7f10e81fe1f44deab2174e.zip |
A login view
Diffstat (limited to 'accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml')
-rw-r--r-- | accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml index 8d8b6665..482ddc99 100644 --- a/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml +++ b/accounts/kolabnow/package/contents/ui/KolabnowAccountSettings.qml | |||
@@ -26,8 +26,8 @@ Item { | |||
26 | 26 | ||
27 | property string accountId | 27 | property string accountId |
28 | property string heading: qsTr("Connect your Kolab Now account") | 28 | property string heading: qsTr("Connect your Kolab Now account") |
29 | property string subheadline: qsTr("To let Kube access your account, fill in email address, username, password and give the account a title that will be displayed inside Kube.") | 29 | property string subheadline: qsTr("To let Kube access your account, fill in your name, username, password.") |
30 | property bool valid: accountField.acceptableInput && nameField.acceptableInput && emailField.acceptableInput && pwField.acceptableInput | 30 | property bool valid: nameField.acceptableInput && emailField.acceptableInput |
31 | 31 | ||
32 | KolabnowAccount.KolabnowSettings { | 32 | KolabnowAccount.KolabnowSettings { |
33 | id: kolabnowSettings | 33 | id: kolabnowSettings |
@@ -85,23 +85,6 @@ Item { | |||
85 | } | 85 | } |
86 | placeholderText: qsTr("Your email address") | 86 | placeholderText: qsTr("Your email address") |
87 | } | 87 | } |
88 | |||
89 | Kube.Label { | ||
90 | text: qsTr("Password") | ||
91 | Layout.alignment: Qt.AlignRight | ||
92 | } | ||
93 | |||
94 | Kube.PasswordField { | ||
95 | id: pwField | ||
96 | Layout.fillWidth: true | ||
97 | |||
98 | placeholderText: qsTr("Password of your email account") | ||
99 | text: kolabnowSettings.imapPassword | ||
100 | onTextChanged: { | ||
101 | kolabnowSettings.imapPassword = text | ||
102 | kolabnowSettings.smtpPassword = text | ||
103 | } | ||
104 | } | ||
105 | } | 88 | } |
106 | } | 89 | } |
107 | } | 90 | } |