mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 07:41:18 -07:00
Change naming from plugin to packages
CURA-8557
This commit is contained in:
parent
3e64b7cb66
commit
afe9c0c633
1 changed files with 5 additions and 5 deletions
|
|
@ -11,21 +11,21 @@ ScrollView
|
||||||
clip: true
|
clip: true
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
|
|
||||||
property alias model: pluginColumn.model
|
property alias model: packagesListview.model
|
||||||
|
|
||||||
Component.onCompleted: model.request()
|
Component.onCompleted: model.request()
|
||||||
Component.onDestruction: model.abortRequest()
|
Component.onDestruction: model.abortRequest()
|
||||||
|
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
id: pluginColumn
|
id: packagesListview
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
|
||||||
delegate: Rectangle
|
delegate: Rectangle
|
||||||
{
|
{
|
||||||
width: pluginColumn.width
|
width: packagesListview.width
|
||||||
height: UM.Theme.getSize("card").height
|
height: UM.Theme.getSize("card").height
|
||||||
|
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
|
|
@ -46,7 +46,7 @@ ScrollView
|
||||||
footer: Item //Wrapper item to add spacing between content and footer.
|
footer: Item //Wrapper item to add spacing between content and footer.
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("card").height + pluginColumn.spacing
|
height: UM.Theme.getSize("card").height + packagesListview.spacing
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: loadMoreButton
|
id: loadMoreButton
|
||||||
|
|
@ -89,7 +89,7 @@ ScrollView
|
||||||
PropertyChanges
|
PropertyChanges
|
||||||
{
|
{
|
||||||
target: loadMoreLabel
|
target: loadMoreLabel
|
||||||
text: catalog.i18nc("@button", "Failed to load plug-ins:") + " " + packages.model.errorMessage + "\n" + catalog.i18nc("@button", "Retry?")
|
text: catalog.i18nc("@button", "Failed to load packages:") + " " + packages.model.errorMessage + "\n" + catalog.i18nc("@button", "Retry?")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
State
|
State
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue