KiCad PCB EDA Suite
kicad/menubar.cpp File Reference

(Re)Create the project manager menubar for KiCad More...

#include <bitmaps.h>
#include <hotkeys_basic.h>
#include <menus_helpers.h>
#include "kicad.h"
#include "pgm_kicad.h"

Go to the source code of this file.

Functions

 EVT_MENU (ID_SELECT_PREFERED_PDF_BROWSER_NAME, KICAD_MANAGER_FRAME::OnSelectPreferredPdfBrowser) EVT_MENU_RANGE(ID_PREFERENCES_HOTKEY_START
 
KICAD_MANAGER_FRAME::Process_Config EVT_MENU_RANGE (ID_KICAD_SELECT_ICONS_OPTIONS, ID_KICAD_SELECT_ICON_OPTIONS_END, KICAD_MANAGER_FRAME::OnChangeIconsOptions) EVT_UPDATE_UI(ID_SELECT_PREFERED_PDF_BROWSER
 
KICAD_MANAGER_FRAME::Process_Config KICAD_MANAGER_FRAME::OnUpdatePreferredPdfBrowser EVT_UPDATE_UI_RANGE (ID_TO_SCH, ID_TO_PCB_FP_EDITOR, KICAD_MANAGER_FRAME::OnUpdateRequiresProject) enum hotkey_id_commnand
 
static EDA_HOTKEY HkLoadPrj (_HKI("Load project"), HK_LOAD_PROJECT, 'O'+GR_KB_CTRL)
 
static EDA_HOTKEY HkSavePrj (_HKI("Save project"), HK_SAVE_PROJECT, 'S'+GR_KB_CTRL)
 
static EDA_HOTKEY HkNewProject (_HKI("New Project"), HK_NEW_PRJ, 'N'+GR_KB_CTRL)
 
static EDA_HOTKEY HkNewPrjFromTemplate (_HKI("New Prj From Template"), HK_NEW_PRJ_TEMPLATE, 'T'+GR_KB_CTRL)
 
static EDA_HOTKEY HkRunEeschema (_HKI("Run Eeschema"), HK_RUN_EESCHEMA, 'E'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunLibedit (_HKI("Run LibEdit"), HK_RUN_LIBEDIT, 'L'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunPcbnew (_HKI("Run Pcbnew"), HK_RUN_PCBNEW, 'P'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunModedit (_HKI("Run FpEditor"), HK_RUN_FPEDITOR, 'F'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunGerbview (_HKI("Run Gerbview"), HK_RUN_GERBVIEW, 'G'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunBm2Cmp (_HKI("Run Bitmap2Component"), HK_RUN_BM2COMPONENT, 'B'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunPcbCalc (_HKI("Run PcbCalculator"), HK_RUN_PCBCALCULATOR, 'A'+GR_KB_CTRL, 0)
 
static EDA_HOTKEY HkRunPleditor (_HKI("Run PlEditor"), HK_RUN_PLEDITOR, 'Y'+GR_KB_CTRL, 0)
 
static wxString sectionTitle (_HKI("Kicad Manager Hotkeys"))
 

Variables

 ID_PREFERENCES_HOTKEY_END
 
static EDA_HOTKEY HkHelp (_HKI("Help (this window)"), HK_HELP, '?')
 
EDA_HOTKEYcommon_Hotkey_List []
 
struct EDA_HOTKEY_CONFIG kicad_Manager_Hokeys_Descr []
 

Detailed Description

(Re)Create the project manager menubar for KiCad

Definition in file kicad/menubar.cpp.

Function Documentation

Definition at line 114 of file kicad/menubar.cpp.

References HK_COMMON_END.

120 {
121  HK_RUN_EESCHEMA = HK_COMMON_END,
122  HK_LOAD_PROJECT,
123  HK_SAVE_PROJECT,
124  HK_NEW_PRJ,
125  HK_NEW_PRJ_TEMPLATE,
126  HK_RUN_LIBEDIT,
127  HK_RUN_PCBNEW,
128  HK_RUN_FPEDITOR,
129  HK_RUN_GERBVIEW,
130  HK_RUN_BM2COMPONENT,
131  HK_RUN_PCBCALCULATOR,
132  HK_RUN_PLEDITOR
133 };
static EDA_HOTKEY HkLoadPrj ( _HKI("Load project")  ,
HK_LOAD_PROJECT  ,
'O'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkNewPrjFromTemplate ( _HKI("New Prj From Template")  ,
HK_NEW_PRJ_TEMPLATE  ,
'T'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkNewProject ( _HKI("New Project")  ,
HK_NEW_PRJ  ,
'N'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkRunBm2Cmp ( _HKI("Run Bitmap2Component")  ,
HK_RUN_BM2COMPONENT  ,
'B'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunEeschema ( _HKI("Run Eeschema")  ,
HK_RUN_EESCHEMA  ,
'E'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunGerbview ( _HKI("Run Gerbview")  ,
HK_RUN_GERBVIEW  ,
'G'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunLibedit ( _HKI("Run LibEdit")  ,
HK_RUN_LIBEDIT  ,
'L'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunModedit ( _HKI("Run FpEditor")  ,
HK_RUN_FPEDITOR  ,
'F'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunPcbCalc ( _HKI("Run PcbCalculator")  ,
HK_RUN_PCBCALCULATOR  ,
'A'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunPcbnew ( _HKI("Run Pcbnew")  ,
HK_RUN_PCBNEW  ,
'P'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkRunPleditor ( _HKI("Run PlEditor")  ,
HK_RUN_PLEDITOR  ,
'Y'+  GR_KB_CTRL,
 
)
static
static EDA_HOTKEY HkSavePrj ( _HKI("Save project")  ,
HK_SAVE_PROJECT  ,
'S'+  GR_KB_CTRL 
)
static
static wxString sectionTitle ( _HKI("Kicad Manager Hotkeys")  )
static

Variable Documentation

EDA_HOTKEY* common_Hotkey_List[]
Initial value:
=
{
NULL
}
static EDA_HOTKEY HkRunPcbnew(_HKI("Run Pcbnew"), HK_RUN_PCBNEW, 'P'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkHelp(_HKI("Help (this window)"), HK_HELP, '?')
static EDA_HOTKEY HkRunGerbview(_HKI("Run Gerbview"), HK_RUN_GERBVIEW, 'G'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkNewPrjFromTemplate(_HKI("New Prj From Template"), HK_NEW_PRJ_TEMPLATE, 'T'+GR_KB_CTRL)
static EDA_HOTKEY HkRunPcbCalc(_HKI("Run PcbCalculator"), HK_RUN_PCBCALCULATOR, 'A'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkRunEeschema(_HKI("Run Eeschema"), HK_RUN_EESCHEMA, 'E'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkRunBm2Cmp(_HKI("Run Bitmap2Component"), HK_RUN_BM2COMPONENT, 'B'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkLoadPrj(_HKI("Load project"), HK_LOAD_PROJECT, 'O'+GR_KB_CTRL)
static EDA_HOTKEY HkRunLibedit(_HKI("Run LibEdit"), HK_RUN_LIBEDIT, 'L'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkSavePrj(_HKI("Save project"), HK_SAVE_PROJECT, 'S'+GR_KB_CTRL)
static EDA_HOTKEY HkRunModedit(_HKI("Run FpEditor"), HK_RUN_FPEDITOR, 'F'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkRunPleditor(_HKI("Run PlEditor"), HK_RUN_PLEDITOR, 'Y'+GR_KB_CTRL, 0)
static EDA_HOTKEY HkNewProject(_HKI("New Project"), HK_NEW_PRJ, 'N'+GR_KB_CTRL)

Definition at line 162 of file kicad/menubar.cpp.

Referenced by FOOTPRINT_EDIT_FRAME::GetHotKeyDescription(), PCB_EDIT_FRAME::GetHotKeyDescription(), FOOTPRINT_EDIT_FRAME::OnHotKey(), and PCB_EDIT_FRAME::OnHotKey().

EDA_HOTKEY HkHelp(_HKI("Help (this window)"), HK_HELP, '?')
static
ID_PREFERENCES_HOTKEY_END

Definition at line 76 of file kicad/menubar.cpp.

struct EDA_HOTKEY_CONFIG kicad_Manager_Hokeys_Descr[]
Initial value:
= {
{ NULL, NULL, NULL }
}
EDA_HOTKEY * common_Hotkey_List[]
static wxString sectionTitle(_HKI("Kicad Manager Hotkeys"))
wxString g_CommonSectionTag

Definition at line 177 of file kicad/menubar.cpp.

Referenced by KICAD_MANAGER_FRAME::ReCreateMenuBar().