mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-03 21:05:11 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
481da09975
@ -113,14 +113,14 @@ UM.Dialog
|
|||||||
TableViewColumn
|
TableViewColumn
|
||||||
{
|
{
|
||||||
role: "original_value"
|
role: "original_value"
|
||||||
title: catalog.i18nc("@title:column", "Default")
|
title: Cura.MachineManager.activeQualityDisplayNameMap["main"]
|
||||||
width: (tableView.width * 0.3) | 0
|
width: (tableView.width * 0.3) | 0
|
||||||
delegate: defaultDelegate
|
delegate: defaultDelegate
|
||||||
}
|
}
|
||||||
TableViewColumn
|
TableViewColumn
|
||||||
{
|
{
|
||||||
role: "user_value"
|
role: "user_value"
|
||||||
title: catalog.i18nc("@title:column", "Customized")
|
title: catalog.i18nc("@title:column", "Current changes")
|
||||||
width: (tableView.width * 0.3) | 0
|
width: (tableView.width * 0.3) | 0
|
||||||
}
|
}
|
||||||
section.property: "category"
|
section.property: "category"
|
||||||
@ -192,7 +192,7 @@ UM.Dialog
|
|||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: discardButton
|
id: discardButton
|
||||||
text: catalog.i18nc("@action:button", "Discard");
|
text: catalog.i18nc("@action:button", "Discard changes");
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
@ -205,7 +205,7 @@ UM.Dialog
|
|||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: keepButton
|
id: keepButton
|
||||||
text: catalog.i18nc("@action:button", "Keep");
|
text: catalog.i18nc("@action:button", "Keep changes");
|
||||||
anchors.right: discardButton.left
|
anchors.right: discardButton.left
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
onClicked:
|
onClicked:
|
||||||
|
@ -16,8 +16,10 @@ Item
|
|||||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||||
|
|
||||||
property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected
|
property bool newCloudPrintersDetected: Cura.API.account.newCloudPrintersDetected
|
||||||
|
signal cloudPrintersDetected(bool newCloudPrintersDetected)
|
||||||
|
|
||||||
onNewCloudPrintersDetectedChanged:
|
Component.onCompleted: Cura.API.account.cloudPrintersDetectedChanged.connect(cloudPrintersDetected)
|
||||||
|
onCloudPrintersDetected:
|
||||||
{
|
{
|
||||||
// When the user signs in successfully, it will be checked whether he/she has cloud printers connected to
|
// When the user signs in successfully, it will be checked whether he/she has cloud printers connected to
|
||||||
// the account. If he/she does, then the welcome wizard can close. If not, then proceed to the next page (if any)
|
// the account. If he/she does, then the welcome wizard can close. If not, then proceed to the next page (if any)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user