mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Change style of Add/Remove printers link in Monitor tab
This commit is contained in:
parent
6225c12a9e
commit
aa8057e80c
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue