mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Display all the extruder settings and global settings in profile manager
Contributes to CURA-2006
This commit is contained in:
parent
03252c69dc
commit
975a60bec3
2 changed files with 42 additions and 58 deletions
33
resources/qml/Preferences/ProfileTab.qml
Normal file
33
resources/qml/Preferences/ProfileTab.qml
Normal file
|
@ -0,0 +1,33 @@
|
|||
// Copyright (c) 2015 Ultimaker B.V.
|
||||
// Uranium is released under the terms of the AGPLv3 or higher.
|
||||
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 1.1
|
||||
|
||||
import UM 1.2 as UM
|
||||
import Cura 1.0 as Cura
|
||||
|
||||
Tab
|
||||
{
|
||||
id: base
|
||||
|
||||
property string extruderId: "";
|
||||
property string quality: "";
|
||||
property string material: "";
|
||||
|
||||
TableView
|
||||
{
|
||||
anchors.fill: parent
|
||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||
|
||||
TableViewColumn { role: "label"; title: catalog.i18nc("@title:column", "Setting") }
|
||||
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 }
|
||||
TableViewColumn { role: "unit"; title: catalog.i18nc("@title:column", "Unit") }
|
||||
|
||||
section.property: "category"
|
||||
section.delegate: Label { text: section }
|
||||
|
||||
model: Cura.QualitySettingsModel { extruderId: base.extruderId != "" ? base.extruderId : null; quality: base.quality; material: base.material }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue