chore: add object names to UserAgreementPopup.qml

This commit is contained in:
Anastasiya Semenkevich 2023-11-15 19:16:09 +03:00 committed by Anastasiya
parent 783a755230
commit d73c4c5a3a

View File

@ -15,6 +15,7 @@ StatusModal {
id: root id: root
width: 640 width: 640
title: qsTr("Welcome to Status Desktop Beta") title: qsTr("Welcome to Status Desktop Beta")
objectName: "desktopBetaStatusModal"
hasCloseButton: false hasCloseButton: false
verticalPadding: 20 verticalPadding: 20
@ -76,6 +77,7 @@ StatusModal {
StatusCheckBox { StatusCheckBox {
id: agreeToUse id: agreeToUse
objectName: "desktopBetaAgreeCheckBox"
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: -8 //reduced margin by design Layout.topMargin: -8 //reduced margin by design
text: qsTr("Ive read the above and understand that Status Desktop is Beta software") text: qsTr("Ive read the above and understand that Status Desktop is Beta software")
@ -83,6 +85,7 @@ StatusModal {
StatusCheckBox { StatusCheckBox {
id: readyToUse id: readyToUse
objectName: "desktopBetaReadyCheckBox"
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: -16 //reduced margin by design Layout.topMargin: -16 //reduced margin by design
text: qsTr("Im ready to use Status Desktop Beta") text: qsTr("Im ready to use Status Desktop Beta")
@ -95,6 +98,7 @@ StatusModal {
text: qsTr("Im ready to use Status Desktop Beta") text: qsTr("Im ready to use Status Desktop Beta")
enabled: agreeToUse.checked && readyToUse.checked enabled: agreeToUse.checked && readyToUse.checked
onClicked: root.close() onClicked: root.close()
objectName: "desktopBetaStatusButton"
} }
] ]
} }