mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -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")
|
||||
icon: UM.Theme.getIcon("Adhesion")
|
||||
enableSectionVisible: platformAdhesionType.properties.enabled == "True"
|
||||
enableSectionChecked: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none"
|
||||
enableSectionEnabled: recommendedPrintSetup.settingsEnabled
|
||||
enableSectionSwitchVisible: platformAdhesionType.properties.enabled == "True"
|
||||
enableSectionSwitchChecked: platformAdhesionType.properties.value != "skirt" && platformAdhesionType.properties.value != "none"
|
||||
enableSectionSwitchEnabled: recommendedPrintSetup.settingsEnabled
|
||||
|
||||
property var curaRecommendedMode: Cura.RecommendedMode {}
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@ Item
|
|||
property alias title: sectionTitle.text
|
||||
property alias icon: sectionTitle.source
|
||||
|
||||
property alias enableSectionVisible: enableSectionSwitch.visible
|
||||
property alias enableSectionChecked: enableSectionSwitch.checked
|
||||
property alias enableSectionEnabled: enableSectionSwitch.enabled
|
||||
property alias enableSectionSwitchVisible: enableSectionSwitch.visible
|
||||
property alias enableSectionSwitchChecked: enableSectionSwitch.checked
|
||||
property alias enableSectionSwitchEnabled: enableSectionSwitch.enabled
|
||||
property var enableSectionClicked: { return }
|
||||
property int leftColumnWidth: Math.floor(width * 0.35)
|
||||
property var toolTipText: ""
|
||||
|
|
|
@ -14,8 +14,8 @@ RecommendedSettingSection
|
|||
|
||||
title: catalog.i18nc("@label", "Strength")
|
||||
icon: UM.Theme.getIcon("Hammer")
|
||||
enableSectionVisible: false
|
||||
enableSectionEnabled: false
|
||||
enableSectionSwitchVisible: false
|
||||
enableSectionSwitchEnabled: false
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
|
|
|
@ -15,9 +15,9 @@ RecommendedSettingSection
|
|||
|
||||
title: catalog.i18nc("@label", "Support")
|
||||
icon: UM.Theme.getIcon("Support")
|
||||
enableSectionVisible: supportEnabled.properties.enabled == "True"
|
||||
enableSectionChecked: supportEnabled.properties.value == "True"
|
||||
enableSectionEnabled: recommendedPrintSetup.settingsEnabled
|
||||
enableSectionSwitchVisible: supportEnabled.properties.enabled == "True"
|
||||
enableSectionSwitchChecked: supportEnabled.properties.value == "True"
|
||||
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.")
|
||||
|
||||
function onEnableSectionChanged(state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue