mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Add button to visit plug-in website
There are a lot of buttons leading to websites now: An arrow leading to the author website. An author name leading to the author website. A 'read more' label leading to the plug-in website and this new button leading to the plug-in website. Maybe we should raise this with the designer. Contributes to issue CURA-8565.
This commit is contained in:
parent
09b4bd2ac2
commit
ffd1a4d812
2 changed files with 13 additions and 0 deletions
|
@ -406,6 +406,16 @@ Rectangle
|
|||
color: UM.Theme.getColor("text")
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
text: catalog.i18nc("@button", "Visit plug-in website")
|
||||
iconSource: UM.Theme.getIcon("Globe")
|
||||
outlineColor: "transparent"
|
||||
onClicked: Qt.openUrlExternally(packageData.packageInfoUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue