mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Change confusing naming of section enable switch.
CURA-9793
This commit is contained in:
parent
4f8943412f
commit
dbf27a432f
4 changed files with 11 additions and 11 deletions
|
@ -14,9 +14,9 @@ RecommendedSettingSection
|
||||||
|
|
||||||
title: catalog.i18nc("@label", "Adhesion")
|
title: catalog.i18nc("@label", "Adhesion")
|
||||||
icon: UM.Theme.getIcon("Adhesion")
|
icon: UM.Theme.getIcon("Adhesion")
|
||||||
enableSectionVisible: platformAdhesionType.properties.enabled == "True"
|
enableSectionSwitchVisible: platformAdhesionType.properties.enabled == "True"
|
||||||
enableSectionChecked: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none"
|
enableSectionSwitchChecked: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none"
|
||||||
enableSectionEnabled: recommendedPrintSetup.settingsEnabled
|
enableSectionSwitchEnabled: recommendedPrintSetup.settingsEnabled
|
||||||
|
|
||||||
property var curaRecommendedMode: Cura.RecommendedMode {}
|
property var curaRecommendedMode: Cura.RecommendedMode {}
|
||||||
|
|
||||||
|
|
|
@ -13,9 +13,9 @@ Item
|
||||||
property alias title: sectionTitle.text
|
property alias title: sectionTitle.text
|
||||||
property alias icon: sectionTitle.source
|
property alias icon: sectionTitle.source
|
||||||
|
|
||||||
property alias enableSectionVisible: enableSectionSwitch.visible
|
property alias enableSectionSwitchVisible: enableSectionSwitch.visible
|
||||||
property alias enableSectionChecked: enableSectionSwitch.checked
|
property alias enableSectionSwitchChecked: enableSectionSwitch.checked
|
||||||
property alias enableSectionEnabled: enableSectionSwitch.enabled
|
property alias enableSectionSwitchEnabled: enableSectionSwitch.enabled
|
||||||
property var enableSectionClicked: { return }
|
property var enableSectionClicked: { return }
|
||||||
property int leftColumnWidth: Math.floor(width * 0.35)
|
property int leftColumnWidth: Math.floor(width * 0.35)
|
||||||
property var toolTipText: ""
|
property var toolTipText: ""
|
||||||
|
|
|
@ -14,8 +14,8 @@ RecommendedSettingSection
|
||||||
|
|
||||||
title: catalog.i18nc("@label", "Strength")
|
title: catalog.i18nc("@label", "Strength")
|
||||||
icon: UM.Theme.getIcon("Hammer")
|
icon: UM.Theme.getIcon("Hammer")
|
||||||
enableSectionVisible: false
|
enableSectionSwitchVisible: false
|
||||||
enableSectionEnabled: false
|
enableSectionSwitchEnabled: false
|
||||||
|
|
||||||
UM.SettingPropertyProvider
|
UM.SettingPropertyProvider
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,9 +15,9 @@ RecommendedSettingSection
|
||||||
|
|
||||||
title: catalog.i18nc("@label", "Support")
|
title: catalog.i18nc("@label", "Support")
|
||||||
icon: UM.Theme.getIcon("Support")
|
icon: UM.Theme.getIcon("Support")
|
||||||
enableSectionVisible: supportEnabled.properties.enabled == "True"
|
enableSectionSwitchVisible: supportEnabled.properties.enabled == "True"
|
||||||
enableSectionChecked: supportEnabled.properties.value == "True"
|
enableSectionSwitchChecked: supportEnabled.properties.value == "True"
|
||||||
enableSectionEnabled: recommendedPrintSetup.settingsEnabled
|
enableSectionSwitchEnabled: recommendedPrintSetup.settingsEnabled
|
||||||
toolTipText: catalog.i18nc("@label", "Generate structures to support parts of the model which have overhangs. Without these structures, such parts would collapse during printing.")
|
toolTipText: catalog.i18nc("@label", "Generate structures to support parts of the model which have overhangs. Without these structures, such parts would collapse during printing.")
|
||||||
|
|
||||||
function onEnableSectionChanged(state) {
|
function onEnableSectionChanged(state) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue