mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Add rabithole links to cluster monitor page
CL-896
This commit is contained in:
parent
e2bcf4dfa8
commit
3ce9b481a2
2 changed files with 43 additions and 0 deletions
|
@ -45,8 +45,30 @@ Component
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
id: managePrintersLabel
|
||||||
|
anchors.rightMargin: 4 * UM.Theme.getSize("default_margin").width
|
||||||
|
anchors.right: printerScrollView.right
|
||||||
|
anchors.bottom: printingLabel.bottom
|
||||||
|
text: catalog.i18nc("@label link to connect manager", "Manage printers")
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("primary")
|
||||||
|
linkColor: UM.Theme.getColor("primary")
|
||||||
|
}
|
||||||
|
|
||||||
|
MouseArea
|
||||||
|
{
|
||||||
|
anchors.fill: managePrintersLabel
|
||||||
|
hoverEnabled: true
|
||||||
|
onClicked: Cura.MachineManager.printerOutputDevices[0].openPrinterControlPanel()
|
||||||
|
onEntered: managePrintersLabel.font.underline = true
|
||||||
|
onExited: managePrintersLabel.font.underline = false
|
||||||
|
}
|
||||||
|
|
||||||
ScrollView
|
ScrollView
|
||||||
{
|
{
|
||||||
|
id: printerScrollView
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: printingLabel.bottom
|
top: printingLabel.bottom
|
||||||
|
|
|
@ -40,6 +40,27 @@ Component
|
||||||
visible: OutputDevice.printers.length == 0
|
visible: OutputDevice.printers.length == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
id: manageQueueLabel
|
||||||
|
anchors.rightMargin: 5 * UM.Theme.getSize("default_margin").width
|
||||||
|
anchors.right: queuedPrintJobs.right
|
||||||
|
anchors.bottom: queuedLabel.bottom
|
||||||
|
text: catalog.i18nc("@label link to connect manager", "Manage queue")
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("primary")
|
||||||
|
linkColor: UM.Theme.getColor("primary")
|
||||||
|
}
|
||||||
|
|
||||||
|
MouseArea
|
||||||
|
{
|
||||||
|
anchors.fill: manageQueueLabel
|
||||||
|
hoverEnabled: true
|
||||||
|
onClicked: Cura.MachineManager.printerOutputDevices[0].openPrintJobControlPanel()
|
||||||
|
onEntered: manageQueueLabel.font.underline = true
|
||||||
|
onExited: manageQueueLabel.font.underline = false
|
||||||
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
id: queuedLabel
|
id: queuedLabel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue