Implementation of File->New project menu item

This commit is contained in:
Enrico Turri 2019-05-14 15:00:24 +02:00
parent 11662f87b8
commit f54fd10897
3 changed files with 71 additions and 17 deletions

View file

@ -61,6 +61,7 @@ class MainFrame : public DPIFrame
void on_presets_changed(SimpleEvent&);
void on_value_changed(wxCommandEvent&);
bool can_start_new_project() const;
bool can_save() const;
bool can_export_model() const;
bool can_export_supports() const;
@ -71,6 +72,7 @@ class MainFrame : public DPIFrame
bool can_deselect() const;
bool can_delete() const;
bool can_delete_all() const;
bool can_reslice() const;
// MenuBar items changeable in respect to printer technology
enum MenuItems
@ -91,6 +93,8 @@ public:
Plater* plater() { return m_plater; }
void update_title();
void init_tabpanel();
void create_preset_tabs();
void add_created_tab(Tab* panel);