|
KiCad PCB EDA Suite
|
#include <dialog_template_selector.h>
Public Member Functions | |
| TEMPLATE_SELECTION_PANEL (wxNotebookPage *aParent, const wxString &aPath) | |
| const wxString & | GetPath () const |
| void | AddTemplateWidget (TEMPLATE_WIDGET *aTemplateWidget) |
| void | SortAlphabetically () |
| void | SetIsUserTemplates (bool aIsUser) |
| Set whether templates in this panel are user templates (can be edited/duplicated) | |
| bool | IsUserTemplates () const |
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) | |
| bool | m_isUserTemplates |
| true if this panel contains user templates | |
Definition at line 83 of file dialog_template_selector.h.
| TEMPLATE_SELECTION_PANEL::TEMPLATE_SELECTION_PANEL | ( | wxNotebookPage * | aParent, |
| const wxString & | aPath ) |
| aParent | The window creating the dialog |
| aPath | the path |
Definition at line 46 of file dialog_template_selector.cpp.
References m_isUserTemplates, m_parent, m_templatesPath, and TEMPLATE_SELECTION_PANEL_BASE::TEMPLATE_SELECTION_PANEL_BASE().
| void TEMPLATE_SELECTION_PANEL::AddTemplateWidget | ( | TEMPLATE_WIDGET * | aTemplateWidget | ) |
Definition at line 56 of file dialog_template_selector.cpp.
References TEMPLATE_SELECTION_PANEL_BASE::m_SizerChoice.
|
inline |
Definition at line 92 of file dialog_template_selector.h.
References m_templatesPath.
|
inline |
Definition at line 102 of file dialog_template_selector.h.
References m_isUserTemplates.
|
inline |
Set whether templates in this panel are user templates (can be edited/duplicated)
Definition at line 101 of file dialog_template_selector.h.
References m_isUserTemplates.
Referenced by DIALOG_TEMPLATE_SELECTOR::DIALOG_TEMPLATE_SELECTOR(), and DIALOG_TEMPLATE_SELECTOR::replaceCurrentPage().
| void TEMPLATE_SELECTION_PANEL::SortAlphabetically | ( | ) |
Definition at line 64 of file dialog_template_selector.cpp.
References TEMPLATE_WIDGET::GetTemplate(), PROJECT_TEMPLATE::GetTitle(), and TEMPLATE_SELECTION_PANEL_BASE::m_SizerChoice.
|
protected |
true if this panel contains user templates
Definition at line 108 of file dialog_template_selector.h.
Referenced by IsUserTemplates(), SetIsUserTemplates(), and TEMPLATE_SELECTION_PANEL().
|
protected |
Definition at line 105 of file dialog_template_selector.h.
Referenced by TEMPLATE_SELECTION_PANEL().
|
inherited |
Definition at line 81 of file dialog_template_selector_base.h.
Referenced by TEMPLATE_SELECTION_PANEL_BASE().
|
inherited |
Definition at line 80 of file dialog_template_selector_base.h.
Referenced by DIALOG_TEMPLATE_SELECTOR::replaceCurrentPage(), and TEMPLATE_SELECTION_PANEL_BASE().
|
inherited |
Definition at line 82 of file dialog_template_selector_base.h.
Referenced by TEMPLATE_SELECTION_PANEL::AddTemplateWidget(), TEMPLATE_SELECTION_PANEL::SortAlphabetically(), and TEMPLATE_SELECTION_PANEL_BASE().
|
protected |
the path to access to the folder containing the templates (which are also folders)
Definition at line 106 of file dialog_template_selector.h.
Referenced by GetPath(), and TEMPLATE_SELECTION_PANEL().