mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07:00
Easy navigation to Cloud marketplace
CURA-8563
This commit is contained in:
parent
55f9771dd4
commit
d96ba0dcf3
5 changed files with 15 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ Packages
|
|||
UM.Preferences.setValue("cura/market_place_show_manage_packages_banner", false);
|
||||
bannerVisible = false;
|
||||
}
|
||||
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/plugins"
|
||||
|
||||
model: Marketplace.LocalPackageList
|
||||
{
|
||||
|
|
|
|||
|
|
@ -162,6 +162,17 @@ Window
|
|||
}
|
||||
}
|
||||
|
||||
Cura.TertiaryButton
|
||||
{
|
||||
text: catalog.i18nc("@info", "Search in the browser")
|
||||
iconSource: UM.Theme.getIcon("LinkExternal")
|
||||
|
||||
isIconOnRightSide: true
|
||||
font: UM.Theme.getFont("default")
|
||||
|
||||
onClicked: content.item && Qt.openUrlExternally(content.item.searchInBrowserUrl)
|
||||
}
|
||||
|
||||
// Page contents.
|
||||
Rectangle
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Packages
|
|||
UM.Preferences.setValue("cura/market_place_show_material_banner", false);
|
||||
bannerVisible = false;
|
||||
}
|
||||
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/materials"
|
||||
|
||||
model: Marketplace.RemotePackageList
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ ListView
|
|||
id: packages
|
||||
|
||||
property string pageTitle
|
||||
property string searchInBrowserUrl
|
||||
property bool bannerVisible
|
||||
property var bannerIcon
|
||||
property string bannerText
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ Packages
|
|||
UM.Preferences.setValue("cura/market_place_show_plugin_banner", false)
|
||||
bannerVisible = false;
|
||||
}
|
||||
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/plugins"
|
||||
|
||||
model: Marketplace.RemotePackageList
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue