mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 19:35:53 +08:00
Merge pull request #10964 from Ultimaker/CURA-8563_Easy_navigation_to_Cloud_marketplace
[Cura 8563] - Easy navigation to cloud marketplace
This commit is contained in:
commit
f1e337c9b2
@ -19,6 +19,7 @@ Packages
|
|||||||
UM.Preferences.setValue("cura/market_place_show_manage_packages_banner", false);
|
UM.Preferences.setValue("cura/market_place_show_manage_packages_banner", false);
|
||||||
bannerVisible = false;
|
bannerVisible = false;
|
||||||
}
|
}
|
||||||
|
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/plugins?utm_source=cura&utm_medium=software&utm_campaign=marketplace-search-plugins-browser"
|
||||||
|
|
||||||
model: Marketplace.LocalPackageList
|
model: Marketplace.LocalPackageList
|
||||||
{
|
{
|
||||||
|
@ -89,7 +89,7 @@ Window
|
|||||||
RowLayout
|
RowLayout
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("button_icon").height + UM.Theme.getSize("default_margin").height
|
height: UM.Theme.getSize("button_icon").height
|
||||||
spacing: UM.Theme.getSize("thin_margin").width
|
spacing: UM.Theme.getSize("thin_margin").width
|
||||||
|
|
||||||
Rectangle
|
Rectangle
|
||||||
@ -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.
|
// Page contents.
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
|
@ -16,6 +16,7 @@ Packages
|
|||||||
UM.Preferences.setValue("cura/market_place_show_material_banner", false);
|
UM.Preferences.setValue("cura/market_place_show_material_banner", false);
|
||||||
bannerVisible = false;
|
bannerVisible = false;
|
||||||
}
|
}
|
||||||
|
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/materials?utm_source=cura&utm_medium=software&utm_campaign=marketplace-search-materials-browser"
|
||||||
|
|
||||||
model: Marketplace.RemotePackageList
|
model: Marketplace.RemotePackageList
|
||||||
{
|
{
|
||||||
|
@ -11,6 +11,7 @@ ListView
|
|||||||
id: packages
|
id: packages
|
||||||
|
|
||||||
property string pageTitle
|
property string pageTitle
|
||||||
|
property string searchInBrowserUrl
|
||||||
property bool bannerVisible
|
property bool bannerVisible
|
||||||
property var bannerIcon
|
property var bannerIcon
|
||||||
property string bannerText
|
property string bannerText
|
||||||
|
@ -16,6 +16,7 @@ Packages
|
|||||||
UM.Preferences.setValue("cura/market_place_show_plugin_banner", false)
|
UM.Preferences.setValue("cura/market_place_show_plugin_banner", false)
|
||||||
bannerVisible = false;
|
bannerVisible = false;
|
||||||
}
|
}
|
||||||
|
searchInBrowserUrl: "https://marketplace.ultimaker.com/app/cura/plugins?utm_source=cura&utm_medium=software&utm_campaign=marketplace-search-plugins-browser"
|
||||||
|
|
||||||
model: Marketplace.RemotePackageList
|
model: Marketplace.RemotePackageList
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user