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 GetItemsRecursively (const wxTreeItemId &aParentId, std::vector< wxTreeItemId > &aItems)
 
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)

◆ ~PROJECT_TREE()

PROJECT_TREE::~PROJECT_TREE ( )

Definition at line 62 of file project_tree.cpp.

Member Function Documentation

◆ GetGitRepo()

git_repository * PROJECT_TREE::GetGitRepo ( ) const
inline

Definition at line 63 of file project_tree.h.

References m_gitCommon.

◆ GetItemsRecursively()

void PROJECT_TREE::GetItemsRecursively ( const wxTreeItemId & aParentId,
std::vector< wxTreeItemId > & aItems )

Definition at line 211 of file project_tree.cpp.

References GetItemsRecursively().

Referenced by GetItemsRecursively().

◆ GetProjectTreePane()

PROJECT_TREE_PANE * PROJECT_TREE::GetProjectTreePane ( ) const
inline

Definition at line 53 of file project_tree.h.

References m_projectTreePane.

◆ GitCommon()

KIGIT_COMMON * PROJECT_TREE::GitCommon ( ) const
inline

Definition at line 65 of file project_tree.h.

References m_gitCommon.

Referenced by KICAD_MANAGER_CONTROL::NewFromRepository().

◆ LoadIcons()

◆ OnCompareItems()

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

◆ SetGitRepo()

void PROJECT_TREE::SetGitRepo ( git_repository * aRepo)
inline

Definition at line 62 of file project_tree.h.

References m_gitCommon.

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: