mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +08:00
Change style of Add/Remove printers link in Monitor tab
This commit is contained in:
parent
6225c12a9e
commit
aa8057e80c
@ -52,13 +52,19 @@ Component
|
|||||||
{
|
{
|
||||||
id: addRemovePrintersLabel
|
id: addRemovePrintersLabel
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
text: "Add / remove printers"
|
text: catalog.i18nc("@label link to connect manager", "Add/Remove printers")
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
linkColor: UM.Theme.getColor("text_link")
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
anchors.fill: addRemovePrintersLabel
|
anchors.fill: addRemovePrintersLabel
|
||||||
|
hoverEnabled: true
|
||||||
onClicked: Cura.MachineManager.printerOutputDevices[0].openPrinterControlPanel()
|
onClicked: Cura.MachineManager.printerOutputDevices[0].openPrinterControlPanel()
|
||||||
|
onEntered: addRemovePrintersLabel.font.underline = true
|
||||||
|
onExited: addRemovePrintersLabel.font.underline = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user