mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Add binding to current maximum bed temperature
Instead of the MAXTEMP placeholder. Contributes to issue CURA-3161.
This commit is contained in:
parent
3fb625109e
commit
27ff55d75b
1 changed files with 10 additions and 1 deletions
|
@ -209,7 +209,7 @@ Column
|
||||||
}
|
}
|
||||||
Label //Maximum temperature indication.
|
Label //Maximum temperature indication.
|
||||||
{
|
{
|
||||||
text: "MAXTEMP" //TODO: Placeholder!
|
text: bedTemperature.properties.maximum_value
|
||||||
color: UM.Theme.getColor("setting_unit")
|
color: UM.Theme.getColor("setting_unit")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
@ -264,6 +264,15 @@ Column
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UM.SettingPropertyProvider
|
||||||
|
{
|
||||||
|
id: bedTemperature
|
||||||
|
containerStackId: Cura.MachineManager.activeMachineId
|
||||||
|
key: "material_bed_temperature"
|
||||||
|
watchedProperties: ["value", "minimum_value", "maximum_value", "minimum_value_warning", "maximum_value_warning"]
|
||||||
|
storeIndex: 0
|
||||||
|
}
|
||||||
|
|
||||||
Loader
|
Loader
|
||||||
{
|
{
|
||||||
sourceComponent: monitorSection
|
sourceComponent: monitorSection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue