mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:45:55 +08:00
Add tooltip to "Number of Extruders" control
This commit is contained in:
parent
e2c978f88b
commit
79e38407c8
@ -285,13 +285,20 @@ Cura.MachineAction
|
|||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@label", "Number of Extruders")
|
text: catalog.i18nc("@label", "Number of Extruders")
|
||||||
visible: extruderCountComboBox.visible
|
visible: extruderCountControl.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UM.TooltipArea
|
||||||
|
{
|
||||||
|
id: extruderCountControl
|
||||||
|
visible: manager.definedExtruderCount > 1
|
||||||
|
height: extruderCountComboBox.height
|
||||||
|
width: extruderCountComboBox.width
|
||||||
|
text: machineExtruderCountProvider.properties.description
|
||||||
|
|
||||||
ComboBox
|
ComboBox
|
||||||
{
|
{
|
||||||
id: extruderCountComboBox
|
id: extruderCountComboBox
|
||||||
visible: manager.definedExtruderCount > 1
|
|
||||||
model: ListModel
|
model: ListModel
|
||||||
{
|
{
|
||||||
id: extruderCountModel
|
id: extruderCountModel
|
||||||
@ -309,6 +316,7 @@ Cura.MachineAction
|
|||||||
manager.setMachineExtruderCount(index + 1);
|
manager.setMachineExtruderCount(index + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@ -867,7 +875,7 @@ Cura.MachineAction
|
|||||||
|
|
||||||
containerStackId: Cura.MachineManager.activeMachineId
|
containerStackId: Cura.MachineManager.activeMachineId
|
||||||
key: "machine_head_with_fans_polygon"
|
key: "machine_head_with_fans_polygon"
|
||||||
watchedProperties: [ "value", "description" ]
|
watchedProperties: [ "value" ]
|
||||||
storeIndex: manager.containerIndex
|
storeIndex: manager.containerIndex
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user