From f6c48fdf07b1038107031885331bb7eb6e9e9635 Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Mon, 24 Jan 2022 14:20:28 +0100 Subject: [PATCH] Rename EmptyCheck -> CheckMark --- resources/qml/CheckBoxWithTooltip.qml | 2 +- resources/qml/Settings/SettingCheckBox.qml | 2 +- resources/qml/Widgets/MenuItem.qml | 2 +- .../cura-light/icons/low/{EmptyCheck.svg => CheckMark.svg} | 0 resources/themes/cura-light/styles.qml | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename resources/themes/cura-light/icons/low/{EmptyCheck.svg => CheckMark.svg} (100%) diff --git a/resources/qml/CheckBoxWithTooltip.qml b/resources/qml/CheckBoxWithTooltip.qml index 60315a05f0..dae742cd86 100644 --- a/resources/qml/CheckBoxWithTooltip.qml +++ b/resources/qml/CheckBoxWithTooltip.qml @@ -32,7 +32,7 @@ CheckBox width: UM.Theme.getSize("checkbox_mark").width sourceSize.height: width color: UM.Theme.getColor("checkbox_mark") - source: UM.Theme.getIcon("EmptyCheck", "low") + source: UM.Theme.getIcon("CheckMark", "low") opacity: checkbox.checked Behavior on opacity { NumberAnimation { duration: 100; } } } diff --git a/resources/qml/Settings/SettingCheckBox.qml b/resources/qml/Settings/SettingCheckBox.qml index 5f5d44700b..64fd460d1c 100644 --- a/resources/qml/Settings/SettingCheckBox.qml +++ b/resources/qml/Settings/SettingCheckBox.qml @@ -151,7 +151,7 @@ SettingItem width: UM.Theme.getSize("checkbox_mark").width sourceSize.height: width color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text"); - source: UM.Theme.getIcon("EmptyCheck", "low") + source: UM.Theme.getIcon("CheckMark", "low") opacity: control.checked ? 1 : 0 Behavior on opacity { NumberAnimation { duration: 100; } } } diff --git a/resources/qml/Widgets/MenuItem.qml b/resources/qml/Widgets/MenuItem.qml index b937687086..48570424df 100644 --- a/resources/qml/Widgets/MenuItem.qml +++ b/resources/qml/Widgets/MenuItem.qml @@ -37,7 +37,7 @@ MenuItem anchors.verticalCenter: parent.verticalCenter anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width - source: UM.Theme.getIcon("EmptyCheck", "low") + source: UM.Theme.getIcon("CheckMark", "low") color: UM.Theme.getColor("setting_control_text") } diff --git a/resources/themes/cura-light/icons/low/EmptyCheck.svg b/resources/themes/cura-light/icons/low/CheckMark.svg similarity index 100% rename from resources/themes/cura-light/icons/low/EmptyCheck.svg rename to resources/themes/cura-light/icons/low/CheckMark.svg diff --git a/resources/themes/cura-light/styles.qml b/resources/themes/cura-light/styles.qml index 84ba65393e..e87ec3e825 100755 --- a/resources/themes/cura-light/styles.qml +++ b/resources/themes/cura-light/styles.qml @@ -422,7 +422,7 @@ QtObject width: UM.Theme.getSize("checkbox_mark").width sourceSize.height: width color: UM.Theme.getColor("checkbox_mark") - source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("EmptyCheck", "low") + source: control.exclusiveGroup ? UM.Theme.getIcon("Dot") : UM.Theme.getIcon("CheckMark", "low") opacity: control.checked Behavior on opacity { NumberAnimation { duration: 100; } } } @@ -472,7 +472,7 @@ QtObject } else { - return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("EmptyCheck", "low"); + return control.exclusiveGroup ? UM.Theme.getIcon("Dot", "low") : UM.Theme.getIcon("CheckMark", "low"); } } opacity: control.checked