mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Remove the link to show the compatibility chart
Actually it only made sense for ultimaker materials. Now that we can include instruction link in every materials, a specific link for every material can be used instead. Contributes to CURA-6423.
This commit is contained in:
parent
29a55c2953
commit
9594545f2c
1 changed files with 0 additions and 53 deletions
|
@ -175,59 +175,6 @@ Cura.ExpandablePopup
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
|
||||||
{
|
|
||||||
height: visible ? childrenRect.height: 0
|
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
width: childrenRect.width + UM.Theme.getSize("default_margin").width
|
|
||||||
visible: popupItem.configuration_method == ConfigurationMenu.ConfigurationMethod.Custom
|
|
||||||
UM.RecolorImage
|
|
||||||
{
|
|
||||||
id: externalLinkIcon
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
height: materialInfoLabel.height
|
|
||||||
width: height
|
|
||||||
sourceSize.height: width
|
|
||||||
color: UM.Theme.getColor("text_link")
|
|
||||||
source: UM.Theme.getIcon("external_link")
|
|
||||||
}
|
|
||||||
|
|
||||||
Label
|
|
||||||
{
|
|
||||||
id: materialInfoLabel
|
|
||||||
wrapMode: Text.WordWrap
|
|
||||||
text: catalog.i18nc("@label", "See the material compatibility chart")
|
|
||||||
font: UM.Theme.getFont("default")
|
|
||||||
color: UM.Theme.getColor("text_link")
|
|
||||||
linkColor: UM.Theme.getColor("text_link")
|
|
||||||
anchors.left: externalLinkIcon.right
|
|
||||||
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
|
||||||
renderType: Text.NativeRendering
|
|
||||||
|
|
||||||
MouseArea
|
|
||||||
{
|
|
||||||
anchors.fill: parent
|
|
||||||
hoverEnabled: true
|
|
||||||
onClicked:
|
|
||||||
{
|
|
||||||
// open the material URL with web browser
|
|
||||||
var url = "https://ultimaker.com/incoming-links/cura/material-compatibilty"
|
|
||||||
Qt.openUrlExternally(url)
|
|
||||||
}
|
|
||||||
onEntered:
|
|
||||||
{
|
|
||||||
materialInfoLabel.font.underline = true
|
|
||||||
}
|
|
||||||
onExited:
|
|
||||||
{
|
|
||||||
materialInfoLabel.font.underline = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
id: separator
|
id: separator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue