mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08:00
Rename gotoPage to goToPage
This commit is contained in:
parent
a8e2fcf5f5
commit
2b0e2d84bb
@ -204,7 +204,7 @@ Item
|
|||||||
text: catalog.i18nc("@button", "Cancel")
|
text: catalog.i18nc("@button", "Cancel")
|
||||||
width: UM.Theme.getSize("action_button").width
|
width: UM.Theme.getSize("action_button").width
|
||||||
fixedWidthMode: true
|
fixedWidthMode: true
|
||||||
onClicked: base.gotoPage("add_printer_by_selection")
|
onClicked: base.goToPage("add_printer_by_selection")
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.PrimaryButton
|
Cura.PrimaryButton
|
||||||
|
@ -67,7 +67,7 @@ Item
|
|||||||
|
|
||||||
onAddByIpButtonClicked:
|
onAddByIpButtonClicked:
|
||||||
{
|
{
|
||||||
base.gotoPage("add_printer_by_ip")
|
base.goToPage("add_printer_by_ip")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -148,7 +148,7 @@ Item
|
|||||||
// TODO: implement machine actions
|
// TODO: implement machine actions
|
||||||
|
|
||||||
// If we have created a machine, go to the last page, which is the "cloud" page.
|
// If we have created a machine, go to the last page, which is the "cloud" page.
|
||||||
base.gotoPage("cloud")
|
base.goToPage("cloud")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ Item
|
|||||||
signal showNextPage()
|
signal showNextPage()
|
||||||
signal showPreviousPage()
|
signal showPreviousPage()
|
||||||
signal passLastPage() // Emitted when there is no more page to show
|
signal passLastPage() // Emitted when there is no more page to show
|
||||||
signal gotoPage(string page_id) // Go to a specific page by the given page_id.
|
signal goToPage(string page_id) // Go to a specific page by the given page_id.
|
||||||
|
|
||||||
onShowNextPage:
|
onShowNextPage:
|
||||||
{
|
{
|
||||||
@ -54,7 +54,7 @@ Item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onGotoPage:
|
onGoToPage:
|
||||||
{
|
{
|
||||||
// find the page index
|
// find the page index
|
||||||
var page_index = -1
|
var page_index = -1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user