mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:19:00 +08:00
Add troubleshooting link for recommended
CURA-6114
This commit is contained in:
parent
0ecd00fa1f
commit
71036abd87
@ -68,6 +68,11 @@ Item
|
|||||||
// TODO Create a reusable component with these properties to not define them separately for each component
|
// TODO Create a reusable component with these properties to not define them separately for each component
|
||||||
labelColumnWidth: parent.firstColumnWidth
|
labelColumnWidth: parent.firstColumnWidth
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RecommendedTroubleshootingGuides
|
||||||
|
{
|
||||||
|
width: parent.width
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.SettingPropertyProvider
|
UM.SettingPropertyProvider
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
// Copyright (c) 2019 Ultimaker B.V.
|
||||||
|
// Cura is released under the terms of the LGPLv3 or higher.
|
||||||
|
|
||||||
|
import QtQuick 2.10
|
||||||
|
import QtQuick.Controls 1.4
|
||||||
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
|
import UM 1.2 as UM
|
||||||
|
import Cura 1.0 as Cura
|
||||||
|
|
||||||
|
|
||||||
|
Item
|
||||||
|
{
|
||||||
|
id: tipsCell
|
||||||
|
anchors.top: adhesionCheckBox.visible ? adhesionCheckBox.bottom : (enableSupportCheckBox.visible ? supportExtruderCombobox.bottom : infillCellRight.bottom)
|
||||||
|
anchors.topMargin: Math.round(UM.Theme.getSize("sidebar_margin").height * 2)
|
||||||
|
anchors.left: parent.left
|
||||||
|
width: parent.width
|
||||||
|
height: tipsText.contentHeight * tipsText.lineCount
|
||||||
|
|
||||||
|
Label
|
||||||
|
{
|
||||||
|
id: tipsText
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("sidebar_margin").width
|
||||||
|
anchors.top: parent.top
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
|
text: catalog.i18nc("@label", "Need help improving your prints?<br>Read the <a href='%1'>Ultimaker Troubleshooting Guides</a>").arg("https://ultimaker.com/en/troubleshooting")
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
|
color: UM.Theme.getColor("text")
|
||||||
|
linkColor: UM.Theme.getColor("text_link")
|
||||||
|
onLinkActivated: Qt.openUrlExternally(link)
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user