#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/EditGCodeDialog.hpp>
◆ ParamsNode() [1/3]
| Slic3r::GUI::ParamsNode::ParamsNode |
( |
const wxString & | group_name, |
|
|
const std::string & | icon_name, |
|
|
wxDataViewCtrl * | ctrl ) |
486{
487}
wxDataViewCtrl * m_ctrl
Definition EditGCodeDialog.hpp:103
wxString text
Definition EditGCodeDialog.hpp:133
std::string icon_name
Definition EditGCodeDialog.hpp:131
bool m_bold
Definition EditGCodeDialog.hpp:120
References icon_name, m_bold, m_ctrl, and text.
Referenced by ParamsNode(), ParamsNode(), and GetParent().
◆ ParamsNode() [2/3]
| Slic3r::GUI::ParamsNode::ParamsNode |
( |
ParamsNode * | parent, |
|
|
const wxString & | sub_group_name, |
|
|
const std::string & | icon_name, |
|
|
wxDataViewCtrl * | ctrl ) |
◆ ParamsNode() [3/3]
| Slic3r::GUI::ParamsNode::ParamsNode |
( |
ParamsNode * | parent, |
|
|
ParamType | param_type, |
|
|
const std::string & | param_key, |
|
|
wxDataViewCtrl * | ctrl ) |
510{
515 text +=
"[current_extruder]";
516
518}
std::string param_key
Definition EditGCodeDialog.hpp:132
bool m_container
Definition EditGCodeDialog.hpp:116
ParamType m_param_type
Definition EditGCodeDialog.hpp:105
wxString from_u8(const std::string &str)
Definition GUI.cpp:544
const std::map< ParamType, std::string > ParamsInfo
Definition EditGCodeDialog.cpp:456
@ FilamentVector
Definition EditGCodeDialog.hpp:90
@ Vector
Definition EditGCodeDialog.hpp:89
References ParamsNode(), Slic3r::GUI::FilamentVector, Slic3r::GUI::from_u8(), icon_name, m_container, m_ctrl, m_param_type, m_parent, param_key, Slic3r::GUI::ParamsInfo, text, and Slic3r::GUI::Vector.
◆ Append()
| void Slic3r::GUI::ParamsNode::Append |
( |
std::unique_ptr< ParamsNode > | child | ) |
|
|
inline |
◆ Disable()
| void Slic3r::GUI::ParamsNode::Disable |
( |
| ) |
|
|
inline |
◆ Enable()
| void Slic3r::GUI::ParamsNode::Enable |
( |
bool | enable = true | ) |
|
|
inline |
bool m_enabled
Definition EditGCodeDialog.hpp:118
References m_enabled.
◆ FinishSearch()
| void Slic3r::GUI::ParamsNode::FinishSearch |
( |
| ) |
|
563{
566 const wxDataViewItem item(this);
569 child->FinishSearch();
571}
ParamsNodePtrArray & GetChildren()
Definition EditGCodeDialog.hpp:166
bool m_expanded_before_search
Definition EditGCodeDialog.hpp:117
std::unique_ptr< std::pair< int, int > > m_highlight_index
Definition EditGCodeDialog.hpp:122
bool empty(const BoundingBoxBase< PointType, PointsType > &bb)
Definition BoundingBox.hpp:273
References Slic3r::empty(), Slic3r::Enable, GetChildren(), m_ctrl, m_expanded_before_search, and m_highlight_index.
◆ GetChildren()
◆ GetEnabledChildren()
| wxDataViewItemArray Slic3r::GUI::ParamsNode::GetEnabledChildren |
( |
| ) |
|
573 {
574 wxDataViewItemArray array;
575 for (
const std::unique_ptr<ParamsNode>& child :
m_children)
576 if (child->IsEnabled())
577 array.Add(wxDataViewItem(child.get()));
578 return array;
579}
References m_children.
Referenced by RefreshSearch().
◆ GetFormattedText()
| wxString Slic3r::GUI::ParamsNode::GetFormattedText |
( |
| ) |
|
◆ GetParent()
| ParamsNode * Slic3r::GUI::ParamsNode::GetParent |
( |
| ) |
|
|
inline |
◆ IsContainer()
| bool Slic3r::GUI::ParamsNode::IsContainer |
( |
| ) |
const |
|
inline |
◆ IsEnabled()
| bool Slic3r::GUI::ParamsNode::IsEnabled |
( |
| ) |
|
|
inline |
◆ IsGroupNode()
| bool Slic3r::GUI::ParamsNode::IsGroupNode |
( |
| ) |
const |
|
inline |
◆ IsParamNode()
| bool Slic3r::GUI::ParamsNode::IsParamNode |
( |
| ) |
const |
|
inline |
◆ RefreshSearch()
| void Slic3r::GUI::ParamsNode::RefreshSearch |
( |
const wxString & | search_text | ) |
|
◆ SetContainer()
| void Slic3r::GUI::ParamsNode::SetContainer |
( |
bool | is_container | ) |
|
|
inline |
◆ StartSearch()
| void Slic3r::GUI::ParamsNode::StartSearch |
( |
| ) |
|
◆ icon
| wxBitmap Slic3r::GUI::ParamsNode::icon |
◆ icon_name
| std::string Slic3r::GUI::ParamsNode::icon_name |
◆ m_bold
| bool Slic3r::GUI::ParamsNode::m_bold {false} |
|
private |
◆ m_children
◆ m_container
| bool Slic3r::GUI::ParamsNode::m_container { true } |
|
private |
◆ m_ctrl
| wxDataViewCtrl* Slic3r::GUI::ParamsNode::m_ctrl |
|
private |
◆ m_enabled
| bool Slic3r::GUI::ParamsNode::m_enabled {true} |
|
private |
◆ m_expanded_before_search
| bool Slic3r::GUI::ParamsNode::m_expanded_before_search {false} |
|
private |
◆ m_highlight_index
| std::unique_ptr<std::pair<int, int> > Slic3r::GUI::ParamsNode::m_highlight_index {nullptr} |
|
private |
◆ m_param_type
◆ m_parent
◆ param_key
| std::string Slic3r::GUI::ParamsNode::param_key |
◆ text
| wxString Slic3r::GUI::ParamsNode::text |
The documentation for this class was generated from the following files: