Add information on compatibilities with air manager

Similar to the Material Station.

Contributes to issue CURA-8585.
This commit is contained in:
Ghostkeeper 2021-11-30 18:25:24 +01:00
parent aba3e755f4
commit 39f540ff52
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -494,7 +494,7 @@ Rectangle
{
width: parent.width
text: catalog.i18nc("@header", "Compatible with material station")
text: catalog.i18nc("@header", "Compatible with Material Station")
font: UM.Theme.getFont("medium_bold")
color: UM.Theme.getColor("text")
elide: Text.ElideRight
@ -511,6 +511,34 @@ Rectangle
}
}
Column
{
width: parent.width - parent.padding * 2
visible: packageData.packageType === "material"
spacing: 0
Label
{
width: parent.width
text: catalog.i18nc("@header", "Optimized for Air Manager")
font: UM.Theme.getFont("medium_bold")
color: UM.Theme.getColor("text")
elide: Text.ElideRight
}
Label
{
width: parent.width
text: packageData.isCompatibleAirManager ? catalog.i18nc("@info", "Yes") : catalog.i18nc("@info", "No")
font: UM.Theme.getFont("medium")
color: UM.Theme.getColor("text")
elide: Text.ElideRight
}
}
Cura.SecondaryButton
{
anchors.horizontalCenter: parent.horizontalCenter