#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/MultiMachinePage.hpp>
◆ MultiMachinePage()
| Slic3r::GUI::MultiMachinePage::MultiMachinePage |
( |
wxWindow * | parent, |
|
|
wxWindowID | id = wxID_ANY, |
|
|
const wxPoint & | pos = wxDefaultPosition, |
|
|
const wxSize & | size = wxDefaultSize, |
|
|
long | style = wxTAB_TRAVERSAL ) |
36 : wxPanel(parent,
id, pos, size,
style)
37{
38 SetBackgroundColour(*wxWHITE);
43 Layout();
44 Fit();
45
46 wxGetApp().UpdateDarkUIWin(this);
47
50}
#define style
Definition WipeTowerDialog.cpp:101
wxSizer * m_main_sizer
Definition MultiMachinePage.hpp:40
Tabbook * m_tabpanel
Definition MultiMachinePage.hpp:44
void init_timer()
Definition MultiMachinePage.cpp:119
void init_tabpanel()
Definition MultiMachinePage.cpp:101
void on_timer(wxTimerEvent &event)
Definition MultiMachinePage.cpp:127
References init_tabpanel(), init_timer(), m_main_sizer, m_tabpanel, on_timer(), and style.
◆ ~MultiMachinePage()
| Slic3r::GUI::MultiMachinePage::~MultiMachinePage |
( |
| ) |
|
53{
57}
wxTimer * m_refresh_timer
Definition MultiMachinePage.hpp:39
References m_refresh_timer.
◆ clear_page()
| void Slic3r::GUI::MultiMachinePage::clear_page |
( |
| ) |
|
135{
139}
LocalTaskManagerPage * m_local_task_manager
Definition MultiMachinePage.hpp:41
MultiMachineManagerPage * m_machine_manager
Definition MultiMachinePage.hpp:43
CloudTaskManagerPage * m_cloud_task_manager
Definition MultiMachinePage.hpp:42
References m_cloud_task_manager, m_local_task_manager, and m_machine_manager.
◆ ensure()
static Self * ensure()
Definition Lazy.hpp:186
◆ if_built()
◆ init_tabpanel()
| void Slic3r::GUI::MultiMachinePage::init_tabpanel |
( |
| ) |
|
102{
103 auto m_side_tools = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxSize(FromDIP(220), FromDIP(18)));
104 wxBoxSizer* sizer_side_tools = new wxBoxSizer(wxHORIZONTAL);
105 sizer_side_tools->Add(m_side_tools, 1, wxEXPAND, 0);
106 m_tabpanel =
new Tabbook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, sizer_side_tools, wxNB_LEFT | wxTAB_TRAVERSAL | wxNB_NOPAGETHEME);
107 m_tabpanel->SetBackgroundColour(wxColour(
"#FEFFFF"));
108 m_tabpanel->Bind(wxEVT_BOOKCTRL_PAGE_CHANGED, [](wxBookCtrlEvent& e) {; });
109
113
117}
#define _L(s)
Definition OBJ.cpp:34
References _L, m_cloud_task_manager, m_local_task_manager, m_machine_manager, and m_tabpanel.
Referenced by MultiMachinePage().
◆ init_timer()
| void Slic3r::GUI::MultiMachinePage::init_timer |
( |
| ) |
|
◆ jump_to_send_page()
| void Slic3r::GUI::MultiMachinePage::jump_to_send_page |
( |
| ) |
|
◆ msw_rescale()
| void Slic3r::GUI::MultiMachinePage::msw_rescale |
( |
| ) |
|
◆ on_sys_color_changed()
| void Slic3r::GUI::MultiMachinePage::on_sys_color_changed |
( |
| ) |
|
◆ on_timer()
| void Slic3r::GUI::MultiMachinePage::on_timer |
( |
wxTimerEvent & | event | ) |
|
◆ Show()
| bool Slic3r::GUI::MultiMachinePage::Show |
( |
bool | show | ) |
|
84{
85 if (show) {
90 }
91 else {
93 }
94
96 if (page)
97 page->Show(show);
98 return wxPanel::Show(show);
99}
References m_refresh_timer, and m_tabpanel.
◆ when_built()
◆ m_cloud_task_manager
◆ m_local_task_manager
◆ m_machine_manager
◆ m_main_sizer
| wxSizer* Slic3r::GUI::MultiMachinePage::m_main_sizer { nullptr } |
|
private |
◆ m_refresh_timer
| wxTimer* Slic3r::GUI::MultiMachinePage::m_refresh_timer = nullptr |
|
private |
◆ m_tabpanel
◆ s_lazy
|
|
inlinestaticprivateinherited |
The documentation for this class was generated from the following files: