20#ifndef PANEL_SETUP_VIA_STACKS_H
21#define PANEL_SETUP_VIA_STACKS_H
45 bool nameIsFree(
const wxString& aName,
int aIgnoreRow )
const;
48 void onAdd( wxCommandEvent& aEvent );
49 void onEdit( wxCommandEvent& aEvent );
50 void onRemove( wxCommandEvent& aEvent );
Container for design settings for a BOARD object.
Information pertinent to a Pcbnew printed circuit board.
PANEL_SETUP_VIA_STACKS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
PANEL_SETUP_VIA_STACKS(wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame)
void onRemove(wxCommandEvent &aEvent)
bool editPreset(VIA_STACK_PRESET &aPreset)
bool nameIsFree(const wxString &aName, int aIgnoreRow) const
void loadFrom(BOARD_DESIGN_SETTINGS &aBds)
bool TransferDataToWindow() override
void ImportSettingsFrom(BOARD *aBoard)
void onEdit(wxCommandEvent &aEvent)
std::vector< VIA_STACK_PRESET > m_presets
bool TransferDataFromWindow() override
void onAdd(wxCommandEvent &aEvent)
void onCellChanged(wxGridEvent &aEvent)
The main frame for Pcbnew.
A named microvia stack definition, chosen while routing instead of entering the values each time.