mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 19:28:07 -06:00
Add "Add cloud printer" button in "Add a printer" page
CURA-7022
This commit is contained in:
parent
41c472c2ed
commit
a4c5e63355
1 changed files with 12 additions and 0 deletions
|
@ -24,6 +24,7 @@ Item
|
||||||
|
|
||||||
signal refreshButtonClicked()
|
signal refreshButtonClicked()
|
||||||
signal addByIpButtonClicked()
|
signal addByIpButtonClicked()
|
||||||
|
signal addCloudPrinterButtonClicked()
|
||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
|
@ -193,6 +194,17 @@ Item
|
||||||
onClicked: base.addByIpButtonClicked()
|
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
|
Item
|
||||||
{
|
{
|
||||||
id: troubleshootingButton
|
id: troubleshootingButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue