#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/SelectMachinePop.hpp>
Public Member Functions | |
| MachineObjectPanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
| ~MachineObjectPanel () | |
| void | show_bind_dialog () |
| void | set_printer_state (PrinterState state) |
| void | show_printer_bind (bool show, PrinterBindState state) |
| void | show_edit_printer_name (bool show) |
| void | update_machine_info (MachineObject *info, bool is_my_devices=false) |
Protected Member Functions | |
| void | OnPaint (wxPaintEvent &event) |
| void | render (wxDC &dc) |
| void | doRender (wxDC &dc) |
| void | on_mouse_enter (wxMouseEvent &evt) |
| void | on_mouse_leave (wxMouseEvent &evt) |
| void | on_mouse_left_up (wxMouseEvent &evt) |
Protected Attributes | |
| wxStaticBitmap * | m_bitmap_info |
| wxStaticBitmap * | m_bitmap_bind |
Private Attributes | |
| bool | m_is_my_devices {false} |
| bool | m_show_edit {false} |
| bool | m_show_bind {false} |
| bool | m_hover {false} |
| bool | m_is_macos_special_version {false} |
| PrinterBindState | m_bind_state |
| PrinterState | m_state |
| ScalableBitmap | m_unbind_img |
| ScalableBitmap | m_edit_name_img |
| ScalableBitmap | m_select_unbind_img |
| ScalableBitmap | m_printer_status_offline |
| ScalableBitmap | m_printer_status_busy |
| ScalableBitmap | m_printer_status_idle |
| ScalableBitmap | m_printer_status_lock |
| ScalableBitmap | m_printer_in_lan |
| MachineObject * | m_info |
| Slic3r::GUI::MachineObjectPanel::MachineObjectPanel | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| long | style = wxTAB_TRAVERSAL, | ||
| const wxString & | name = wxEmptyString ) |
References StateColor::darkModeColorFor(), m_edit_name_img, m_is_macos_special_version, m_printer_in_lan, m_printer_status_busy, m_printer_status_idle, m_printer_status_lock, m_printer_status_offline, m_select_unbind_img, m_unbind_img, on_mouse_enter(), on_mouse_leave(), on_mouse_left_up(), OnPaint(), SELECT_MACHINE_ITEM_SIZE, and style.
| Slic3r::GUI::MachineObjectPanel::~MachineObjectPanel | ( | ) |
|
protected |
References _L, Slic3r::GUI::ALLOW_UNBIND, Label::Body_13, Slic3r::GUI::BUSY, StateColor::darkModeColorFor(), Slic3r::GUI::from_u8(), Slic3r::GUI::IDLE, Slic3r::GUI::IN_LAN, Slic3r::GUI::LOCK, m_bind_state, m_edit_name_img, m_hover, m_info, m_is_macos_special_version, m_printer_in_lan, m_printer_status_busy, m_printer_status_idle, m_printer_status_lock, m_printer_status_offline, m_show_bind, m_show_edit, m_state, m_unbind_img, Slic3r::GUI::OFFLINE, SELECT_MACHINE_BRAND, and SELECT_MACHINE_GREY900.
Referenced by OnPaint(), and render().
|
protected |
References m_hover, and Slic3r::GUI::wxMouseEvent.
Referenced by MachineObjectPanel().
|
protected |
References m_hover, and Slic3r::GUI::wxMouseEvent.
Referenced by MachineObjectPanel().
|
protected |
References m_edit_name_img, m_info, m_is_my_devices, m_show_bind, m_show_edit, m_unbind_img, and Slic3r::GUI::wxMouseEvent.
Referenced by MachineObjectPanel().
|
protected |
References doRender().
Referenced by MachineObjectPanel().
|
protected |
References doRender().
| void Slic3r::GUI::MachineObjectPanel::set_printer_state | ( | PrinterState | state | ) |
References m_state.
Referenced by Slic3r::GUI::SelectMachinePopup::update_other_devices().
| void Slic3r::GUI::MachineObjectPanel::show_bind_dialog | ( | ) |
References m_info, Slic3r::GUI::DPIAware< P >::ShowModal(), and Slic3r::GUI::BindMachineDialog::update_machine_info().
| void Slic3r::GUI::MachineObjectPanel::show_edit_printer_name | ( | bool | show | ) |
References m_show_edit.
Referenced by Slic3r::GUI::SelectMachinePopup::update_other_devices().
| void Slic3r::GUI::MachineObjectPanel::show_printer_bind | ( | bool | show, |
| PrinterBindState | state ) |
References m_bind_state, and m_show_bind.
Referenced by Slic3r::GUI::SelectMachinePopup::update_other_devices().
| void Slic3r::GUI::MachineObjectPanel::update_machine_info | ( | MachineObject * | info, |
| bool | is_my_devices = false ) |
References m_info, and m_is_my_devices.
Referenced by Slic3r::GUI::SelectMachinePopup::update_other_devices().
|
private |
Referenced by doRender(), and show_printer_bind().
|
protected |
|
protected |
|
private |
Referenced by MachineObjectPanel(), doRender(), and on_mouse_left_up().
|
private |
Referenced by doRender(), on_mouse_enter(), and on_mouse_leave().
|
private |
Referenced by doRender(), on_mouse_left_up(), show_bind_dialog(), and update_machine_info().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by on_mouse_left_up(), and update_machine_info().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by MachineObjectPanel(), and doRender().
|
private |
Referenced by MachineObjectPanel().
|
private |
Referenced by doRender(), on_mouse_left_up(), and show_printer_bind().
|
private |
Referenced by doRender(), on_mouse_left_up(), and show_edit_printer_name().
|
private |
Referenced by doRender(), and set_printer_state().
|
private |
Referenced by MachineObjectPanel(), doRender(), and on_mouse_left_up().