Add the Buildplate.svg to the Cura icons

The icon existed only in the UM3NetworkPrinting plugin but it was also used in the ConfigurationItem.qml in Cura, so it had to be moved to the Cura icons.

CURA-8520
This commit is contained in:
Konstantinos Karmas 2021-08-30 10:45:45 +02:00
parent 8de5e1e5b9
commit 3e0b395c72
4 changed files with 6 additions and 2 deletions

View File

@ -51,7 +51,7 @@ Item
anchors.centerIn: parent anchors.centerIn: parent
color: UM.Theme.getColor("monitor_icon_primary") color: UM.Theme.getColor("monitor_icon_primary")
height: UM.Theme.getSize("medium_button_icon").width height: UM.Theme.getSize("medium_button_icon").width
source: "../svg/icons/Buildplate.svg" source: UM.Theme.getIcon("Buildplate")
width: height width: height
visible: buildplate visible: buildplate
} }

View File

@ -202,7 +202,7 @@ Button
Cura.IconWithText Cura.IconWithText
{ {
id: buildplateLabel id: buildplateLabel
source: UM.Theme.getIcon("buildplate") source: UM.Theme.getIcon("Buildplate")
text: text:
{ {
if (configuration === null) if (configuration === null)

View File

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 323 B

View File

@ -306,5 +306,9 @@
"translate": { "translate": {
"new_icon": "ArrowFourWay", "new_icon": "ArrowFourWay",
"size": "default" "size": "default"
},
"buildplate": {
"new_icon": "Buildplate",
"size": "default"
} }
} }