OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::OTG_Settings Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GUI_ObjectTableSettings.hpp>

Inheritance diagram for Slic3r::GUI::OTG_Settings:
Collaboration diagram for Slic3r::GUI::OTG_Settings:

Public Member Functions

 OTG_Settings (wxWindow *parent, const bool staticbox)
virtual ~OTG_Settings ()
virtual bool IsShown ()
virtual void Show (const bool show)
virtual void Hide ()
virtual void UpdateAndShow (const bool show)
virtual wxSizer * get_sizer ()
ConfigOptionsGroup * get_og ()
wxWindow * parent () const

Protected Attributes

std::shared_ptr< ConfigOptionsGroup > m_og
wxWindow * m_parent

Detailed Description

Constructor & Destructor Documentation

◆ OTG_Settings()

Slic3r::GUI::OTG_Settings::OTG_Settings ( wxWindow * parent,
const bool staticbox )
43 :
45{
46 wxString title = ""; // temporary workaround - #ys_FIXME
47 m_og = std::make_shared<ConfigOptionsGroup>(parent, title, (DynamicPrintConfig*)nullptr, true);
48}
wxWindow * m_parent
Definition GUI_ObjectTableSettings.hpp:32
std::shared_ptr< ConfigOptionsGroup > m_og
Definition GUI_ObjectTableSettings.hpp:31
wxWindow * parent() const
Definition GUI_ObjectTableSettings.hpp:44

References m_og, m_parent, and parent().

Referenced by Slic3r::GUI::ObjectTableSettings::ObjectTableSettings().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~OTG_Settings()

virtual Slic3r::GUI::OTG_Settings::~OTG_Settings ( )
inlinevirtual
35{}

Member Function Documentation

◆ get_og()

ConfigOptionsGroup * Slic3r::GUI::OTG_Settings::get_og ( )
inline
43{ return m_og.get(); }

References m_og.

◆ get_sizer()

wxSizer * Slic3r::GUI::OTG_Settings::get_sizer ( )
virtual
72{
73 return m_og->sizer;
74}

References m_og.

◆ Hide()

void Slic3r::GUI::OTG_Settings::Hide ( )
virtual
61{
62 Show(false);
63}
virtual void Show(const bool show)
Definition GUI_ObjectTableSettings.cpp:55

References Show().

Here is the call graph for this function:

◆ IsShown()

bool Slic3r::GUI::OTG_Settings::IsShown ( )
virtual
51{
52 return m_og->sizer->IsEmpty() ? false : m_og->sizer->IsShown(size_t(0));
53}

References m_og.

◆ parent()

wxWindow * Slic3r::GUI::OTG_Settings::parent ( ) const
inline
44{return m_parent; }

References m_parent.

Referenced by Slic3r::GUI::ObjectTableSettings::ObjectTableSettings(), OTG_Settings(), and Slic3r::GUI::ObjectTableSettings::update_settings_list().

Here is the caller graph for this function:

◆ Show()

void Slic3r::GUI::OTG_Settings::Show ( const bool show)
virtual
56{
57 m_og->Show(show);
58}

References m_og.

Referenced by Hide(), Slic3r::GUI::ObjectTableSettings::update_settings_list(), and UpdateAndShow().

Here is the caller graph for this function:

◆ UpdateAndShow()

void Slic3r::GUI::OTG_Settings::UpdateAndShow ( const bool show)
virtual
66{
67 Show(show);
68// m_parent->Layout();
69}

References Show().

Referenced by Slic3r::GUI::ObjectTableSettings::UpdateAndShowRow().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_og

◆ m_parent


The documentation for this class was generated from the following files: