25#ifndef DIALOG_DESIGN_BLOCK_PROPERTIES_H
26#define DIALOG_DESIGN_BLOCK_PROPERTIES_H
46 void OnAddField( wxCommandEvent& aEvent )
override;
51 void OnSizeGrid( wxSizeEvent& event )
override;
57 nlohmann::ordered_map<wxString, wxString>
m_fields;
DIALOG_DESIGN_BLOCK_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Design Block Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void OnDeleteField(wxCommandEvent &aEvent) override
DESIGN_BLOCK * m_designBlock
void OnSizeGrid(wxSizeEvent &event) override
void OnMoveFieldUp(wxCommandEvent &aEvent) override
bool TransferDataToWindow() override
void OnMoveFieldDown(wxCommandEvent &aEvent) override
void OnAddField(wxCommandEvent &aEvent) override
bool TransferDataFromGrid()
~DIALOG_DESIGN_BLOCK_PROPERTIES() override
bool TransferDataToGrid()
void AdjustGridColumns(int aWidth)
bool TransferDataFromWindow() override
DIALOG_DESIGN_BLOCK_PROPERTIES(wxWindow *aParent, DESIGN_BLOCK *aDesignBlock, bool aDisableName=false)
nlohmann::ordered_map< wxString, wxString > m_fields
Schematic editor (Eeschema) main window.