ENH: disable the nozzle settings in Studio

jira: [STUDIO-11489]
Change-Id: Id26f06d312ea04ba3aaea9ec4539860f72533078
(cherry picked from commit 8fb88001af3cea8c94adb1f1ace00795cb4be299)
This commit is contained in:
xin.zhang
2025-04-10 20:34:42 +08:00
committed by Noisyfox
parent b64d05608b
commit b18337f0a6
13 changed files with 68 additions and 20 deletions

View File

@@ -39,6 +39,7 @@ protected:
ComboBox* nozzle_type_checkbox;
ComboBox* nozzle_diameter_checkbox;
Label *change_nozzle_tips;
ComboBox* multiple_left_nozzle_type_checkbox;
ComboBox *multiple_left_nozzle_diameter_checkbox;
@@ -48,6 +49,8 @@ protected:
ComboBox *multiple_right_nozzle_diameter_checkbox;
ComboBox *multiple_right_nozzle_flow_checkbox;
Label *multiple_change_nozzle_tips;
wxPanel *single_panel;
wxPanel *multiple_panel;
@@ -67,6 +70,10 @@ public:
void on_dpi_changed(const wxRect& suggested_rect) override;
void update_machine_obj(MachineObject* obj_);
bool Show(bool show) override;
private:
void EnableEditing(bool enable);
};