mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Merge pull request #9774 from Ultimaker/CURA-8010-fallback_icon_names
Add system to deprecate icons in the theme
This commit is contained in:
commit
08e2687c14
4 changed files with 305 additions and 2 deletions
|
@ -17,7 +17,7 @@ ColumnLayout
|
|||
// Cura version
|
||||
BackupListItemDetailsRow
|
||||
{
|
||||
iconSource: UM.Theme.getIcon("UltimakeCura")
|
||||
iconSource: UM.Theme.getIcon("UltimakerCura")
|
||||
label: catalog.i18nc("@backuplist:label", "Cura Version")
|
||||
value: backupDetailsData.metadata.cura_release
|
||||
}
|
||||
|
|
|
@ -324,7 +324,7 @@ Item
|
|||
color: UM.Theme.getColor("setting_control_button")
|
||||
hoverColor: UM.Theme.getColor("setting_control_button_hover")
|
||||
|
||||
iconSource: UM.Theme.getIcon("Formula")
|
||||
iconSource: UM.Theme.getIcon("Function")
|
||||
|
||||
onEntered: { hoverTimer.stop(); base.showTooltip(catalog.i18nc("@label", "This setting is normally calculated, but it currently has an absolute value set.\n\nClick to restore the calculated value.")) }
|
||||
onExited: base.showTooltip(base.createTooltipText())
|
||||
|
|
1
resources/themes/cura-light/icons/default/Function.svg
Normal file
1
resources/themes/cura-light/icons/default/Function.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg id="Artwork" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><polygon points="19.71 15.71 18.29 14.29 16.5 16.09 14.71 14.29 13.29 15.71 15.09 17.5 13.29 19.29 14.71 20.71 16.5 18.91 18.29 20.71 19.71 19.29 17.91 17.5 19.71 15.71"/><path d="M15.26,2a4,4,0,0,0-3.84,2.9L10.24,9H8v2H9.67L7.55,18.43a2,2,0,0,1-2,1.57H4v2H5.59a4,4,0,0,0,3.89-3.07L11.75,11H14V9H12.32l1-3.55A2,2,0,0,1,15.26,4H17V2Z"/></svg>
|
After Width: | Height: | Size: 414 B |
302
resources/themes/cura-light/icons/deprecated_icons.json
Normal file
302
resources/themes/cura-light/icons/deprecated_icons.json
Normal file
|
@ -0,0 +1,302 @@
|
|||
{
|
||||
"notice": {
|
||||
"new_icon": "Information",
|
||||
"size": "default"
|
||||
},
|
||||
"info": {
|
||||
"new_icon": "Information",
|
||||
"size": "default"
|
||||
},
|
||||
"plus": {
|
||||
"new_icon": "Plus",
|
||||
"size": "default"
|
||||
},
|
||||
"cross1": {
|
||||
"new_icon": "Cancel",
|
||||
"size": "default"
|
||||
},
|
||||
"application": {
|
||||
"new_icon": "UltimakerCura",
|
||||
"size": "default"
|
||||
},
|
||||
"printer_single": {
|
||||
"new_icon": "Printer",
|
||||
"size": "default"
|
||||
},
|
||||
"category_material": {
|
||||
"new_icon": "Spool",
|
||||
"size": "default"
|
||||
},
|
||||
"settings": {
|
||||
"new_icon": "Sliders",
|
||||
"size": "default"
|
||||
},
|
||||
"plugin": {
|
||||
"new_icon": "Plugin",
|
||||
"size": "default"
|
||||
},
|
||||
"external_link": {
|
||||
"new_icon": "LinkExternal",
|
||||
"size": "default"
|
||||
},
|
||||
"arrow_top": {
|
||||
"new_icon": "ChevronSingleUp",
|
||||
"size": "default"
|
||||
},
|
||||
"arrow_bottom": {
|
||||
"new_icon": "ChevronSingleDown",
|
||||
"size": "default"
|
||||
},
|
||||
"arrow_right": {
|
||||
"new_icon": "ChevronSingleRight",
|
||||
"size": "default"
|
||||
},
|
||||
"pos_normal": {
|
||||
"new_icon": "Infill0",
|
||||
"size": "default"
|
||||
},
|
||||
"pos_print_as_support": {
|
||||
"new_icon": "MeshTypeSupport",
|
||||
"size": "default"
|
||||
},
|
||||
"pos_modify_overlaps": {
|
||||
"new_icon": "MeshTypeIntersect",
|
||||
"size": "default"
|
||||
},
|
||||
"pos_modify_dont_support_overlap": {
|
||||
"new_icon": "MeshTypeExclude",
|
||||
"size": "default"
|
||||
},
|
||||
"minus": {
|
||||
"new_icon": "Minus",
|
||||
"size": "default"
|
||||
},
|
||||
"load": {
|
||||
"new_icon": "Folder",
|
||||
"size": "default"
|
||||
},
|
||||
"extruder_button": {
|
||||
"new_icon": "Extruder",
|
||||
"size": "medium"
|
||||
},
|
||||
"category_adhesion": {
|
||||
"new_icon": "Adhesion",
|
||||
"size": "default"
|
||||
},
|
||||
"category_machine": {
|
||||
"new_icon": "Printer",
|
||||
"size": "default"
|
||||
},
|
||||
"category_layer_height": {
|
||||
"new_icon": "PrintQuality",
|
||||
"size": "default"
|
||||
},
|
||||
"category_shell": {
|
||||
"new_icon": "PrintShell",
|
||||
"size": "default"
|
||||
},
|
||||
"category_topbottom": {
|
||||
"new_icon": "PrintTopBottom",
|
||||
"size": "default"
|
||||
},
|
||||
"category_infill": {
|
||||
"new_icon": "Infill1",
|
||||
"size": "default"
|
||||
},
|
||||
"category_speed": {
|
||||
"new_icon": "SpeedOMeter",
|
||||
"size": "default"
|
||||
},
|
||||
"category_travel": {
|
||||
"new_icon": "PrintTravel",
|
||||
"size": "default"
|
||||
},
|
||||
"category_cool": {
|
||||
"new_icon": "Fan",
|
||||
"size": "default"
|
||||
},
|
||||
"category_support": {
|
||||
"new_icon": "Support",
|
||||
"size": "default"
|
||||
},
|
||||
"category_dual": {
|
||||
"new_icon": "DualExtrusion",
|
||||
"size": "default"
|
||||
},
|
||||
"category_fixes": {
|
||||
"new_icon": "Bandage",
|
||||
"size": "default"
|
||||
},
|
||||
"category_blackmagic": {
|
||||
"new_icon": "BlackMagic",
|
||||
"size": "default"
|
||||
},
|
||||
"category_experimental": {
|
||||
"new_icon": "Experiment",
|
||||
"size": "default"
|
||||
},
|
||||
"circle_outline": {
|
||||
"new_icon": "CircleOutline",
|
||||
"size": "default"
|
||||
},
|
||||
"update": {
|
||||
"new_icon": "ArrowDoubleCircleRight",
|
||||
"size": "default"
|
||||
},
|
||||
"checked": {
|
||||
"new_icon": "CheckCircle",
|
||||
"size": "default"
|
||||
},
|
||||
"warning_light": {
|
||||
"new_icon": "Warning",
|
||||
"size": "default"
|
||||
},
|
||||
"clock": {
|
||||
"new_icon": "Clock",
|
||||
"size": "default"
|
||||
},
|
||||
"spool": {
|
||||
"new_icon": "Spool",
|
||||
"size": "default"
|
||||
},
|
||||
"warning": {
|
||||
"new_icon": "Warning",
|
||||
"size": "default"
|
||||
},
|
||||
"check": {
|
||||
"new_icon": "Check",
|
||||
"size": "default"
|
||||
},
|
||||
"pencil": {
|
||||
"new_icon": "Pencil",
|
||||
"size": "default"
|
||||
},
|
||||
"printing_guideline": {
|
||||
"new_icon": "Guide",
|
||||
"size": "default"
|
||||
},
|
||||
"favorites_star_full": {
|
||||
"new_icon": "StarFilled",
|
||||
"size": "default"
|
||||
},
|
||||
"favorites_star_empty": {
|
||||
"new_icon": "Star",
|
||||
"size": "default"
|
||||
},
|
||||
"resize": {
|
||||
"new_icon": "ThreeDots",
|
||||
"size": "default"
|
||||
},
|
||||
"gradual": {
|
||||
"new_icon": "InfillGradual",
|
||||
"size": "default"
|
||||
},
|
||||
"hollow": {
|
||||
"new_icon": "Infill0",
|
||||
"size": "default"
|
||||
},
|
||||
"sparse": {
|
||||
"new_icon": "Infill3",
|
||||
"size": "default"
|
||||
},
|
||||
"dense": {
|
||||
"new_icon": "Infill2",
|
||||
"size": "default"
|
||||
},
|
||||
"solid": {
|
||||
"new_icon": "Solid",
|
||||
"size": "default"
|
||||
},
|
||||
"reset": {
|
||||
"new_icon": "ArrowReset",
|
||||
"size": "default"
|
||||
},
|
||||
"arrow_left": {
|
||||
"new_icon": "ChevronSingleLeft",
|
||||
"size": "default"
|
||||
},
|
||||
"home": {
|
||||
"new_icon": "House",
|
||||
"size": "default"
|
||||
},
|
||||
"printer_group": {
|
||||
"new_icon": "PrinterTriple",
|
||||
"size": "medium"
|
||||
},
|
||||
"formula": {
|
||||
"new_icon": "Function",
|
||||
"size": "default"
|
||||
},
|
||||
"search": {
|
||||
"new_icon": "Magnifier",
|
||||
"size": "default"
|
||||
},
|
||||
"menu": {
|
||||
"new_icon": "Hamburger",
|
||||
"size": "default"
|
||||
},
|
||||
"view_3d": {
|
||||
"new_icon": "View3D",
|
||||
"size": "default"
|
||||
},
|
||||
"view_front": {
|
||||
"new_icon": "ViewFront",
|
||||
"size": "default"
|
||||
},
|
||||
"view_top": {
|
||||
"new_icon": "ViewTop",
|
||||
"size": "default"
|
||||
},
|
||||
"view_left": {
|
||||
"new_icon": "ViewLeft",
|
||||
"size": "default"
|
||||
},
|
||||
"view_right": {
|
||||
"new_icon": "ViewRight",
|
||||
"size": "default"
|
||||
},
|
||||
"package": {
|
||||
"new_icon": "Plugin",
|
||||
"size": "default"
|
||||
},
|
||||
"material_spool": {
|
||||
"new_icon": "Spool",
|
||||
"size": "default"
|
||||
},
|
||||
"dot": {
|
||||
"new_icon": "Dot",
|
||||
"size": "low"
|
||||
},
|
||||
"mirror": {
|
||||
"new_icon": "Mirror",
|
||||
"size": "default"
|
||||
},
|
||||
"rotate_reset": {
|
||||
"new_icon": "ArrowReset",
|
||||
"size": "default"
|
||||
},
|
||||
"rotate_layflat": {
|
||||
"new_icon": "LayFlat",
|
||||
"size": "default"
|
||||
},
|
||||
"rotate_face_layflat": {
|
||||
"new_icon": "LayFlatOnFace",
|
||||
"size": "default"
|
||||
},
|
||||
"rotate": {
|
||||
"new_icon": "Rotate",
|
||||
"size": "default"
|
||||
},
|
||||
"scale_reset": {
|
||||
"new_icon": "ArrowReset",
|
||||
"size": "default"
|
||||
},
|
||||
"scale": {
|
||||
"new_icon": "Scale",
|
||||
"size": "default"
|
||||
},
|
||||
"translate": {
|
||||
"new_icon": "ArrowFourWay",
|
||||
"size": "default"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue