KiCad PCB EDA Suite
TEMPLATE_SELECTION_PANEL Class Reference

#include <dialog_template_selector.h>

Inheritance diagram for TEMPLATE_SELECTION_PANEL:
TEMPLATE_SELECTION_PANEL_BASE

Public Member Functions

 TEMPLATE_SELECTION_PANEL (wxNotebookPage *aParent, const wxString &aPath)
 
const wxString & GetPath ()
 

Public Attributes

wxBoxSizer * m_SizerBase
 
wxScrolledWindow * m_scrolledWindow
 
wxBoxSizer * m_SizerChoice
 

Protected Attributes

wxNotebookPage * m_parent
 
wxString m_templatesPath
 the path to access to the folder containing the templates (which are also folders) More...
 

Detailed Description

Definition at line 65 of file dialog_template_selector.h.

Constructor & Destructor Documentation

TEMPLATE_SELECTION_PANEL::TEMPLATE_SELECTION_PANEL ( wxNotebookPage *  aParent,
const wxString &  aPath 
)
Parameters
aParentThe window creating the dialog
aPaththe path

Definition at line 31 of file dialog_template_selector.cpp.

References m_parent, and m_templatesPath.

32  :
34 {
35  m_parent = aParent;
36  m_templatesPath = aPath;
37 }
TEMPLATE_SELECTION_PANEL_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, 140), long style=wxNO_BORDER|wxTAB_TRAVERSAL)
wxString m_templatesPath
the path to access to the folder containing the templates (which are also folders) ...

Member Function Documentation

const wxString& TEMPLATE_SELECTION_PANEL::GetPath ( )
inline

Definition at line 79 of file dialog_template_selector.h.

References m_templatesPath.

79 { return m_templatesPath; }
wxString m_templatesPath
the path to access to the folder containing the templates (which are also folders) ...

Member Data Documentation

wxNotebookPage* TEMPLATE_SELECTION_PANEL::m_parent
protected

Definition at line 68 of file dialog_template_selector.h.

Referenced by TEMPLATE_SELECTION_PANEL().

wxScrolledWindow* TEMPLATE_SELECTION_PANEL_BASE::m_scrolledWindow
inherited
wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerBase
inherited
wxBoxSizer* TEMPLATE_SELECTION_PANEL_BASE::m_SizerChoice
inherited
wxString TEMPLATE_SELECTION_PANEL::m_templatesPath
protected

the path to access to the folder containing the templates (which are also folders)

Definition at line 69 of file dialog_template_selector.h.

Referenced by GetPath(), and TEMPLATE_SELECTION_PANEL().


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