Tweak profile overview layout

CURA-2006
This commit is contained in:
fieldOfView 2016-08-22 19:00:49 +02:00
parent 1c87c17d77
commit b9af9dce1f

View File

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