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:
Ghostkeeper 2021-11-26 16:04:23 +01:00 committed by Jelle Spijker
parent 34911380d2
commit 26a39f0240
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
3 changed files with 149 additions and 118 deletions

View file

@ -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.