diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-11-04 15:48:31 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-11-04 15:48:31 +0300 |
commit | c5788be6f7439b81d9d2fc3e704ceb3416d19aa7 (patch) | |
tree | 6bf769c5ffddb46da98cd63795af5fa52b8a7ffb | |
parent | c892bac27f8f763f8d829ab0f91a96359ca5b8f4 (diff) |
Add ids with interactable components
Makes it easier to perform automatic ui testing
contributes to CURA-8689
-rw-r--r-- | resources/qml/WelcomePages/AddUltimakerOrThirdPartyPrinter.qml | 3 | ||||
-rw-r--r-- | resources/qml/WelcomePages/AddUltimakerPrinter.qml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/WelcomePages/AddUltimakerOrThirdPartyPrinter.qml b/resources/qml/WelcomePages/AddUltimakerOrThirdPartyPrinter.qml index 01b375f66d..0e88e0373f 100644 --- a/resources/qml/WelcomePages/AddUltimakerOrThirdPartyPrinter.qml +++ b/resources/qml/WelcomePages/AddUltimakerOrThirdPartyPrinter.qml @@ -49,6 +49,7 @@ Control PrinterCard { + id: ultimakerPrinterCard onClicked: goToUltimakerPrinter text: catalog.i18nc("@button", "Ultimaker printer") imageSource: UM.Theme.getImage("ultimaker_printer") @@ -56,6 +57,7 @@ Control PrinterCard { + id: thrirdPartyPrinterCard onClicked: goToThirdPartyPrinter text: catalog.i18nc("@button", "Non Ultimaker printer") imageSource: UM.Theme.getImage("third_party_printer") @@ -64,6 +66,7 @@ Control Cura.TertiaryButton { + id: learnMoreButton Layout.alignment: Qt.AlignBottom text: catalog.i18nc("@button", "Learn more about adding printers to Cura") iconSource: UM.Theme.getIcon("LinkExternal") diff --git a/resources/qml/WelcomePages/AddUltimakerPrinter.qml b/resources/qml/WelcomePages/AddUltimakerPrinter.qml index 9c9154f3b3..a2b08a45b6 100644 --- a/resources/qml/WelcomePages/AddUltimakerPrinter.qml +++ b/resources/qml/WelcomePages/AddUltimakerPrinter.qml @@ -80,6 +80,7 @@ Control Cura.TertiaryButton { + id: learnMoreButton Layout.fillWidth: true Layout.alignment: Qt.AlignTop text: catalog.i18nc("@button", "Learn more") @@ -101,6 +102,7 @@ Control Cura.SecondaryButton { + id: addLocalPrinterButton Layout.alignment: Qt.AlignLeft text: catalog.i18nc("@button", "Add local printer") onClicked: goToThirdPartyPrinter() @@ -108,6 +110,7 @@ Control Cura.PrimaryButton { + id: signInButton Layout.alignment: Qt.AlignRight text: catalog.i18nc("@button", "Sign in to Digital Factory") onClicked: function() |