mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:38:58 +08:00
Add rabithole links to cluster monitor page
CL-896
This commit is contained in:
parent
e2bcf4dfa8
commit
3ce9b481a2
@ -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…
x
Reference in New Issue
Block a user