mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 23:45:55 +08: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
@ -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…
x
Reference in New Issue
Block a user