mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 15:29:00 +08:00
Tweak profile overview layout
CURA-2006
This commit is contained in:
parent
1c87c17d77
commit
b9af9dce1f
@ -20,13 +20,37 @@ Tab
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||||
|
|
||||||
TableViewColumn { role: "label"; title: catalog.i18nc("@title:column", "Setting") }
|
TableViewColumn
|
||||||
TableViewColumn { role: "profile_value"; title: catalog.i18nc("@title:column", "Profile Value"); }
|
{
|
||||||
TableViewColumn { role: "user_value"; title: catalog.i18nc("@title:column", "User Value"); visible: quality == Cura.MachineManager.activeQualityId }
|
role: "label"
|
||||||
TableViewColumn { role: "unit"; title: catalog.i18nc("@title:column", "Unit") }
|
title: catalog.i18nc("@title:column", "Setting")
|
||||||
|
width: parent.width * 0.4
|
||||||
|
}
|
||||||
|
TableViewColumn
|
||||||
|
{
|
||||||
|
role: "profile_value"
|
||||||
|
title: catalog.i18nc("@title:column", "Profile")
|
||||||
|
width: parent.width * 0.18
|
||||||
|
}
|
||||||
|
TableViewColumn
|
||||||
|
{
|
||||||
|
role: "user_value"
|
||||||
|
title: catalog.i18nc("@title:column", "Current"); visible: quality == Cura.MachineManager.activeQualityId
|
||||||
|
width: parent.width * 0.18
|
||||||
|
}
|
||||||
|
TableViewColumn
|
||||||
|
{
|
||||||
|
role: "unit"
|
||||||
|
title: catalog.i18nc("@title:column", "Unit")
|
||||||
|
width: parent.width * 0.14
|
||||||
|
}
|
||||||
|
|
||||||
section.property: "category"
|
section.property: "category"
|
||||||
section.delegate: Label { text: section }
|
section.delegate: Label
|
||||||
|
{
|
||||||
|
text: section
|
||||||
|
font.bold: true
|
||||||
|
}
|
||||||
|
|
||||||
model: Cura.QualitySettingsModel
|
model: Cura.QualitySettingsModel
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user