mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
CURA-4870 Check wether the current configuration matches one of the unique configurations available on the printer output device.
Improve some elements in the UI
This commit is contained in:
parent
f779a20a6e
commit
a992487589
5 changed files with 46 additions and 12 deletions
|
@ -11,6 +11,7 @@ Column
|
|||
{
|
||||
id: extruderInfo
|
||||
property var printCoreConfiguration
|
||||
property var mainColor: "black"
|
||||
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
|
||||
|
||||
height: childrenRect.height
|
||||
|
@ -29,6 +30,7 @@ Column
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.left: parent.left
|
||||
font: UM.Theme.getFont("default")
|
||||
color: mainColor
|
||||
}
|
||||
|
||||
// Rounded item to show the extruder number
|
||||
|
@ -46,11 +48,11 @@ Column
|
|||
id: mainCircle
|
||||
anchors.fill: parent
|
||||
|
||||
anchors.centerIn: parent
|
||||
sourceSize.width: parent.width
|
||||
sourceSize.height: parent.height
|
||||
source: UM.Theme.getIcon("extruder_button")
|
||||
|
||||
color: extruderNumberText.color
|
||||
color: mainColor
|
||||
}
|
||||
|
||||
Label
|
||||
|
@ -59,6 +61,7 @@ Column
|
|||
anchors.centerIn: parent
|
||||
text: printCoreConfiguration.position + 1
|
||||
font: UM.Theme.getFont("default")
|
||||
color: mainColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,6 +73,7 @@ Column
|
|||
elide: Text.ElideRight
|
||||
width: parent.width
|
||||
font: UM.Theme.getFont("default_bold")
|
||||
color: mainColor
|
||||
}
|
||||
|
||||
Label
|
||||
|
@ -79,5 +83,6 @@ Column
|
|||
elide: Text.ElideRight
|
||||
width: parent.width
|
||||
font: UM.Theme.getFont("default")
|
||||
color: mainColor
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue