CURA-5536 Add the icon indicating when a plugin is already installed.

This commit is contained in:
Diego Prado Gesto 2018-07-12 16:42:48 +02:00
parent 461b191648
commit 1b6c172e6d
2 changed files with 23 additions and 0 deletions

View file

@ -40,6 +40,21 @@ Item
source: model.icon_url || "../images/logobot.svg"
mipmap: true
}
UM.RecolorImage
{
width: (parent.width * 0.4) | 0
height: (parent.height * 0.4) | 0
anchors
{
bottom: parent.bottom
right: parent.right
}
sourceSize.width: width
sourceSize.height: height
visible: toolbox.isInstalled(model.id)
color: UM.Theme.getColor("primary")
source: "../images/installed_check.svg"
}
}
Column
{