Added a 'Marketplace' icon in the header of the Toolbox

CURA-7071
This commit is contained in:
Dimitriovski 2020-01-16 16:30:11 +01:00
parent ab6effb712
commit 51ec8a539f
No known key found for this signature in database
GPG key ID: 4E62757E2B0D304D
3 changed files with 46 additions and 18 deletions

View file

@ -765,6 +765,10 @@ class Toolbox(QObject, Extension):
def materialsGenericModel(self) -> PackagesModel:
return self._materials_generic_model
@pyqtProperty(str, constant=True)
def getWebMarketplaceUrl(self) -> str:
return ApplicationMetadata.WEB_MARKETPLACE_URL
# Filter Models:
# --------------------------------------------------------------------------
@pyqtSlot(str, str, str)