#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Auxiliary.hpp>
Public Member Functions | |
| AuxiliaryPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) | |
| ~AuxiliaryPanel () | |
| void | init_bitmap () |
| void | init_tabpanel () |
| void | Split (const std::string &src, const std::string &separator, std::vector< std::string > &dest) |
| void | msw_rescale () |
| void | on_size (wxSizeEvent &event) |
| bool | Show (bool show) |
| void | init_auxiliary () |
| void | create_folder (wxString name=wxEmptyString) |
| std::string | replaceSpace (std::string s, std::string ts, std::string ns) |
| void | on_import_file (wxCommandEvent &event) |
| void | Reload (wxString aux_path, std::map< std::string, std::vector< nlohmann::json > > paths) |
| void | update_all_panel () |
| void | update_all_cover () |
| bool | built () const |
| bool | build_step () |
Public Attributes | |
| std::map< std::string, std::vector< boost::filesystem::path > > | m_paths_list |
| wxString | m_root_dir |
Protected Member Functions | |
| void | add_build_step (std::function< void()> step) |
| void | add_build_steps_of (StagedBuild &child) |
Private Member Functions | |
| wxWindow * | create_side_tools () |
| StagedBuild * | unfinished_child () const |
Private Attributes | |
| Tabbook * | m_tabpanel = {nullptr} |
| wxSizer * | m_main_sizer = {nullptr} |
| AuFolderPanel * | m_pictures_panel = {nullptr} |
| AuFolderPanel * | m_bill_of_materials_panel = {nullptr} |
| AuFolderPanel * | m_assembly_panel = {nullptr} |
| AuFolderPanel * | m_others_panel = {nullptr} |
| DesignerPanel * | m_designer_panel = {nullptr} |
| wxBitmap | m_signal_strong_img |
| wxBitmap | m_signal_middle_img |
| wxBitmap | m_signal_weak_img |
| wxBitmap | m_signal_no_img |
| wxBitmap | m_printer_img |
| wxBitmap | m_arrow_img |
| std::vector< std::function< void()> > | m_steps |
| std::vector< StagedBuild * > | m_children |
| size_t | m_next_step { 0 } |
| Slic3r::GUI::AuxiliaryPanel::AuxiliaryPanel | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| long | style = wxTAB_TRAVERSAL ) |
References init_tabpanel(), m_main_sizer, m_paths_list, m_tabpanel, on_import_file(), on_size(), style, update_all_cover(), and update_all_panel().
| Slic3r::GUI::AuxiliaryPanel::~AuxiliaryPanel | ( | ) |
|
inlineprotectedinherited |
References m_steps.
Referenced by Slic3r::GUI::StatusBasePanel::StatusBasePanel(), Slic3r::GUI::StatusPanel::StatusPanel(), add_build_steps_of(), Slic3r::GUI::CalibrationWizard::add_page_step(), Slic3r::GUI::StatusBasePanel::create_machine_control_page(), Slic3r::GUI::FlowRateWizard::create_pages(), Slic3r::GUI::PressureAdvanceWizard::create_pages(), Slic3r::GUI::AuxiliaryPanel::init_tabpanel(), and Slic3r::GUI::MonitorPanel::init_tabpanel().
|
inlineprotectedinherited |
References add_build_step(), build_step(), m_children, m_next_step, and m_steps.
Referenced by Slic3r::GUI::ProjectPanel::ProjectPanel(), Slic3r::GUI::CalibrationPanel::init_tabpanel(), and Slic3r::GUI::MonitorPanel::init_tabpanel().
|
inlineinherited |
References built(), m_next_step, m_steps, and unfinished_child().
Referenced by add_build_steps_of().
|
inlineinherited |
References m_children, m_next_step, and m_steps.
Referenced by Slic3r::GUI::StatusPanel::~StatusPanel(), build_step(), Slic3r::GUI::CalibrationPanel::show_status(), Slic3r::GUI::MonitorPanel::show_status(), Slic3r::GUI::CalibrationPanel::update_all(), and Slic3r::GUI::MonitorPanel::update_all().
| void Slic3r::GUI::AuxiliaryPanel::create_folder | ( | wxString | name = wxEmptyString | ) |
References m_root_dir.
|
private |
| void Slic3r::GUI::AuxiliaryPanel::init_auxiliary | ( | ) |
References Slic3r::encode_path(), Slic3r::Model::get_auxiliary_file_temp_path(), and Reload().
| void Slic3r::GUI::AuxiliaryPanel::init_bitmap | ( | ) |
| void Slic3r::GUI::AuxiliaryPanel::init_tabpanel | ( | ) |
References _L, Slic3r::GUI::StagedBuild::add_build_step(), ASSEMBLY_GUIDE, BILL_OF_MATERIALS, Slic3r::GUI::btn_bg_green, DESIGNER, StateColor::Disabled, StateColor::Hovered, m_assembly_panel, m_bill_of_materials_panel, m_designer_panel, m_others_panel, m_pictures_panel, m_tabpanel, MODEL_PICTURE, StateColor::Normal, OTHERS, and StateColor::Pressed.
Referenced by AuxiliaryPanel().
| void Slic3r::GUI::AuxiliaryPanel::msw_rescale | ( | ) |
References m_assembly_panel, m_bill_of_materials_panel, m_designer_panel, m_others_panel, and m_pictures_panel.
| void Slic3r::GUI::AuxiliaryPanel::on_import_file | ( | wxCommandEvent & | event | ) |
References _L, ASSEMBLY_GUIDE, BILL_OF_MATERIALS, m_paths_list, m_root_dir, MODEL_PICTURE, OTHERS, Slic3r::put_other_changes(), replaceSpace(), s_default_folders, update_all_cover(), and update_all_panel().
Referenced by AuxiliaryPanel().
| void Slic3r::GUI::AuxiliaryPanel::on_size | ( | wxSizeEvent & | event | ) |
Referenced by AuxiliaryPanel().
| void Slic3r::GUI::AuxiliaryPanel::Reload | ( | wxString | aux_path, |
| std::map< std::string, std::vector< nlohmann::json > > | paths ) |
References m_designer_panel, m_paths_list, m_root_dir, m_tabpanel, update_all_cover(), and update_all_panel().
Referenced by init_auxiliary().
| std::string Slic3r::GUI::AuxiliaryPanel::replaceSpace | ( | std::string | s, |
| std::string | ts, | ||
| std::string | ns ) |
Referenced by on_import_file().
| bool Slic3r::GUI::AuxiliaryPanel::Show | ( | bool | show | ) |
| void Slic3r::GUI::AuxiliaryPanel::Split | ( | const std::string & | src, |
| const std::string & | separator, | ||
| std::vector< std::string > & | dest ) |
|
inlineprivateinherited |
References m_children.
Referenced by build_step().
| void Slic3r::GUI::AuxiliaryPanel::update_all_cover | ( | ) |
References m_paths_list, and m_pictures_panel.
Referenced by AuxiliaryPanel(), on_import_file(), and Reload().
| void Slic3r::GUI::AuxiliaryPanel::update_all_panel | ( | ) |
References m_assembly_panel, m_bill_of_materials_panel, m_others_panel, m_paths_list, and m_pictures_panel.
Referenced by AuxiliaryPanel(), on_import_file(), and Reload().
|
private |
|
private |
Referenced by init_tabpanel(), msw_rescale(), and update_all_panel().
|
private |
Referenced by init_tabpanel(), msw_rescale(), and update_all_panel().
|
privateinherited |
Referenced by add_build_steps_of(), built(), and unfinished_child().
|
private |
Referenced by init_tabpanel(), msw_rescale(), and Reload().
|
private |
Referenced by AuxiliaryPanel().
|
privateinherited |
Referenced by add_build_steps_of(), build_step(), and built().
|
private |
Referenced by init_tabpanel(), msw_rescale(), and update_all_panel().
| std::map<std::string, std::vector<boost::filesystem::path> > Slic3r::GUI::AuxiliaryPanel::m_paths_list |
Referenced by AuxiliaryPanel(), on_import_file(), Reload(), update_all_cover(), and update_all_panel().
|
private |
Referenced by init_tabpanel(), msw_rescale(), update_all_cover(), and update_all_panel().
|
private |
| wxString Slic3r::GUI::AuxiliaryPanel::m_root_dir |
Referenced by create_folder(), on_import_file(), and Reload().
|
private |
|
private |
|
private |
|
private |
|
privateinherited |
Referenced by add_build_step(), add_build_steps_of(), build_step(), and built().
Referenced by AuxiliaryPanel(), init_tabpanel(), and Reload().