#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DragDropPanel.hpp>
Public Member Functions | |
| SeparatedDragDropPanel (wxWindow *parent, const wxString &label, bool use_separation=false) | |
| void | AddColorBlock (const wxColour &color, const std::string &type, int filament_id, bool is_high_flow=false, bool update_ui=true) |
| void | RemoveColorBlock (ColorPanel *panel, bool update_ui=true) |
| std::vector< int > | GetAllFilaments () const |
| std::vector< int > | GetHighFlowFilaments () const |
| std::vector< int > | GetStandardFilaments () const |
| std::vector< int > | GetTPUHighFlowFilaments () const |
| std::vector< ColorPanel * > | get_filament_blocks () const |
| std::vector< ColorPanel * > | get_high_flow_blocks () const |
| std::vector< ColorPanel * > | get_standard_blocks () const |
| void | SetUseSeparation (bool use_separation) |
| bool | IsUseSeparation () const |
| void | ClearAllBlocks () |
| void | UpdateLabel (const wxString &label) |
Private Member Functions | |
| void | UpdateLayout () |
Private Attributes | |
| wxBoxSizer * | m_main_sizer |
| wxPanel * | m_content_panel |
| wxBoxSizer * | m_content_sizer |
| wxPanel * | m_separator = nullptr |
| Label * | m_label |
| DragDropPanel * | m_high_flow_panel |
| DragDropPanel * | m_standard_panel |
| DragDropPanel * | m_unified_panel |
| bool | m_use_separation |
| Slic3r::GUI::SeparatedDragDropPanel::SeparatedDragDropPanel | ( | wxWindow * | parent, |
| const wxString & | label, | ||
| bool | use_separation = false ) |
References _L, Label::Head_13, m_content_panel, m_content_sizer, m_high_flow_panel, m_label, m_main_sizer, m_standard_panel, m_unified_panel, m_use_separation, and UpdateLayout().
| void Slic3r::GUI::SeparatedDragDropPanel::AddColorBlock | ( | const wxColour & | color, |
| const std::string & | type, | ||
| int | filament_id, | ||
| bool | is_high_flow = false, | ||
| bool | update_ui = true ) |
References m_high_flow_panel, m_standard_panel, m_unified_panel, m_use_separation, and update_ui().
| void Slic3r::GUI::SeparatedDragDropPanel::ClearAllBlocks | ( | ) |
References m_high_flow_panel, m_standard_panel, and m_unified_panel.
| std::vector< ColorPanel * > Slic3r::GUI::SeparatedDragDropPanel::get_filament_blocks | ( | ) | const |
References m_high_flow_panel, m_standard_panel, m_unified_panel, and m_use_separation.
| std::vector< ColorPanel * > Slic3r::GUI::SeparatedDragDropPanel::get_high_flow_blocks | ( | ) | const |
References m_high_flow_panel.
| std::vector< ColorPanel * > Slic3r::GUI::SeparatedDragDropPanel::get_standard_blocks | ( | ) | const |
References m_standard_panel.
| std::vector< int > Slic3r::GUI::SeparatedDragDropPanel::GetAllFilaments | ( | ) | const |
References m_high_flow_panel, m_standard_panel, m_unified_panel, and m_use_separation.
| std::vector< int > Slic3r::GUI::SeparatedDragDropPanel::GetHighFlowFilaments | ( | ) | const |
References m_high_flow_panel, m_unified_panel, m_use_separation, Slic3r::nvtE3DHighFlow, and Slic3r::nvtHighFlow.
| std::vector< int > Slic3r::GUI::SeparatedDragDropPanel::GetStandardFilaments | ( | ) | const |
References m_standard_panel, m_unified_panel, m_use_separation, and Slic3r::nvtStandard.
| std::vector< int > Slic3r::GUI::SeparatedDragDropPanel::GetTPUHighFlowFilaments | ( | ) | const |
References m_unified_panel, m_use_separation, and Slic3r::nvtTPUHighFlow.
|
inline |
References m_use_separation.
| void Slic3r::GUI::SeparatedDragDropPanel::RemoveColorBlock | ( | ColorPanel * | panel, |
| bool | update_ui = true ) |
References m_high_flow_panel, m_standard_panel, m_unified_panel, m_use_separation, and update_ui().
| void Slic3r::GUI::SeparatedDragDropPanel::SetUseSeparation | ( | bool | use_separation | ) |
References m_high_flow_panel, m_standard_panel, m_unified_panel, m_use_separation, and UpdateLayout().
| void Slic3r::GUI::SeparatedDragDropPanel::UpdateLabel | ( | const wxString & | label | ) |
|
private |
References StateColor::darkModeColorFor(), m_content_panel, m_content_sizer, m_high_flow_panel, m_separator, m_standard_panel, m_unified_panel, and m_use_separation.
Referenced by SeparatedDragDropPanel(), and SetUseSeparation().
|
private |
Referenced by SeparatedDragDropPanel(), and UpdateLayout().
|
private |
Referenced by SeparatedDragDropPanel(), and UpdateLayout().
|
private |
|
private |
Referenced by SeparatedDragDropPanel(), and UpdateLabel().
|
private |
Referenced by SeparatedDragDropPanel().
|
private |
Referenced by UpdateLayout().
|
private |
|
private |
|
private |