mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Add links to read me support pages
Note that since the support pages are not yet ready the "read more" buttons are hidden. Once the correct link is added they become visible again.
This commit is contained in:
parent
a4d9beb9c2
commit
815aadb0d7
4 changed files with 6 additions and 1 deletions
|
@ -14,6 +14,7 @@ Packages
|
|||
bannerVisible: CuraApplication.shouldShowMarketPlaceManagePackagesBanner()
|
||||
bannerIcon: "ArrowDoubleCircleRight"
|
||||
bannerBody: catalog.i18nc("@text", "Manage your Ultimaker Cura plugins and material profiles here. Make sure to keep your plugins up to date and backup your setup regularly.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlaceManagePackagesBanner();
|
||||
bannerVisible = false;
|
||||
|
|
|
@ -10,6 +10,7 @@ Packages
|
|||
bannerVisible: CuraApplication.shouldShowMarketPlaceMaterialBanner()
|
||||
bannerIcon: "Spool"
|
||||
bannerBody: catalog.i18nc("@text", "Streamline your workflow and customize your Ultimaker Cura experience with plugins contributed by our amazing community of users.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlaceMaterialBanner();
|
||||
bannerVisible = false;
|
||||
|
|
|
@ -15,6 +15,7 @@ Rectangle
|
|||
property string bannerIcon
|
||||
property string bannerBody
|
||||
property var onRemoveBanner
|
||||
property string readMoreUrl
|
||||
|
||||
visible: bannerVisible
|
||||
|
||||
|
@ -121,6 +122,7 @@ Rectangle
|
|||
|
||||
Cura.TertiaryButton
|
||||
{
|
||||
visible: readMoreUrl !== ""
|
||||
id: readMoreButton
|
||||
text: "Learn More"
|
||||
textFont: UM.Theme.getFont("default")
|
||||
|
@ -131,6 +133,6 @@ Rectangle
|
|||
isIconOnRightSide: true
|
||||
height: fontMetrics.height
|
||||
|
||||
onClicked: print("TODO")
|
||||
onClicked: Qt.openUrlExternally(readMoreUrl)
|
||||
}
|
||||
}
|
|
@ -10,6 +10,7 @@ Packages
|
|||
bannerVisible: CuraApplication.shouldShowMarketPlacePluginBanner()
|
||||
bannerIcon: "Shop"
|
||||
bannerBody: catalog.i18nc("@text", "Select and install material profiles optimised for your Ultimaker 3D printers.")
|
||||
readMoreUrl: "" // TODO add when support page is ready
|
||||
onRemoveBanner: function() {
|
||||
CuraApplication.closeMarketPlacePluginBanner();
|
||||
bannerVisible = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue