mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
CURA-5536 Add the icon indicating when a plugin is already installed.
This commit is contained in:
parent
461b191648
commit
1b6c172e6d
2 changed files with 23 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue