mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-02 07:11:22 -07:00
Add custom ColorDialog.qml with simple hex value selector.
Cura-8681
This commit is contained in:
parent
2e1f2a37a3
commit
9bad66b6ce
1 changed files with 6 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ Item
|
||||||
|
|
||||||
// popup dialog to select a new color
|
// popup dialog to select a new color
|
||||||
// if successful it sets the properties.color_code value to the new color
|
// if successful it sets the properties.color_code value to the new color
|
||||||
ColorDialog
|
UM.ColorDialog
|
||||||
{
|
{
|
||||||
id: colorDialog
|
id: colorDialog
|
||||||
color: properties.color_code
|
color: properties.color_code
|
||||||
|
|
@ -569,6 +569,11 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getMetaDataEntry(entry_name)
|
||||||
|
{
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
function setMaterialPreferenceValue(material_guid, entry_name, new_value)
|
function setMaterialPreferenceValue(material_guid, entry_name, new_value)
|
||||||
{
|
{
|
||||||
if(!(material_guid in materialPreferenceValues))
|
if(!(material_guid in materialPreferenceValues))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue