KiCad PCB EDA Suite
|
PROJECT_TREE This is the class to show (as a tree) the files in the project directory. More...
#include <project_tree.h>
Public Member Functions | |
PROJECT_TREE_PANE * | GetProjectTreePane () const |
PROJECT_TREE (PROJECT_TREE_PANE *parent) | |
~PROJECT_TREE () | |
void | LoadIcons () |
Private Member Functions | |
int | OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2) override |
Private Attributes | |
PROJECT_TREE_PANE * | m_projectTreePane |
wxImageList * | m_imageList |
PROJECT_TREE This is the class to show (as a tree) the files in the project directory.
Definition at line 38 of file project_tree.h.
PROJECT_TREE::PROJECT_TREE | ( | PROJECT_TREE_PANE * | parent | ) |
Definition at line 44 of file project_tree.cpp.
References KIUI::GetControlFont(), LoadIcons(), and m_projectTreePane.
PROJECT_TREE::~PROJECT_TREE | ( | ) |
Definition at line 59 of file project_tree.cpp.
References m_imageList.
|
inline |
void PROJECT_TREE::LoadIcons | ( | ) |
Definition at line 65 of file project_tree.cpp.
References directory, dummy, editor, file_drl, file_gerber_job, file_html, file_pdf, file_pos, file_svg, icon_cvpcb_24, icon_eeschema_24, icon_gerbview_24, icon_pagelayout_editor_24, icon_pcbnew_24, KiBitmap(), library, m_imageList, MAX, module, netlist, project, project_kicad, tools, unknown, and zip.
Referenced by PROJECT_TREE_PANE::onThemeChanged(), and PROJECT_TREE().
|
overrideprivate |
Definition at line 113 of file project_tree.cpp.
References DIRECTORY, PROJECT_TREE_ITEM::GetFileName(), PROJECT_TREE_ITEM::GetType(), and PROJECT_TREE_ITEM::IsRootFile().
|
private |
Definition at line 44 of file project_tree.h.
Referenced by LoadIcons(), and ~PROJECT_TREE().
|
private |
Definition at line 43 of file project_tree.h.
Referenced by GetProjectTreePane(), and PROJECT_TREE().