KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PROJECT_TREE Class Reference

PROJECT_TREE This is the class to show (as a tree) the files in the project directory. More...

#include <project_tree.h>

Inheritance diagram for PROJECT_TREE:

Public Member Functions

PROJECT_TREE_PANEGetProjectTreePane () const
 
 PROJECT_TREE (PROJECT_TREE_PANE *parent)
 
 ~PROJECT_TREE ()
 
void LoadIcons ()
 
void SetGitRepo (git_repository *aRepo)
 
git_repository * GetGitRepo () const
 
KIGIT_COMMONGitCommon () const
 

Private Member Functions

int OnCompareItems (const wxTreeItemId &item1, const wxTreeItemId &item2) override
 

Private Attributes

PROJECT_TREE_PANEm_projectTreePane
 
wxImageList * m_imageList
 
wxImageList * m_statusImageList
 
std::unique_ptr< KIGIT_COMMONm_gitCommon
 

Detailed Description

PROJECT_TREE This is the class to show (as a tree) the files in the project directory.

Definition at line 42 of file project_tree.h.

Constructor & Destructor Documentation

◆ PROJECT_TREE()

PROJECT_TREE::PROJECT_TREE ( PROJECT_TREE_PANE parent)

Definition at line 45 of file project_tree.cpp.

References KIUI::GetControlFont(), LoadIcons(), m_gitCommon, and m_projectTreePane.

◆ ~PROJECT_TREE()

PROJECT_TREE::~PROJECT_TREE ( )

Definition at line 62 of file project_tree.cpp.

References m_imageList, and m_statusImageList.

Member Function Documentation

◆ GetGitRepo()

◆ GetProjectTreePane()

PROJECT_TREE_PANE * PROJECT_TREE::GetProjectTreePane ( ) const
inline

Definition at line 53 of file project_tree.h.

References m_projectTreePane.

◆ GitCommon()

◆ LoadIcons()

void PROJECT_TREE::LoadIcons ( )

◆ OnCompareItems()

int PROJECT_TREE::OnCompareItems ( const wxTreeItemId &  item1,
const wxTreeItemId &  item2 
)
overrideprivate

◆ SetGitRepo()

void PROJECT_TREE::SetGitRepo ( git_repository *  aRepo)
inline

Member Data Documentation

◆ m_gitCommon

std::unique_ptr<KIGIT_COMMON> PROJECT_TREE::m_gitCommon
private

Definition at line 50 of file project_tree.h.

Referenced by GetGitRepo(), GitCommon(), PROJECT_TREE(), and SetGitRepo().

◆ m_imageList

wxImageList* PROJECT_TREE::m_imageList
private

Definition at line 48 of file project_tree.h.

Referenced by LoadIcons(), and ~PROJECT_TREE().

◆ m_projectTreePane

PROJECT_TREE_PANE* PROJECT_TREE::m_projectTreePane
private

Definition at line 47 of file project_tree.h.

Referenced by GetProjectTreePane(), and PROJECT_TREE().

◆ m_statusImageList

wxImageList* PROJECT_TREE::m_statusImageList
private

Definition at line 49 of file project_tree.h.

Referenced by LoadIcons(), and ~PROJECT_TREE().


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