KiCad PCB EDA Suite
dialog_hotkeys_editor.h File Reference

Go to the source code of this file.

Classes

class  HOTKEYS_EDITOR_DIALOG
 Class HOTKEYS_EDITOR_DIALOG is the child class of HOTKEYS_EDITOR_DIALOG_BASE. More...
 

Functions

void InstallHotkeyFrame (EDA_BASE_FRAME *aParent, EDA_HOTKEY_CONFIG *aHotkeys)
 Function InstallHotkeyFrame Create a hotkey editor dialog window with the provided hotkey configuration array. More...
 

Function Documentation

void InstallHotkeyFrame ( EDA_BASE_FRAME aParent,
EDA_HOTKEY_CONFIG aHotkeys 
)

Function InstallHotkeyFrame Create a hotkey editor dialog window with the provided hotkey configuration array.

Parameters
aParentis the parent window
aHotkeysis the hotkey configuration array

Definition at line 26 of file dialog_hotkeys_editor.cpp.

References EDA_BASE_FRAME::ReCreateMenuBar().

Referenced by KICAD_MANAGER_FRAME::Process_Config(), LIB_EDIT_FRAME::Process_Config(), SCH_EDIT_FRAME::Process_Config(), PL_EDITOR_FRAME::Process_Config(), PCB_EDIT_FRAME::Process_Config(), GERBVIEW_FRAME::Process_Config(), and FOOTPRINT_EDIT_FRAME::ProcessPreferences().

27 {
28  HOTKEYS_EDITOR_DIALOG dialog( aParent, aHotkeys );
29 
30  int diag = dialog.ShowModal();
31 
32  if( diag == wxID_OK )
33  {
34  aParent->ReCreateMenuBar();
35  aParent->Refresh();
36  }
37 }
Class HOTKEYS_EDITOR_DIALOG is the child class of HOTKEYS_EDITOR_DIALOG_BASE.
virtual void ReCreateMenuBar()
Function ReCreateMenuBar Creates recreates the menu bar.
Definition: basicframe.cpp:237