Add package card to detail page

The card has the wrong layout, but it's a start. The data is communicated in any case.

Contributes to issue CURA-8565.
This commit is contained in:
Ghostkeeper 2021-11-29 14:50:48 +01:00
parent 5dd2dcce90
commit d5cfaa1e0a
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 22 additions and 2 deletions

View file

@ -10,6 +10,9 @@ import UM 1.0 as UM
Item
{
id: detailPage
property var packageData: packages.selectedPackage
RowLayout
{
id: header
@ -63,5 +66,10 @@ Item
bottom: parent.bottom
}
color: UM.Theme.getColor("detail_background")
PackageCard
{
packageData: detailPage.packageData
}
}
}