Add a link to a network connection troubleshooting guide

CURA-2035
This commit is contained in:
fieldOfView 2016-09-12 14:19:34 +02:00
parent 220abd2cdc
commit af4cfac6ac

View file

@ -77,14 +77,21 @@ Cura.MachineAction
Row
{
id: contentRow
width: parent.width
spacing: UM.Theme.getSize("default_margin").width
Column
{
width: parent.width * 0.5
spacing: UM.Theme.getSize("default_margin").height
ScrollView
{
id: objectListContainer
frameVisible: true
width: parent.width * 0.5
height: base.height - parent.y
width: parent.width
height: base.height - contentRow.y - discoveryTip.height
Rectangle
{
@ -142,6 +149,19 @@ Cura.MachineAction
}
}
}
Label
{
id: discoveryTip
anchors.left: parent.left
anchors.right: parent.right
wrapMode: Text.WordWrap
//: Tips label
//TODO: get actual link from webteam
text: catalog.i18nc("@label", "If your Ultimaker 3 is not listed, read the <a href='%1'>Ultimaker 3 network troubleshooting guide</a>").arg("https://ultimaker.com/en/troubleshooting");
onLinkActivated: Qt.openUrlExternally(link)
}
}
Column
{
width: parent.width * 0.5