mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 07:09:02 +08:00
Add "Add cloud printer" button in "Add a printer" page
CURA-7022
This commit is contained in:
parent
41c472c2ed
commit
a4c5e63355
@ -24,6 +24,7 @@ Item
|
||||
|
||||
signal refreshButtonClicked()
|
||||
signal addByIpButtonClicked()
|
||||
signal addCloudPrinterButtonClicked()
|
||||
|
||||
Item
|
||||
{
|
||||
@ -193,6 +194,17 @@ Item
|
||||
onClicked: base.addByIpButtonClicked()
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: addCloudPrinterButton
|
||||
anchors.left: addPrinterByIpButton.right
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: catalog.i18nc("@label", "Add cloud printer")
|
||||
height: UM.Theme.getSize("message_action_button").height
|
||||
onClicked: base.addCloudPrinterButtonClicked()
|
||||
}
|
||||
|
||||
Item
|
||||
{
|
||||
id: troubleshootingButton
|
||||
|
Loading…
x
Reference in New Issue
Block a user