48                         const wxPoint& pos, 
const wxSize& size );
 
   52    void OnIdle( wxIdleEvent& event );
 
   56    void OnSize( wxSizeEvent& event ) 
override;
 
   69    void OnExit( wxCommandEvent& event );
 
   76                                    const wxString& 
name ) 
override;
 
   99                                const std::vector<std::string>& aSchFileExtensions,
 
  100                                const std::vector<std::string>& aPcbFileExtensions,
 
  101                                int aSchFileType, 
int aPcbFileType );
 
  146    void CreateNewProject( 
const wxFileName& aProjectFileName, 
bool aCreateStubFiles = 
true );
 
  152    void LoadProject( 
const wxFileName& aProjectFileName );
 
  154    void OpenJobsFile( 
const wxFileName& aFileName, 
bool aCreate = 
false,
 
  155                       bool aResaveProjectPreferences = 
true );
 
  194    std::shared_ptr<PLUGIN_CONTENT_MANAGER> 
GetPcm() { 
return m_pcm; };
 
  203    DECLARE_EVENT_TABLE()
 
 
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
 
The base frame for deriving all KiCad main window classes.
 
EDA_BASE_FRAME(wxWindow *aParent, FRAME_T aFrameType, const wxString &aTitle, const wxPoint &aPos, const wxSize &aSize, long aStyle, const wxString &aFrameName, KIWAY *aKiway, const EDA_IU_SCALE &aIuScale)
 
std::shared_ptr< PLUGIN_CONTENT_MANAGER > m_pcm
 
void language_change(wxCommandEvent &event)
 
void SetPcmButton(BITMAP_BUTTON *aButton)
 
void doCloseWindow() override
 
void CreateNewProject(const wxFileName &aProjectFileName, bool aCreateStubFiles=true)
Creates a new project by setting up and initial project, schematic, and board files.
 
void RestoreLocalHistory()
 
wxString m_FileWatcherInfo
 
const SEARCH_STACK & sys_search() override
Return a SEARCH_STACK pertaining to entire program.
 
void OnImportEasyEdaProFiles(wxCommandEvent &event)
Open dialog to import EasyEDA Pro schematic and board files.
 
void ProjectChanged() override
Notification event that the project has changed.
 
void ShowChangedLanguage() override
Redraw the menus and what not in current language.
 
const wxString SchLegacyFileName()
 
wxWindow * GetToolCanvas() const override
Canvas access.
 
void OnImportEasyEdaFiles(wxCommandEvent &event)
Open dialog to import EasyEDA Std schematic and board files.
 
void ToggleLocalHistory()
 
PROJECT_TREE_PANE * m_leftWin
 
void OnImportAltiumProjectFiles(wxCommandEvent &event)
Open dialog to import Altium project files.
 
const wxString GetProjectFileName() const
 
void updatePcmButtonBadge()
 
KICAD_SETTINGS * kicadSettings() const
 
const wxString SchFileName()
 
void OnImportEagleFiles(wxCommandEvent &event)
Open dialog to import Eagle schematic and board files.
 
wxStatusBar * OnCreateStatusBar(int number, long style, wxWindowID id, const wxString &name) override
Create the status line (like a wxStatusBar).
 
void OnExit(wxCommandEvent &event)
 
void OpenJobsFile(const wxFileName &aFileName, bool aCreate=false, bool aResaveProjectPreferences=true)
 
void OnChangeWatchedPaths(wxCommandEvent &aEvent)
Called by sending a event with id = ID_INIT_WATCHED_PATHS rebuild the list of watched paths.
 
void LoadProject(const wxFileName &aProjectFileName)
 
std::shared_ptr< PLUGIN_CONTENT_MANAGER > GetPcm()
 
bool canCloseWindow(wxCloseEvent &aCloseEvent) override
 
void OnSize(wxSizeEvent &event) override
 
virtual void setupUIConditions() override
Setup the UI conditions for the various actions and their controls in this frame.
 
void OnFileHistory(wxCommandEvent &event)
 
void RestoreCommitFromHistory(const wxString &aHash)
 
void DoWithAcceptedFiles() override
Execute action on accepted dropped file.
 
void OnOpenFileInTextEditor(wxCommandEvent &event)
 
APP_SETTINGS_BASE * config() const override
Return the settings object used in SaveSettings(), and is overloaded in KICAD_MANAGER_FRAME.
 
int m_lastToolbarIconSize
 
const wxString PcbLegacyFileName()
 
void OnEditAdvancedCfg(wxCommandEvent &event)
 
KICAD_MANAGER_FRAME(wxWindow *parent, const wxString &title, const wxPoint &pos, const wxSize &size)
 
bool CloseProject(bool aSave)
Closes the project, and saves it if aSave is true;.
 
wxString GetCurrentFileName() const override
Get the full filename + path of the currently opened file in the frame.
 
void onNotebookPageCloseRequest(wxAuiNotebookEvent &evt)
 
void CommonSettingsChanged(int aFlags) override
Notification event that some of the common (suite-wide) settings have changed.
 
void LoadSettings(APP_SETTINGS_BASE *aCfg) override
Load common frame parameters from a configuration file.
 
void OnIdle(wxIdleEvent &event)
 
void onToolbarSizeChanged()
 
void PrintPrjInfo()
Prints the current working directory name and the project name on the text panel.
 
void SaveOpenJobSetsToLocalSettings(bool aIsExplicitUserSave=false)
 
void onNotebookPageCountChanged(wxAuiNotebookEvent &evt)
 
LOCAL_HISTORY_PANE * m_historyPane
 
void OnClearFileHistory(wxCommandEvent &aEvent)
 
void OnImportCadstarArchiveFiles(wxCommandEvent &event)
Open dialog to import CADSTAR Schematic and PCB Archive files.
 
void RefreshProjectTree()
 
void SaveSettings(APP_SETTINGS_BASE *aCfg) override
Save common frame parameters to a configuration data file.
 
void ImportNonKiCadProject(const wxString &aWindowTitle, const wxString &aFilesWildcard, const std::vector< std::string > &aSchFileExtensions, const std::vector< std::string > &aPcbFileExtensions, int aSchFileType, int aPcbFileType)
Creates a project and imports a non-KiCad Schematic and PCB.
 
BITMAP_BUTTON * m_pcmButton
 
void doReCreateMenuBar() override
 
PANEL_KICAD_LAUNCHER * m_launcher
 
void HideTabsIfNeeded()
Hides the tabs for Editor notebook if there is only 1 page.
 
wxString help_name() override
 
const wxString PcbFileName()
 
std::unique_ptr< UPDATE_MANAGER > m_updateManager
 
wxAuiNotebook * m_notebook
 
PROJECT & Prj() const
Return a reference to the PROJECT associated with this KIWAY.
 
Main class of Plugin and Content Manager subsystem.
 
PROJECT_TREE_PANE Window to display the tree files.
 
PROJECT_TREE This is the class to show (as a tree) the files in the project directory.
 
Container for project specific data.
 
Look for files in a number of paths.