mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Show Extruders, PrintCores, Materials on Printer preference pane
CURA-2276
This commit is contained in:
parent
a754952f5e
commit
15d933ed73
1 changed files with 53 additions and 10 deletions
|
@ -59,23 +59,66 @@ Item
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Item
|
Column
|
||||||
{
|
{
|
||||||
objectName: "networkPrinterConnectionInfo"
|
objectName: "networkPrinterConnectionInfo"
|
||||||
visible: isUM3
|
visible: isUM3
|
||||||
Button
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
|
Row
|
||||||
{
|
{
|
||||||
tooltip: catalog.i18nc("@info:tooltip", "Send access request to the printer")
|
visible: base.printerConnected
|
||||||
text: catalog.i18nc("@action:button", "Request Access")
|
spacing: UM.Theme.getSize("default_margin").width
|
||||||
onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
|
|
||||||
visible: base.printerConnected && !base.printerAcceptsCommands
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
height: childrenRect.height
|
||||||
|
|
||||||
|
Column
|
||||||
|
{
|
||||||
|
Repeater
|
||||||
|
{
|
||||||
|
model: Cura.ExtrudersModel { simpleNames: true }
|
||||||
|
Label { text: model.name }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Column
|
||||||
|
{
|
||||||
|
Repeater
|
||||||
|
{
|
||||||
|
id: nozzleColumn
|
||||||
|
model: Cura.MachineManager.printerOutputDevices[0].hotendIds
|
||||||
|
Label { text: nozzleColumn.model[index] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Column
|
||||||
|
{
|
||||||
|
Repeater
|
||||||
|
{
|
||||||
|
id: materialColumn
|
||||||
|
model: Cura.MachineManager.printerOutputDevices[0].materialNames
|
||||||
|
Label { text: materialColumn.model[index] }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button
|
Row
|
||||||
{
|
{
|
||||||
tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
|
Button
|
||||||
text: catalog.i18nc("@action:button", "Activate Configuration")
|
{
|
||||||
visible: false
|
tooltip: catalog.i18nc("@info:tooltip", "Load the configuration of the printer into Cura")
|
||||||
|
text: catalog.i18nc("@action:button", "Activate Configuration")
|
||||||
|
visible: base.printerConnected && false
|
||||||
|
}
|
||||||
|
|
||||||
|
Button
|
||||||
|
{
|
||||||
|
tooltip: catalog.i18nc("@info:tooltip", "Send access request to the printer")
|
||||||
|
text: catalog.i18nc("@action:button", "Request Access")
|
||||||
|
onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
|
||||||
|
visible: base.printerConnected && !base.printerAcceptsCommands
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue