Просмотр исходного кода

Merge pull request #4268 from smartavionics/mb-extruder-cooling-fan-number-gui

Added extruder setting field for cooling fan number.
alekseisasin 6 лет назад
Родитель
Сommit
742f135733
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      plugins/MachineSettingsAction/MachineSettingsAction.qml

+ 12 - 0
plugins/MachineSettingsAction/MachineSettingsAction.qml

@@ -435,6 +435,18 @@ Cura.MachineAction
                             property bool allowNegative: true
                         }
 
+                        Loader
+                        {
+                            id: extruderCoolingFanNumberField
+                            sourceComponent: numericTextFieldWithUnit
+                            property string settingKey: "machine_extruder_cooling_fan_number"
+                            property string label: catalog.i18nc("@label", "Cooling Fan Number")
+                            property string unit: catalog.i18nc("@label", "")
+                            property bool isExtruderSetting: true
+                            property bool forceUpdateOnChange: true
+                            property bool allowNegative: false
+                        }
+
                         Item { width: UM.Theme.getSize("default_margin").width; height: UM.Theme.getSize("default_margin").height }
 
                         Row