mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Add a StackView around Marketplace to allow extra pages on top
This allows a sort of full-screen pop-up to replace the entire Marketplace window contents, on top of the normal contents. The normal contents are kept as they are, but out of view. Contributes to issue CURA-8565.
This commit is contained in:
parent
34911380d2
commit
26a39f0240
3 changed files with 149 additions and 118 deletions
|
@ -62,9 +62,20 @@ ListView
|
|||
}
|
||||
}
|
||||
|
||||
delegate: PackageCard
|
||||
delegate: MouseArea
|
||||
{
|
||||
packageData: model.package
|
||||
width: parent.width
|
||||
height: childrenRect.height
|
||||
|
||||
onClicked:
|
||||
{
|
||||
contextStack.push(Qt.resolvedUrl("PackageDetails.qml"))
|
||||
}
|
||||
|
||||
PackageCard
|
||||
{
|
||||
packageData: model.package
|
||||
}
|
||||
}
|
||||
|
||||
//Wrapper item to add spacing between content and footer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue