mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-21 08:33:12 +08:00
Add stub button to sync configuration from printer to Cura
inb4 string-freeze CURA-2276
This commit is contained in:
parent
c5d0942ee2
commit
5c4f79eab3
@ -64,12 +64,18 @@ Item
|
|||||||
visible: isUM3
|
visible: isUM3
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
height: UM.Theme.getSize("save_button_save_to_button").height
|
|
||||||
tooltip: catalog.i18nc("@info:tooltip", "Send access request to the printer")
|
tooltip: catalog.i18nc("@info:tooltip", "Send access request to the printer")
|
||||||
text: catalog.i18nc("@action:button", "Request Access")
|
text: catalog.i18nc("@action:button", "Request Access")
|
||||||
onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
|
onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
|
||||||
visible: base.printerConnected && !base.printerAcceptsCommands
|
visible: base.printerConnected && !base.printerAcceptsCommands
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button
|
||||||
|
{
|
||||||
|
tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
|
||||||
|
text: catalog.i18nc("@action:button", "Activate Configuration")
|
||||||
|
visible: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.I18nCatalog{id: catalog; name:"cura"}
|
UM.I18nCatalog{id: catalog; name:"cura"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user