mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Add ids with interactable components
Makes it easier to perform automatic ui testing contributes to CURA-8689
This commit is contained in:
parent
c892bac27f
commit
c5788be6f7
2 changed files with 6 additions and 0 deletions
|
@ -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")
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue