36 wxBoxSizer* main_sizer =
new wxBoxSizer( wxVERTICAL );
59 main_sizer->Add(
m_hk_list, 1, wxTOP | wxLEFT | wxRIGHT | wxEXPAND, margin );
61 wxStdDialogButtonSizer* sdb_sizer =
new wxStdDialogButtonSizer;
62 sdb_sizer->AddButton(
new wxButton(
this, wxID_OK ) );
65 main_sizer->Add( sdb_sizer, 0, wxEXPAND | wxALL, margin );
67 SetSizer( main_sizer );
68 main_sizer->SetMinSize( 600, 400 );
DIALOG_LIST_HOTKEYS(EDA_BASE_FRAME *aParent)
Construct a hotkey list dialog on the given frame.
PANEL_HOTKEYS_EDITOR * m_hk_list
bool TransferDataToWindow() override
Called on dialog initialisation - inits the dialog's own widgets.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
The base frame for deriving all KiCad main window classes.
KIWAY & Kiway() const
Return a reference to the KIWAY that this object has an opportunity to participate in.
virtual KIFACE * KiFACE(FACE_T aFaceId, bool doLoad=true)
Return the KIFACE* given a FACE_T.
virtual void GetActions(std::vector< TOOL_ACTION * > &aActions) const
Append all registered actions to the given list.
std::vector< TOOL_ACTION * > & ActionsList()
bool TransferDataToWindow() override
Hotkey list dialog (as opposed to editor)
void ReadHotKeyConfigIntoActions(const wxString &aFileName, std::vector< TOOL_ACTION * > &aActions)
Reads a hotkey config file into a list of actions.
int GetStdMargin()
Get the standard margin around a widget in the KiCad UI.
Implement a participant in the KIWAY alchemy.
Functions to provide common constants and other functions to assist in making a consistent UI.