diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-06-13 16:42:36 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-06-13 16:42:36 -0700 |
commit | 07512cb2c8ed6e6878ddb29e44219cb5d71eaf59 (patch) | |
tree | a762a1262ed1baf5ba9db8fc3a319f2269adc165 /mobile-widgets/qml/CloudCredentials.qml | |
parent | 5fa965df54c1ab7f881271e0dad2b6dfa6f253ed (diff) | |
download | subsurface-07512cb2c8ed6e6878ddb29e44219cb5d71eaf59.tar.gz |
QML UI: allow entering the cloud PIN on the mobile UI
Now the user doesn't need to do this on the desktop app anymore.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/CloudCredentials.qml')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 1222dbb2b..7f1e0d986 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -16,6 +16,7 @@ Item { function saveCredentials() { manager.cloudUserName = login.text manager.cloudPassword = password.text + manager.cloudPin = pin.text manager.saveCloudCredentials() } @@ -76,6 +77,7 @@ Item { Qt.ImhNoAutoUppercase Layout.fillWidth: true } + GridLayout { columns: 2 @@ -90,6 +92,18 @@ Item { text: qsTr("Show password") } } + + Kirigami.Label { + text: qsTr("PIN") + visible: rootItem.showPin + } + StyledTextField { + id: pin + text: "" + Layout.fillWidth: true + visible: rootItem.showPin + } + Item { width: Kirigami.Units.gridUnit; height: width } } } |