KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kicad.cpp File Reference

Main KiCad project manager file. More...

#include <wx/filename.h>
#include <wx/log.h>
#include <wx/app.h>
#include <wx/stdpaths.h>
#include <wx/msgdlg.h>
#include <wx/cmdline.h>
#include <env_vars.h>
#include <file_history.h>
#include <hotkeys_basic.h>
#include <kiway.h>
#include <macros.h>
#include <paths.h>
#include <richio.h>
#include <settings/settings_manager.h>
#include <settings/kicad_settings.h>
#include <systemdirsappend.h>
#include <trace_helpers.h>
#include <wildcards_and_files_ext.h>
#include <confirm.h>
#include <git2.h>
#include <stdexcept>
#include "pgm_kicad.h"
#include "kicad_manager_frame.h"
#include <kiplatform/app.h>
#include <kiplatform/environment.h>
#include <kiface_base.h>

Go to the source code of this file.

Classes

struct  APP_KICAD
 Not publicly visible because most of the action is in PGM_KICAD these days. More...
 

Functions

KIFACE_BASEKiface ()
 Global KIFACE_BASE "get" accessor.
 
PGM_KICADPgmTop ()
 
PROJECTPrj ()
 

Variables

static PGM_KICAD program
 
KIWAY Kiway (KFCTL_CPP_PROJECT_SUITE)
 

Detailed Description

Main KiCad project manager file.

Definition in file kicad.cpp.

Function Documentation

◆ Kiface()

KIFACE_BASE & Kiface ( )

Global KIFACE_BASE "get" accessor.

Definition at line 67 of file kicad.cpp.

◆ PgmTop()

PGM_KICAD & PgmTop ( )

◆ Prj()

PROJECT & Prj ( )

Definition at line 595 of file kicad.cpp.

References Kiway, and KIWAY::Prj().

Referenced by SCH_EDIT_FRAME::AddDesignBlockLibrary(), PCB_BASE_EDIT_FRAME::AddLibrary(), SYMBOL_EDIT_FRAME::addLibTableEntry(), FOOTPRINT_CHOOSER_FRAME::build3DCanvas(), SYMBOL_VIEWER_FRAME::ClickOnLibList(), SCH_EDIT_FRAME::createNewDesignBlockLibrary(), PCB_BASE_EDIT_FRAME::createNewLibrary(), PCB_BASE_EDIT_FRAME::CreateNewProjectLibrary(), SCH_EDIT_FRAME::CreateScreens(), SCH_EDIT_FRAME::DeleteDesignBlockFromLibrary(), SCH_EDIT_FRAME::DeleteDesignBlockLibrary(), FOOTPRINT_EDIT_FRAME::DeleteFootprintFromLibrary(), SYMBOL_VIEWER_FRAME::DisplayLibInfos(), SCH_EDIT_FRAME::doAutoSave(), PCB_EDIT_FRAME::doAutoSave(), SCH_EDIT_FRAME::doCloseWindow(), FOOTPRINT_EDIT_FRAME::doCloseWindow(), PCB_BASE_EDIT_FRAME::doCloseWindow(), FOOTPRINT_EDIT_FRAME::DuplicateFootprint(), SCH_EDIT_FRAME::EditDesignBlockProperties(), EVT_TOOL_RANGE(), EVT_UPDATE_UI_RANGE(), PCB_EDIT_FRAME::Export_IDF3(), PCB_EDIT_FRAME::ExportFootprintsToLibrary(), PCB_EDIT_FRAME::ExportVRML_File(), PCB_EDIT_FRAME::Files_io_from_id(), PCB_EDIT_FRAME::GenD356File(), PCB_EDIT_FRAME::GenODBPPFiles(), PCBNEW_JOBS_HANDLER::getBoard(), FOOTPRINT_VIEWER_FRAME::getCurFootprintName(), SYMBOL_EDIT_FRAME::GetCurLib(), FOOTPRINT_VIEWER_FRAME::getCurNickname(), SCH_EDIT_FRAME::GetDesignBlock(), PCB_BASE_EDIT_FRAME::GetDesignRulesPath(), DISPLAY_FOOTPRINTS_FRAME::GetFootprint(), PCB_EDIT_FRAME::GetLastPath(), SCH_EDIT_FRAME::GetSchematicJunctionSize(), SYMBOL_VIEWER_FRAME::GetSelectedSymbol(), SCH_FIELD::GetShownText(), API_HANDLER_PCB::handleGetOpenDocuments(), SCH_EDIT_FRAME::importFile(), FOOTPRINT_EDIT_FRAME::initLibraryTree(), SYMBOL_EDIT_FRAME::KiwayMailIn(), SYMBOL_VIEWER_FRAME::KiwayMailIn(), FOOTPRINT_EDIT_FRAME::KiwayMailIn(), SYMBOL_VIEWER_FRAME::loadAllLibraries(), LoadBoard(), SCH_EDIT_FRAME::LoadDrawingSheet(), PCB_EDIT_FRAME::LoadDrawingSheet(), PCB_EDIT_FRAME::LoadFootprints(), SCH_EDIT_FRAME::LoadProject(), SCH_EDIT_FRAME::LoadProjectSettings(), PCB_EDIT_FRAME::LoadProjectSettings(), EESCHEMA_HELPERS::LoadSchematic(), SCH_EDIT_FRAME::LoadSheetFromFile(), SYMBOL_EDIT_FRAME::LoadSymbol(), SYMBOL_EDIT_FRAME::LoadSymbolFromCurrentLib(), SCH_SCREEN::MigrateSimModels(), KICAD_MANAGER_CONTROL::NewFromRepository(), KICAD_MANAGER_CONTROL::NewFromTemplate(), KICAD_MANAGER_CONTROL::NewJobsetFile(), FOOTPRINT_VIEWER_FRAME::OnActivate(), PCB_EDIT_FRAME::onBoardLoaded(), DIALOG_SIM_MODEL< T >::onBrowseButtonClick(), PROJECT_TREE_PANE::onGitInitializeProject(), SCH_EDIT_FRAME::OnImportProject(), SCH_EDIT_FRAME::OnOpenCvpcb(), SCH_EDIT_FRAME::OnOpenPcbnew(), PANEL_JOB_OUTPUT::OnOutputRunClick(), PANEL_JOBS::OnRunAllJobsClick(), FOOTPRINT_EDIT_FRAME::OnSaveFootprintAsPng(), SCH_EDIT_FRAME::OnUpdatePCB(), SCH_EDIT_FRAME::OpenProjectFiles(), PCB_EDIT_FRAME::OpenProjectFiles(), SCH_EDIT_FRAME::PrintPage(), SCH_EDIT_FRAME::RecalculateConnections(), PCB_EDIT_FRAME::RecreateBOMFileFromBoard(), PCB_EDIT_FRAME::RecreateCmpFileFromBoard(), FOOTPRINT_VIEWER_FRAME::ReCreateFootprintList(), SYMBOL_VIEWER_FRAME::ReCreateLibList(), FOOTPRINT_VIEWER_FRAME::ReCreateLibraryList(), SYMBOL_VIEWER_FRAME::ReCreateSymbolList(), PROJECT_TREE_PANE::ReCreateTreePrj(), SCH_EDIT_FRAME::RefreshOperatingPointDisplay(), FOOTPRINT_EDIT_FRAME::ReloadFootprint(), SYMBOL_EDIT_FRAME::replaceLibTableEntry(), FOOTPRINT_EDIT_FRAME::restoreLastFootprint(), FOOTPRINT_EDIT_FRAME::retainLastFootprint(), PCB_EDIT_FRAME::RunEeschema(), FOOTPRINT_EDIT_FRAME::SaveFootprint(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary(), SYMBOL_EDIT_FRAME::saveLibrary(), PCB_EDIT_FRAME::SavePcbFile(), SCH_EDIT_FRAME::SaveProject(), KICAD_MANAGER_CONTROL::SaveProjectAs(), SCH_EDIT_FRAME::SaveProjectLocalSettings(), PCB_EDIT_FRAME::SaveProjectLocalSettings(), SCH_EDIT_FRAME::saveProjectSettings(), PCB_EDIT_FRAME::saveProjectSettings(), SCH_EDIT_FRAME::saveSchematicFile(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetAsDesignBlock(), FOOTPRINT_VIEWER_FRAME::SelectAndViewFootprint(), SCH_EDIT_FRAME::selectDesignBlockLibTable(), PCB_BASE_EDIT_FRAME::selectLibTable(), PCB_EDIT_FRAME::SetBoard(), FOOTPRINT_VIEWER_FRAME::setCurFootprintName(), SYMBOL_EDIT_FRAME::SetCurLib(), FOOTPRINT_VIEWER_FRAME::setCurNickname(), SYMBOL_EDIT_FRAME::SetCurSymbol(), PCB_EDIT_FRAME::SetLastPath(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), KICAD_MANAGER_CONTROL::ShowPlayer(), KICAD_MANAGER_CONTROL::ShowPluginManager(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), FOOTPRINT_EDIT_FRAME::SyncLibraryTree(), PCB_EDIT_FRAME::TestStandalone(), DIALOG_SIM_MODEL< T >::TransferDataFromWindow(), SCH_EDIT_FRAME::updateAutoSaveFile(), SCH_SCREEN::UpdateSymbolLinks(), SCH_EDIT_FRAME::updateTitle(), FOOTPRINT_EDIT_FRAME::UpdateTitle(), FOOTPRINT_VIEWER_FRAME::UpdateTitle(), SCH_EDIT_FRAME::WriteNetListFile(), and SCH_EDIT_FRAME::~SCH_EDIT_FRAME().

Variable Documentation

◆ Kiway

◆ program

PGM_KICAD program
static

Definition at line 78 of file kicad.cpp.

Referenced by APP_KICAD::APP_KICAD(), APP_KICAD::OnExit(), APP_KICAD::OnInit(), and PgmTop().