diff options
author | jan Iversen <jani@apache.org> | 2019-02-11 17:09:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-03 17:29:58 -0800 |
commit | 3aa43f3ea5a64afdda934fb9a8ff52deecd71db6 (patch) | |
tree | efb53f94c4fdc23f2c1d06455c6dcb8688ae7e87 /mobile-widgets/qml/CloudCredentials.qml | |
parent | fb7920ef581f4efb452ab8242166dc211dbb62a8 (diff) | |
download | subsurface-3aa43f3ea5a64afdda934fb9a8ff52deecd71db6.tar.gz |
mobile-widgets/qml: add TemplateButton
Do "git mv SsrfButton TemplateButton", and search/replace
all uses.
The general idea of the templates are to secure common layout,
but also to isolate the Kirigami parts (slowly) in the templates.
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qml/CloudCredentials.qml')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 655eaab54..46a97cac7 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -95,7 +95,7 @@ Item { Layout.margins: Kirigami.Units.smallSpacing spacing: Kirigami.Units.smallSpacing visible: showPin - SsrfButton { + TemplateButton { id: registerpin text: qsTr("Register") onClicked: { @@ -106,7 +106,7 @@ Item { text: "" // Spacer between 2 button groups Layout.fillWidth: true } - SsrfButton { + TemplateButton { id: cancelpin text: qsTr("Cancel") onClicked: { @@ -122,7 +122,7 @@ Item { spacing: Kirigami.Units.smallSpacing visible: !showPin - SsrfButton { + TemplateButton { id: signin_register_normal text: qsTr("Sign-in or Register") onClicked: { @@ -133,7 +133,7 @@ Item { text: "" // Spacer between 2 button groups Layout.fillWidth: true } - SsrfButton { + TemplateButton { id: toNoCloudMode text: qsTr("No cloud mode") onClicked: { @@ -146,7 +146,7 @@ Item { } } } - SsrfButton { + TemplateButton { id: signin_forgot_password text: qsTr("Forgot password?") onClicked: { |