chore(@sync_code_qml): added object names for testing purposes

This commit is contained in:
Anastasiya Semenkevich 2023-09-25 15:52:38 +03:00 committed by Anastasiya Semenkevich
parent e6408724c9
commit 6cdc631f04
3 changed files with 18 additions and 0 deletions

View File

@ -237,6 +237,9 @@ StatusDialog {
footer: StatusDialogFooter { footer: StatusDialogFooter {
rightButtons: ObjectModel { rightButtons: ObjectModel {
StatusButton { StatusButton {
objectName: "syncAnewDeviceNextButton"
id: nextButton id: nextButton
visible: !!text visible: !!text
enabled: !localPairingInProgressState.active enabled: !localPairingInProgressState.active

View File

@ -167,6 +167,9 @@ SettingsContentBase {
spacing: 17 spacing: 17
StatusBaseText { StatusBaseText {
objectName: "syncNewDeviceTextLabel"
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: -8 Layout.topMargin: -8
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
@ -177,6 +180,9 @@ SettingsContentBase {
} }
StatusBaseText { StatusBaseText {
objectName: "syncNewDeviceSubTitleTextLabel"
Layout.fillWidth: true Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
@ -216,6 +222,9 @@ SettingsContentBase {
} }
StatusButton { StatusButton {
objectName: "setupSyncingStatusButton"
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
normalColor: Theme.palette.primaryColor1 normalColor: Theme.palette.primaryColor1
hoverColor: Theme.palette.miscColor1; hoverColor: Theme.palette.miscColor1;
@ -238,6 +247,9 @@ SettingsContentBase {
} }
StatusButton { StatusButton {
objectName: "setupSyncBackupDataButton"
id: backupBtn id: backupBtn
visible: !production visible: !production
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter

View File

@ -202,6 +202,9 @@ ColumnLayout {
} }
StatusButton { StatusButton {
objectName: "syncCodeCopyButton"
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
size: StatusBaseButton.Size.Tiny size: StatusBaseButton.Size.Tiny
enabled: !d.codeExpired enabled: !d.codeExpired