KiCad PCB EDA Suite
pcbnew/hotkeys.cpp File Reference
#include <fctsys.h>
#include <pcbnew.h>
#include <wxPcbStruct.h>
#include <modview_frame.h>
#include <pcbnew_id.h>
#include <hotkeys.h>

Go to the source code of this file.

Functions

static EDA_HOTKEY HkSwitch2InnerLayer5 (_HKI("Switch to Inner layer 5"), HK_SWITCH_LAYER_TO_INNER5, GR_KB_SHIFT+WXK_F5)
 
static EDA_HOTKEY HkSwitch2InnerLayer6 (_HKI("Switch to Inner layer 6"), HK_SWITCH_LAYER_TO_INNER6, GR_KB_SHIFT+WXK_F6)
 
static EDA_HOTKEY HkSaveModule (_HKI("Save Footprint"), HK_SAVE_MODULE, 'S'+GR_KB_CTRL)
 
static EDA_HOTKEY HkSavefile (_HKI("Save Board"), HK_SAVE_BOARD, 'S'+GR_KB_CTRL)
 
static EDA_HOTKEY HkSavefileAs (_HKI("Save Board As"), HK_SAVE_BOARD_AS, 'S'+GR_KB_CTRL+GR_KB_SHIFT)
 
static EDA_HOTKEY HkLoadfile (_HKI("Load Board"), HK_LOAD_BOARD, 'L'+GR_KB_CTRL)
 
static EDA_HOTKEY HkFindItem (_HKI("Find Item"), HK_FIND_ITEM, 'F'+GR_KB_CTRL)
 
static EDA_HOTKEY HkAddMicroVia (_HKI("Add MicroVia"), HK_ADD_MICROVIA, 'V'+GR_KB_CTRL)
 
static EDA_HOTKEY HkAddBlindBuriedVia (_HKI("Add Blind/Buried Via"), HK_ADD_BLIND_BURIED_VIA, 'V'+GR_KB_ALT+GR_KB_SHIFT)
 
static EDA_HOTKEY HkEditWithModedit (_HKI("Edit with Footprint Editor"), HK_EDIT_MODULE_WITH_MODEDIT, 'E'+GR_KB_CTRL)
 
static EDA_HOTKEY HkMoveItemExact (_HKI("Move Item Exactly"), HK_MOVE_ITEM_EXACT, 'M'+GR_KB_CTRL)
 
static EDA_HOTKEY HkPositionItemRelative (_HKI("Position Item Relative"), HK_POSITION_RELATIVE, 'R'+GR_KB_CTRL)
 
static EDA_HOTKEY HkDuplicateItem (_HKI("Duplicate Item"), HK_DUPLICATE_ITEM, 'D'+GR_KB_CTRL)
 
static EDA_HOTKEY HkDuplicateItemAndIncrement (_HKI("Duplicate Item and Increment"), HK_DUPLICATE_ITEM_AND_INCREMENT, 'D'+GR_KB_SHIFTCTRL)
 
static EDA_HOTKEY HkCreateArray (_HKI("Create Array"), HK_CREATE_ARRAY, 'N'+GR_KB_CTRL)
 
static EDA_HOTKEY HkZoneRemoveFilled (_HKI("Remove Filled Areas in All Zones"), HK_ZONE_REMOVE_FILLED, 'B'+GR_KB_CTRL)
 
static EDA_HOTKEY HkUndo (_HKI("Undo"), HK_UNDO, GR_KB_CTRL+ 'Z',(int) wxID_UNDO)
 
static EDA_HOTKEY HkRedo (_HKI("Redo"), HK_REDO, GR_KB_CTRL+ 'Y',(int) wxID_REDO)
 
static EDA_HOTKEY HkSwitchTrackWidthToPrevious (_HKI("Switch Track Width To Previous"), HK_SWITCH_TRACK_WIDTH_TO_PREVIOUS, 'W'+GR_KB_CTRL)
 
static EDA_HOTKEY HkSwitchGridToPrevious (_HKI("Switch Grid To Previous"), HK_SWITCH_GRID_TO_PREVIOUS, 'N'+GR_KB_SHIFT)
 
static EDA_HOTKEY HkSwitchUnits (_HKI("Switch Units"), HK_SWITCH_UNITS, 'U'+GR_KB_CTRL)
 
static wxString boardEditorSectionTag (wxT("[pcbnew]"))
 
static wxString moduleEditSectionTag (wxT("[footprinteditor]"))
 
static wxString commonSectionTitle (_HKI("Common"))
 
static wxString boardEditorSectionTitle (_HKI("Board Editor"))
 
static wxString moduleEditSectionTitle (_HKI("Footprint Editor"))
 

Variables

static EDA_HOTKEY HkMouseLeftClick (_HKI("Mouse Left Click"), HK_LEFT_CLICK, WXK_RETURN, 0)
 
static EDA_HOTKEY HkMouseLeftDClick (_HKI("Mouse Left Double Click"), HK_LEFT_DCLICK, WXK_END, 0)
 
static EDA_HOTKEY HkSwitch2CopperLayer (_HKI("Switch to Copper (B.Cu) layer"), HK_SWITCH_LAYER_TO_COPPER, WXK_PAGEDOWN)
 
static EDA_HOTKEY HkSwitch2ComponentLayer (_HKI("Switch to Component (F.Cu) layer"), HK_SWITCH_LAYER_TO_COMPONENT, WXK_PAGEUP)
 
static EDA_HOTKEY HkSwitch2InnerLayer1 (_HKI("Switch to Inner layer 1"), HK_SWITCH_LAYER_TO_INNER1, WXK_F5)
 
static EDA_HOTKEY HkSwitch2InnerLayer2 (_HKI("Switch to Inner layer 2"), HK_SWITCH_LAYER_TO_INNER2, WXK_F6)
 
static EDA_HOTKEY HkSwitch2InnerLayer3 (_HKI("Switch to Inner layer 3"), HK_SWITCH_LAYER_TO_INNER3, WXK_F7)
 
static EDA_HOTKEY HkSwitch2InnerLayer4 (_HKI("Switch to Inner layer 4"), HK_SWITCH_LAYER_TO_INNER4, WXK_F8)
 
static EDA_HOTKEY HkSwitch2NextCopperLayer (_HKI("Switch to Next Layer"), HK_SWITCH_LAYER_TO_NEXT, '+')
 
static EDA_HOTKEY HkSwitch2PreviousCopperLayer (_HKI("Switch to Previous Layer"), HK_SWITCH_LAYER_TO_PREVIOUS, '-')
 
static EDA_HOTKEY HkBackspace (_HKI("Delete Track Segment"), HK_BACK_SPACE, WXK_BACK)
 
static EDA_HOTKEY HkAddNewTrack (_HKI("Add New Track"), HK_ADD_NEW_TRACK, 'X')
 
static EDA_HOTKEY HkAddThroughVia (_HKI("Add Through Via"), HK_ADD_THROUGH_VIA, 'V')
 
static EDA_HOTKEY HkSelLayerAndAddThroughVia (_HKI("Select Layer and Add Through Via"), HK_SEL_LAYER_AND_ADD_THROUGH_VIA, '<')
 
static EDA_HOTKEY HkSelLayerAndAddBlindBuriedVia (_HKI("Select Layer and Add Blind/Buried Via"), HK_SEL_LAYER_AND_ADD_BLIND_BURIED_VIA, '<'+GR_KB_ALT)
 
static EDA_HOTKEY HkSwitchTrackPosture (_HKI("Switch Track Posture"), HK_SWITCH_TRACK_POSTURE, '/')
 
static EDA_HOTKEY HkDragTrackKeepSlope (_HKI("Drag Track Keep Slope"), HK_DRAG_TRACK_KEEP_SLOPE, 'D')
 
static EDA_HOTKEY HkPlaceItem (_HKI("Place Item"), HK_PLACE_ITEM, 'P')
 
static EDA_HOTKEY HkEditBoardItem (_HKI("Edit Item"), HK_EDIT_ITEM, 'E')
 
static EDA_HOTKEY HkFlipItem (_HKI("Flip Item"), HK_FLIP_ITEM, 'F')
 
static EDA_HOTKEY HkRotateItem (_HKI("Rotate Item"), HK_ROTATE_ITEM, 'R')
 
static EDA_HOTKEY HkMoveItem (_HKI("Move Item"), HK_MOVE_ITEM, 'M')
 
static EDA_HOTKEY HkCopyItem (_HKI("Copy Item"), HK_COPY_ITEM, 'C')
 
static EDA_HOTKEY HkDragFootprint (_HKI("Drag Item"), HK_DRAG_ITEM, 'G')
 
static EDA_HOTKEY HkGetAndMoveFootprint (_HKI("Get and Move Footprint"), HK_GET_AND_MOVE_FOOTPRINT, 'T')
 
static EDA_HOTKEY HkLock_Unlock_Footprint (_HKI("Lock/Unlock Footprint"), HK_LOCK_UNLOCK_FOOTPRINT, 'L')
 
static EDA_HOTKEY HkDelete (_HKI("Delete Track or Footprint"), HK_DELETE, WXK_DELETE)
 
static EDA_HOTKEY HkResetLocalCoord (_HKI("Reset Local Coordinates"), HK_RESET_LOCAL_COORD, ' ')
 
static EDA_HOTKEY HkSwitchHighContrastMode (_HKI("Toggle High Contrast Mode"), HK_SWITCH_HIGHCONTRAST_MODE,'H')
 
static EDA_HOTKEY HkSetGridOrigin (_HKI("Set Grid Origin"), HK_SET_GRID_ORIGIN, 'S')
 
static EDA_HOTKEY HkResetGridOrigin (_HKI("Reset Grid Origin"), HK_RESET_GRID_ORIGIN, 'Z')
 
static EDA_HOTKEY HkCanvasDefault (_HKI("Switch to Legacy Canvas"), HK_CANVAS_LEGACY, WXK_F9)
 
static EDA_HOTKEY HkCanvasOpenGL (_HKI("Switch to OpenGL Canvas"), HK_CANVAS_OPENGL, WXK_F11)
 
static EDA_HOTKEY HkCanvasCairo (_HKI("Switch to Cairo Canvas"), HK_CANVAS_CAIRO, WXK_F12)
 
static EDA_HOTKEY HkZoneFillOrRefill (_HKI("Fill or Refill All Zones"), HK_ZONE_FILL_OR_REFILL, 'B')
 
static EDA_HOTKEY HkZoomAuto (_HKI("Zoom Auto"), HK_ZOOM_AUTO, WXK_HOME)
 
static EDA_HOTKEY HkZoomCenter (_HKI("Zoom Center"), HK_ZOOM_CENTER, WXK_F4)
 
static EDA_HOTKEY HkZoomRedraw (_HKI("Zoom Redraw"), HK_ZOOM_REDRAW, WXK_F3)
 
static EDA_HOTKEY HkZoomIn (_HKI("Zoom In"), HK_ZOOM_IN, WXK_F1)
 
static EDA_HOTKEY HkZoomOut (_HKI("Zoom Out"), HK_ZOOM_OUT, WXK_F2)
 
static EDA_HOTKEY HkZoomSelection (_HKI("Zoom to Selection"), HK_ZOOM_SELECTION, '@', ID_ZOOM_SELECTION)
 
static EDA_HOTKEY Hk3DViewer (_HKI("3D Viewer"), HK_3D_VIEWER, GR_KB_ALT+ '3')
 
static EDA_HOTKEY HkHelp (_HKI("Help (this window)"), HK_HELP, '?')
 
static EDA_HOTKEY HkSwitchTrackWidthToNext (_HKI("Switch Track Width To Next"), HK_SWITCH_TRACK_WIDTH_TO_NEXT, 'W')
 
static EDA_HOTKEY HkSwitchGridToFastGrid1 (_HKI("Switch Grid To Fast Grid1"), HK_SWITCH_GRID_TO_FASTGRID1, GR_KB_ALT+ '1')
 
static EDA_HOTKEY HkSwitchGridToFastGrid2 (_HKI("Switch Grid To Fast Grid2"), HK_SWITCH_GRID_TO_FASTGRID2, GR_KB_ALT+ '2')
 
static EDA_HOTKEY HkSwitchGridToNext (_HKI("Switch Grid To Next"), HK_SWITCH_GRID_TO_NEXT, 'N')
 
static EDA_HOTKEY HkTrackDisplayMode (_HKI("Track Display Mode"), HK_SWITCH_TRACK_DISPLAY_MODE, 'K')
 
static EDA_HOTKEY HkAddModule (_HKI("Add Footprint"), HK_ADD_MODULE, 'O')
 
static EDA_HOTKEY HkIncLayerAlhpa (_HKI("Increment Layer Transparency"), HK_INC_LAYER_ALHPA, '}')
 
static EDA_HOTKEY HkDecLayerAlhpa (_HKI("Decrement Layer Transparency"), HK_DEC_LAYER_ALHPA, '{')
 
static EDA_HOTKEY HkSelectConnection (_HKI("Select Trivial Connection"), HK_SEL_TRIVIAL_CONNECTION, 'U')
 
static EDA_HOTKEY HkSelectCopper (_HKI("Select Copper Connection"), HK_SEL_COPPER_CONNECTION, 'I')
 
static EDA_HOTKEY HkRoutingOptions (_HKI("Routing Options"), HK_ROUTING_OPTIONS, 'E')
 
static EDA_HOTKEY HkCustomTrackWidth (_HKI("Custom Track/Via Size"), HK_CUSTOM_TRACK_WIDTH, 'Q')
 
static EDA_HOTKEY HkDpDimension (_HKI("Differential Pair Dimensions"), HK_DP_DIMENSIONS, 'P')
 
static EDA_HOTKEY HkViaSizeInc (_HKI("Increase Via Size"), HK_VIA_SIZE_INC, '\'')
 
static EDA_HOTKEY HkViaSizeDec (_HKI("Decrease Via Size"), HK_VIA_SIZE_DEC, '\\')
 
EDA_HOTKEYcommon_Hotkey_List []
 
EDA_HOTKEYcommon_basic_Hotkey_List []
 
EDA_HOTKEYboard_edit_Hotkey_List []
 
EDA_HOTKEYmodule_edit_Hotkey_List []
 
EDA_HOTKEYmodule_viewer_Hotkey_List []
 
struct EDA_HOTKEY_CONFIG g_Pcbnew_Editor_Hokeys_Descr []
 
struct EDA_HOTKEY_CONFIG g_Board_Editor_Hokeys_Descr []
 
struct EDA_HOTKEY_CONFIG g_Module_Editor_Hokeys_Descr []
 
struct EDA_HOTKEY_CONFIG g_Module_Viewer_Hokeys_Descr []
 

Function Documentation

static wxString boardEditorSectionTag ( wxT("[pcbnew]")  )
static
static wxString boardEditorSectionTitle ( _HKI("Board Editor")  )
static
static wxString commonSectionTitle ( _HKI("Common")  )
static
static EDA_HOTKEY HkAddBlindBuriedVia ( _HKI("Add Blind/Buried Via")  ,
HK_ADD_BLIND_BURIED_VIA  ,
'V'+GR_KB_ALT GR_KB_SHIFT 
)
static
static EDA_HOTKEY HkAddMicroVia ( _HKI("Add MicroVia")  ,
HK_ADD_MICROVIA  ,
'V'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkCreateArray ( _HKI("Create Array")  ,
HK_CREATE_ARRAY  ,
'N'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkDuplicateItem ( _HKI("Duplicate Item")  ,
HK_DUPLICATE_ITEM  ,
'D'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkDuplicateItemAndIncrement ( _HKI("Duplicate Item and Increment")  ,
HK_DUPLICATE_ITEM_AND_INCREMENT  ,
'D'+  GR_KB_SHIFTCTRL 
)
static
static EDA_HOTKEY HkEditWithModedit ( _HKI("Edit with Footprint Editor")  ,
HK_EDIT_MODULE_WITH_MODEDIT  ,
'E'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkFindItem ( _HKI("Find Item")  ,
HK_FIND_ITEM  ,
'F'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkLoadfile ( _HKI("Load Board")  ,
HK_LOAD_BOARD  ,
'L'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkMoveItemExact ( _HKI("Move Item Exactly")  ,
HK_MOVE_ITEM_EXACT  ,
'M'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkPositionItemRelative ( _HKI("Position Item Relative")  ,
HK_POSITION_RELATIVE  ,
'R'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkRedo ( _HKI("Redo")  ,
HK_REDO  ,
GR_KB_CTRL+ 'Y'  ,
(int)  wxID_REDO 
)
static
static EDA_HOTKEY HkSavefile ( _HKI("Save Board")  ,
HK_SAVE_BOARD  ,
'S'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkSavefileAs ( _HKI("Save Board As")  ,
HK_SAVE_BOARD_AS  ,
'S'+GR_KB_CTRL GR_KB_SHIFT 
)
static
static EDA_HOTKEY HkSaveModule ( _HKI("Save Footprint")  ,
HK_SAVE_MODULE  ,
'S'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkSwitch2InnerLayer5 ( _HKI("Switch to Inner layer 5")  ,
HK_SWITCH_LAYER_TO_INNER5  ,
GR_KB_SHIFT WXK_F5 
)
static
static EDA_HOTKEY HkSwitch2InnerLayer6 ( _HKI("Switch to Inner layer 6")  ,
HK_SWITCH_LAYER_TO_INNER6  ,
GR_KB_SHIFT WXK_F6 
)
static
static EDA_HOTKEY HkSwitchGridToPrevious ( _HKI("Switch Grid To Previous")  ,
HK_SWITCH_GRID_TO_PREVIOUS  ,
'N'+  GR_KB_SHIFT 
)
static
static EDA_HOTKEY HkSwitchTrackWidthToPrevious ( _HKI("Switch Track Width To Previous")  ,
HK_SWITCH_TRACK_WIDTH_TO_PREVIOUS  ,
'W'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkSwitchUnits ( _HKI("Switch Units")  ,
HK_SWITCH_UNITS  ,
'U'+  GR_KB_CTRL 
)
static
static EDA_HOTKEY HkUndo ( _HKI("Undo")  ,
HK_UNDO  ,
GR_KB_CTRL+ 'Z'  ,
(int)  wxID_UNDO 
)
static
static EDA_HOTKEY HkZoneRemoveFilled ( _HKI("Remove Filled Areas in All Zones")  ,
HK_ZONE_REMOVE_FILLED  ,
'B'+  GR_KB_CTRL 
)
static
static wxString moduleEditSectionTag ( wxT("[footprinteditor]")  )
static
static wxString moduleEditSectionTitle ( _HKI("Footprint Editor")  )
static

Variable Documentation

EDA_HOTKEY* board_edit_Hotkey_List[]
EDA_HOTKEY* common_basic_Hotkey_List[]
Initial value:
=
{
NULL
}
static EDA_HOTKEY HkMouseLeftClick(_HKI("Mouse Left Click"), HK_LEFT_CLICK, WXK_RETURN, 0)
static EDA_HOTKEY HkZoomIn(_HKI("Zoom In"), HK_ZOOM_IN, WXK_F1)
static EDA_HOTKEY HkZoomCenter(_HKI("Zoom Center"), HK_ZOOM_CENTER, WXK_F4)
static EDA_HOTKEY HkZoomOut(_HKI("Zoom Out"), HK_ZOOM_OUT, WXK_F2)
static EDA_HOTKEY Hk3DViewer(_HKI("3D Viewer"), HK_3D_VIEWER, GR_KB_ALT+ '3')
static EDA_HOTKEY HkZoomAuto(_HKI("Zoom Auto"), HK_ZOOM_AUTO, WXK_HOME)
static EDA_HOTKEY HkSwitchUnits(_HKI("Switch Units"), HK_SWITCH_UNITS, 'U'+GR_KB_CTRL)
static EDA_HOTKEY HkHelp(_HKI("Help (this window)"), HK_HELP, '?')
static EDA_HOTKEY HkMouseLeftDClick(_HKI("Mouse Left Double Click"), HK_LEFT_DCLICK, WXK_END, 0)
static EDA_HOTKEY HkZoomRedraw(_HKI("Zoom Redraw"), HK_ZOOM_REDRAW, WXK_F3)
static EDA_HOTKEY HkResetLocalCoord(_HKI("Reset Local Coordinates"), HK_RESET_LOCAL_COORD, ' ')

Definition at line 268 of file pcbnew/hotkeys.cpp.

EDA_HOTKEY* common_Hotkey_List[]
Initial value:
=
{
NULL
}
static EDA_HOTKEY HkMouseLeftClick(_HKI("Mouse Left Click"), HK_LEFT_CLICK, WXK_RETURN, 0)
static EDA_HOTKEY HkZoomIn(_HKI("Zoom In"), HK_ZOOM_IN, WXK_F1)
static EDA_HOTKEY HkDecLayerAlhpa(_HKI("Decrement Layer Transparency"), HK_DEC_LAYER_ALHPA, '{')
static EDA_HOTKEY HkZoomCenter(_HKI("Zoom Center"), HK_ZOOM_CENTER, WXK_F4)
static EDA_HOTKEY HkZoomOut(_HKI("Zoom Out"), HK_ZOOM_OUT, WXK_F2)
static EDA_HOTKEY HkIncLayerAlhpa(_HKI("Increment Layer Transparency"), HK_INC_LAYER_ALHPA, '}')
static EDA_HOTKEY HkUndo(_HKI("Undo"), HK_UNDO, GR_KB_CTRL+ 'Z',(int) wxID_UNDO)
static EDA_HOTKEY Hk3DViewer(_HKI("3D Viewer"), HK_3D_VIEWER, GR_KB_ALT+ '3')
static EDA_HOTKEY HkRedo(_HKI("Redo"), HK_REDO, GR_KB_CTRL+ 'Y',(int) wxID_REDO)
static EDA_HOTKEY HkZoomAuto(_HKI("Zoom Auto"), HK_ZOOM_AUTO, WXK_HOME)
static EDA_HOTKEY HkSetGridOrigin(_HKI("Set Grid Origin"), HK_SET_GRID_ORIGIN, 'S')
static EDA_HOTKEY HkSwitchUnits(_HKI("Switch Units"), HK_SWITCH_UNITS, 'U'+GR_KB_CTRL)
static EDA_HOTKEY HkHelp(_HKI("Help (this window)"), HK_HELP, '?')
static EDA_HOTKEY HkMouseLeftDClick(_HKI("Mouse Left Double Click"), HK_LEFT_DCLICK, WXK_END, 0)
static EDA_HOTKEY HkZoomRedraw(_HKI("Zoom Redraw"), HK_ZOOM_REDRAW, WXK_F3)
static EDA_HOTKEY HkResetGridOrigin(_HKI("Reset Grid Origin"), HK_RESET_GRID_ORIGIN, 'Z')
static EDA_HOTKEY HkZoomSelection(_HKI("Zoom to Selection"), HK_ZOOM_SELECTION, '@', ID_ZOOM_SELECTION)
static EDA_HOTKEY HkResetLocalCoord(_HKI("Reset Local Coordinates"), HK_RESET_LOCAL_COORD, ' ')

Definition at line 255 of file pcbnew/hotkeys.cpp.

struct EDA_HOTKEY_CONFIG g_Module_Editor_Hokeys_Descr[]
Initial value:
= {
{ NULL, NULL, NULL }
}
static wxString moduleEditSectionTitle(_HKI("Footprint Editor"))
static wxString commonSectionTitle(_HKI("Common"))
static wxString moduleEditSectionTag(wxT("[footprinteditor]"))
EDA_HOTKEY * module_edit_Hotkey_List[]
wxString g_CommonSectionTag
EDA_HOTKEY * common_Hotkey_List[]

Definition at line 356 of file pcbnew/hotkeys.cpp.

Referenced by EVT_UPDATE_UI(), FOOTPRINT_EDIT_FRAME::OnHotKey(), FOOTPRINT_EDIT_FRAME::OnRightClick(), FOOTPRINT_EDIT_FRAME::ProcessPreferences(), FOOTPRINT_EDIT_FRAME::ReCreateHToolbar(), and FOOTPRINT_WIZARD_FRAME::ReCreateHToolbar().

struct EDA_HOTKEY_CONFIG g_Module_Viewer_Hokeys_Descr[]
Initial value:
= {
{ NULL, NULL, NULL }
}
static wxString commonSectionTitle(_HKI("Common"))
EDA_HOTKEY * common_basic_Hotkey_List[]
wxString g_CommonSectionTag

Definition at line 364 of file pcbnew/hotkeys.cpp.

Referenced by EVT_GRID_CMD_CELL_CHANGED(), EVT_TOOL(), FOOTPRINT_VIEWER_FRAME::ReCreateHToolbar(), FOOTPRINT_VIEWER_FRAME::ReCreateMenuBar(), and FOOTPRINT_EDIT_FRAME::ReCreateMenuBar().

struct EDA_HOTKEY_CONFIG g_Pcbnew_Editor_Hokeys_Descr[]
Initial value:
= {
{ NULL, NULL, NULL }
}
static wxString boardEditorSectionTitle(_HKI("Board Editor"))
static wxString moduleEditSectionTitle(_HKI("Footprint Editor"))
static wxString commonSectionTitle(_HKI("Common"))
static wxString boardEditorSectionTag(wxT("[pcbnew]"))
EDA_HOTKEY * board_edit_Hotkey_List[]
static wxString moduleEditSectionTag(wxT("[footprinteditor]"))
EDA_HOTKEY * module_edit_Hotkey_List[]
wxString g_CommonSectionTag
EDA_HOTKEY * common_Hotkey_List[]

Definition at line 339 of file pcbnew/hotkeys.cpp.

Referenced by prepareEditMenu(), prepareFilesMenu(), preparePlaceMenu(), and prepareViewMenu().

EDA_HOTKEY Hk3DViewer(_HKI("3D Viewer"), HK_3D_VIEWER, GR_KB_ALT+ '3')
static
EDA_HOTKEY HkAddModule(_HKI("Add Footprint"), HK_ADD_MODULE, 'O')
static
EDA_HOTKEY HkAddNewTrack(_HKI("Add New Track"), HK_ADD_NEW_TRACK, 'X')
static
EDA_HOTKEY HkAddThroughVia(_HKI("Add Through Via"), HK_ADD_THROUGH_VIA, 'V')
static
EDA_HOTKEY HkBackspace(_HKI("Delete Track Segment"), HK_BACK_SPACE, WXK_BACK)
static
EDA_HOTKEY HkCanvasCairo(_HKI("Switch to Cairo Canvas"), HK_CANVAS_CAIRO, WXK_F12)
static
EDA_HOTKEY HkCanvasDefault(_HKI("Switch to Legacy Canvas"), HK_CANVAS_LEGACY, WXK_F9)
static
EDA_HOTKEY HkCanvasOpenGL(_HKI("Switch to OpenGL Canvas"), HK_CANVAS_OPENGL, WXK_F11)
static
EDA_HOTKEY HkCopyItem(_HKI("Copy Item"), HK_COPY_ITEM, 'C')
static
EDA_HOTKEY HkCustomTrackWidth(_HKI("Custom Track/Via Size"), HK_CUSTOM_TRACK_WIDTH, 'Q')
static
EDA_HOTKEY HkDecLayerAlhpa(_HKI("Decrement Layer Transparency"), HK_DEC_LAYER_ALHPA, '{')
static
EDA_HOTKEY HkDelete(_HKI("Delete Track or Footprint"), HK_DELETE, WXK_DELETE)
static
EDA_HOTKEY HkDpDimension(_HKI("Differential Pair Dimensions"), HK_DP_DIMENSIONS, 'P')
static
EDA_HOTKEY HkDragFootprint(_HKI("Drag Item"), HK_DRAG_ITEM, 'G')
static
EDA_HOTKEY HkDragTrackKeepSlope(_HKI("Drag Track Keep Slope"), HK_DRAG_TRACK_KEEP_SLOPE, 'D')
static
EDA_HOTKEY HkEditBoardItem(_HKI("Edit Item"), HK_EDIT_ITEM, 'E')
static
EDA_HOTKEY HkFlipItem(_HKI("Flip Item"), HK_FLIP_ITEM, 'F')
static
EDA_HOTKEY HkGetAndMoveFootprint(_HKI("Get and Move Footprint"), HK_GET_AND_MOVE_FOOTPRINT, 'T')
static
EDA_HOTKEY HkHelp(_HKI("Help (this window)"), HK_HELP, '?')
static
EDA_HOTKEY HkIncLayerAlhpa(_HKI("Increment Layer Transparency"), HK_INC_LAYER_ALHPA, '}')
static
EDA_HOTKEY HkLock_Unlock_Footprint(_HKI("Lock/Unlock Footprint"), HK_LOCK_UNLOCK_FOOTPRINT, 'L')
static
EDA_HOTKEY HkMouseLeftClick(_HKI("Mouse Left Click"), HK_LEFT_CLICK, WXK_RETURN, 0)
static
EDA_HOTKEY HkMouseLeftDClick(_HKI("Mouse Left Double Click"), HK_LEFT_DCLICK, WXK_END, 0)
static
EDA_HOTKEY HkMoveItem(_HKI("Move Item"), HK_MOVE_ITEM, 'M')
static
EDA_HOTKEY HkPlaceItem(_HKI("Place Item"), HK_PLACE_ITEM, 'P')
static
EDA_HOTKEY HkResetGridOrigin(_HKI("Reset Grid Origin"), HK_RESET_GRID_ORIGIN, 'Z')
static
EDA_HOTKEY HkResetLocalCoord(_HKI("Reset Local Coordinates"), HK_RESET_LOCAL_COORD, ' ')
static
EDA_HOTKEY HkRotateItem(_HKI("Rotate Item"), HK_ROTATE_ITEM, 'R')
static
EDA_HOTKEY HkRoutingOptions(_HKI("Routing Options"), HK_ROUTING_OPTIONS, 'E')
static
EDA_HOTKEY HkSelectConnection(_HKI("Select Trivial Connection"), HK_SEL_TRIVIAL_CONNECTION, 'U')
static
EDA_HOTKEY HkSelectCopper(_HKI("Select Copper Connection"), HK_SEL_COPPER_CONNECTION, 'I')
static
EDA_HOTKEY HkSelLayerAndAddBlindBuriedVia(_HKI("Select Layer and Add Blind/Buried Via"), HK_SEL_LAYER_AND_ADD_BLIND_BURIED_VIA, '<'+GR_KB_ALT)
static
EDA_HOTKEY HkSelLayerAndAddThroughVia(_HKI("Select Layer and Add Through Via"), HK_SEL_LAYER_AND_ADD_THROUGH_VIA, '<')
static
EDA_HOTKEY HkSetGridOrigin(_HKI("Set Grid Origin"), HK_SET_GRID_ORIGIN, 'S')
static
EDA_HOTKEY HkSwitch2ComponentLayer(_HKI("Switch to Component (F.Cu) layer"), HK_SWITCH_LAYER_TO_COMPONENT, WXK_PAGEUP)
static
EDA_HOTKEY HkSwitch2CopperLayer(_HKI("Switch to Copper (B.Cu) layer"), HK_SWITCH_LAYER_TO_COPPER, WXK_PAGEDOWN)
static
EDA_HOTKEY HkSwitch2InnerLayer1(_HKI("Switch to Inner layer 1"), HK_SWITCH_LAYER_TO_INNER1, WXK_F5)
static
EDA_HOTKEY HkSwitch2InnerLayer2(_HKI("Switch to Inner layer 2"), HK_SWITCH_LAYER_TO_INNER2, WXK_F6)
static
EDA_HOTKEY HkSwitch2InnerLayer3(_HKI("Switch to Inner layer 3"), HK_SWITCH_LAYER_TO_INNER3, WXK_F7)
static
EDA_HOTKEY HkSwitch2InnerLayer4(_HKI("Switch to Inner layer 4"), HK_SWITCH_LAYER_TO_INNER4, WXK_F8)
static
EDA_HOTKEY HkSwitch2NextCopperLayer(_HKI("Switch to Next Layer"), HK_SWITCH_LAYER_TO_NEXT, '+')
static
EDA_HOTKEY HkSwitch2PreviousCopperLayer(_HKI("Switch to Previous Layer"), HK_SWITCH_LAYER_TO_PREVIOUS, '-')
static
EDA_HOTKEY HkSwitchGridToFastGrid1(_HKI("Switch Grid To Fast Grid1"), HK_SWITCH_GRID_TO_FASTGRID1, GR_KB_ALT+ '1')
static
EDA_HOTKEY HkSwitchGridToFastGrid2(_HKI("Switch Grid To Fast Grid2"), HK_SWITCH_GRID_TO_FASTGRID2, GR_KB_ALT+ '2')
static
EDA_HOTKEY HkSwitchGridToNext(_HKI("Switch Grid To Next"), HK_SWITCH_GRID_TO_NEXT, 'N')
static
EDA_HOTKEY HkSwitchHighContrastMode(_HKI("Toggle High Contrast Mode"), HK_SWITCH_HIGHCONTRAST_MODE,'H')
static
EDA_HOTKEY HkSwitchTrackPosture(_HKI("Switch Track Posture"), HK_SWITCH_TRACK_POSTURE, '/')
static
EDA_HOTKEY HkSwitchTrackWidthToNext(_HKI("Switch Track Width To Next"), HK_SWITCH_TRACK_WIDTH_TO_NEXT, 'W')
static
EDA_HOTKEY HkTrackDisplayMode(_HKI("Track Display Mode"), HK_SWITCH_TRACK_DISPLAY_MODE, 'K')
static
EDA_HOTKEY HkViaSizeDec(_HKI("Decrease Via Size"), HK_VIA_SIZE_DEC, '\\')
static
EDA_HOTKEY HkViaSizeInc(_HKI("Increase Via Size"), HK_VIA_SIZE_INC, '\'')
static
EDA_HOTKEY HkZoneFillOrRefill(_HKI("Fill or Refill All Zones"), HK_ZONE_FILL_OR_REFILL, 'B')
static
EDA_HOTKEY HkZoomAuto(_HKI("Zoom Auto"), HK_ZOOM_AUTO, WXK_HOME)
static
EDA_HOTKEY HkZoomCenter(_HKI("Zoom Center"), HK_ZOOM_CENTER, WXK_F4)
static
EDA_HOTKEY HkZoomIn(_HKI("Zoom In"), HK_ZOOM_IN, WXK_F1)
static
EDA_HOTKEY HkZoomOut(_HKI("Zoom Out"), HK_ZOOM_OUT, WXK_F2)
static
EDA_HOTKEY HkZoomRedraw(_HKI("Zoom Redraw"), HK_ZOOM_REDRAW, WXK_F3)
static
EDA_HOTKEY HkZoomSelection(_HKI("Zoom to Selection"), HK_ZOOM_SELECTION, '@', ID_ZOOM_SELECTION)
static
EDA_HOTKEY* module_edit_Hotkey_List[]
Initial value:
= {
NULL
}
static EDA_HOTKEY HkDelete(_HKI("Delete Track or Footprint"), HK_DELETE, WXK_DELETE)
static EDA_HOTKEY HkDuplicateItemAndIncrement(_HKI("Duplicate Item and Increment"), HK_DUPLICATE_ITEM_AND_INCREMENT, 'D'+GR_KB_SHIFTCTRL)
static EDA_HOTKEY HkCanvasDefault(_HKI("Switch to Legacy Canvas"), HK_CANVAS_LEGACY, WXK_F9)
static EDA_HOTKEY HkRotateItem(_HKI("Rotate Item"), HK_ROTATE_ITEM, 'R')
static EDA_HOTKEY HkSaveModule(_HKI("Save Footprint"), HK_SAVE_MODULE, 'S'+GR_KB_CTRL)
static EDA_HOTKEY HkMoveItemExact(_HKI("Move Item Exactly"), HK_MOVE_ITEM_EXACT, 'M'+GR_KB_CTRL)
static EDA_HOTKEY HkDuplicateItem(_HKI("Duplicate Item"), HK_DUPLICATE_ITEM, 'D'+GR_KB_CTRL)
static EDA_HOTKEY HkEditBoardItem(_HKI("Edit Item"), HK_EDIT_ITEM, 'E')
static EDA_HOTKEY HkCanvasOpenGL(_HKI("Switch to OpenGL Canvas"), HK_CANVAS_OPENGL, WXK_F11)
static EDA_HOTKEY HkCreateArray(_HKI("Create Array"), HK_CREATE_ARRAY, 'N'+GR_KB_CTRL)
static EDA_HOTKEY HkCanvasCairo(_HKI("Switch to Cairo Canvas"), HK_CANVAS_CAIRO, WXK_F12)
static EDA_HOTKEY HkMoveItem(_HKI("Move Item"), HK_MOVE_ITEM, 'M')

Definition at line 313 of file pcbnew/hotkeys.cpp.

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

EDA_HOTKEY* module_viewer_Hotkey_List[]
Initial value:
= {
NULL
}

Definition at line 323 of file pcbnew/hotkeys.cpp.