mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Added learn more button while saving and opening UCP
CURA-11734
This commit is contained in:
parent
1eb69535bc
commit
59d395a121
2 changed files with 28 additions and 6 deletions
|
@ -35,6 +35,19 @@ UM.Dialog
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
anchors.leftMargin: UM.Theme.getSize("default_margin").height
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cura.TertiaryButton
|
||||||
|
{
|
||||||
|
id: learnMoreButton
|
||||||
|
visible: manager.isUcp
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").height
|
||||||
|
text: catalog.i18nc("@button", "Learn more")
|
||||||
|
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||||
|
isIconOnRightSide: true
|
||||||
|
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/s/article/000002979")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
|
|
|
@ -35,14 +35,23 @@ UM.Dialog
|
||||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.rightMargin: anchors.leftMargin
|
anchors.rightMargin: anchors.leftMargin
|
||||||
|
RowLayout
|
||||||
|
{
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: titleLabel
|
id: titleLabel
|
||||||
text: catalog.i18nc("@action:title Don't translate 'Universal Cura Project'", "Summary - Universal Cura Project")
|
text: catalog.i18nc("@action:title Don't translate 'Universal Cura Project'", "Summary - Universal Cura Project")
|
||||||
font: UM.Theme.getFont("large")
|
font: UM.Theme.getFont("large")
|
||||||
}
|
}
|
||||||
|
Cura.TertiaryButton
|
||||||
|
{
|
||||||
|
id: learnMoreButton
|
||||||
|
text: catalog.i18nc("@button", "Learn more")
|
||||||
|
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||||
|
isIconOnRightSide: true
|
||||||
|
onClicked: Qt.openUrlExternally("https://support.ultimaker.com/s/article/000002979")
|
||||||
|
}
|
||||||
|
}
|
||||||
UM.Label
|
UM.Label
|
||||||
{
|
{
|
||||||
id: descriptionLabel
|
id: descriptionLabel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue