KiCad PCB EDA Suite
Loading...
Searching...
No Matches
project_tree_pane.cpp File Reference
#include <stack>
#include <git2.h>
#include <wx/regex.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include <wx/timer.h>
#include <wx/wupdlock.h>
#include <advanced_config.h>
#include <bitmaps.h>
#include <bitmap_store.h>
#include <confirm.h>
#include <dialogs/git/dialog_git_commit.h>
#include <dialogs/git/dialog_git_switch.h>
#include <gestfich.h>
#include <macros.h>
#include <trace_helpers.h>
#include <wildcards_and_files_ext.h>
#include <kiplatform/environment.h>
#include <core/kicad_algo.h>
#include <paths.h>
#include <project/project_local_settings.h>
#include <scoped_set_reset.h>
#include <string_utils.h>
#include <thread_pool.h>
#include <launch_ext.h>
#include <wx/dcclient.h>
#include <wx/progdlg.h>
#include <wx/settings.h>
#include <git/git_commit_handler.h>
#include <git/git_config_handler.h>
#include <git/git_pull_handler.h>
#include <git/git_push_handler.h>
#include <git/git_resolve_conflict_handler.h>
#include <git/git_revert_handler.h>
#include <git/git_remove_from_index_handler.h>
#include <git/git_sync_handler.h>
#include <git/git_clone_handler.h>
#include <git/kicad_git_compat.h>
#include <git/git_init_handler.h>
#include <git/git_branch_handler.h>
#include <git/git_status_handler.h>
#include <git/kicad_git_memory.h>
#include <git/project_git_utils.h>
#include <dialogs/git/dialog_git_repository.h>
#include "project_tree_item.h"
#include "project_tree.h"
#include "pgm_kicad.h"
#include "kicad_id.h"
#include "kicad_manager_frame.h"
#include "project_tree_pane.h"
#include <widgets/kistatusbar.h>
#include <kiplatform/io.h>
#include <kiplatform/secrets.h>

Go to the source code of this file.

Enumerations

enum  project_tree_ids {
  ID_PROJECT_TXTEDIT , ID_PROJECT_SWITCH_TO_OTHER , ID_PROJECT_NEWDIR , ID_PROJECT_OPEN_DIR ,
  ID_PROJECT_DELETE , ID_PROJECT_RENAME , ID_GIT_INITIALIZE_PROJECT , ID_GIT_CLONE_PROJECT ,
  ID_GIT_COMMIT_PROJECT , ID_GIT_COMMIT_FILE , ID_GIT_SYNC_PROJECT , ID_GIT_FETCH ,
  ID_GIT_PUSH , ID_GIT_PULL , ID_GIT_RESOLVE_CONFLICT , ID_GIT_REVERT_LOCAL ,
  ID_GIT_COMPARE , ID_GIT_REMOVE_VCS , ID_GIT_ADD_TO_INDEX , ID_GIT_REMOVE_FROM_INDEX ,
  ID_GIT_SWITCH_BRANCH , ID_GIT_SWITCH_QUICK1 , ID_GIT_SWITCH_QUICK2 , ID_GIT_SWITCH_QUICK3 ,
  ID_GIT_SWITCH_QUICK4 , ID_GIT_SWITCH_QUICK5 , ID_JOBS_RUN
}
 The frame that shows the tree list of files and subdirectories inside the working directory. More...
 

Functions

 wxDECLARE_EVENT (UPDATE_ICONS, wxCommandEvent)
 
std::vector< wxString > getProjects (const wxDir &dir)
 

Variables

static const wxChar * s_allowedExtensionsToList []
 

Enumeration Type Documentation

◆ project_tree_ids

The frame that shows the tree list of files and subdirectories inside the working directory.

Files are filtered (see s_allowedExtensionsToList) so only useful files are shown.

Enumerator
ID_PROJECT_TXTEDIT 
ID_PROJECT_SWITCH_TO_OTHER 
ID_PROJECT_NEWDIR 
ID_PROJECT_OPEN_DIR 
ID_PROJECT_DELETE 
ID_PROJECT_RENAME 
ID_GIT_INITIALIZE_PROJECT 
ID_GIT_CLONE_PROJECT 
ID_GIT_COMMIT_PROJECT 
ID_GIT_COMMIT_FILE 
ID_GIT_SYNC_PROJECT 
ID_GIT_FETCH 
ID_GIT_PUSH 
ID_GIT_PULL 
ID_GIT_RESOLVE_CONFLICT 
ID_GIT_REVERT_LOCAL 
ID_GIT_COMPARE 
ID_GIT_REMOVE_VCS 
ID_GIT_ADD_TO_INDEX 
ID_GIT_REMOVE_FROM_INDEX 
ID_GIT_SWITCH_BRANCH 
ID_GIT_SWITCH_QUICK1 
ID_GIT_SWITCH_QUICK2 
ID_GIT_SWITCH_QUICK3 
ID_GIT_SWITCH_QUICK4 
ID_GIT_SWITCH_QUICK5 
ID_JOBS_RUN 

Definition at line 153 of file project_tree_pane.cpp.

Function Documentation

◆ getProjects()

std::vector< wxString > getProjects ( const wxDir &  dir)

◆ wxDECLARE_EVENT()

wxDECLARE_EVENT ( UPDATE_ICONS  ,
wxCommandEvent   
)

Variable Documentation

◆ s_allowedExtensionsToList

const wxChar* s_allowedExtensionsToList[]
static

Definition at line 103 of file project_tree_pane.cpp.

Referenced by PROJECT_TREE_PANE::PROJECT_TREE_PANE().