20#ifndef DIALOG_CONSTRAINT_LIST_H_
21#define DIALOG_CONSTRAINT_LIST_H_
53 void onDelete( wxCommandEvent& aEvent )
override;
Information pertinent to a Pcbnew printed circuit board.
DIALOG_CONSTRAINT_LIST_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Geometric Constraints"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(560, 360), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void onRowActivated(wxListEvent &aEvent) override
DIALOG_CONSTRAINT_LIST(PCB_BASE_FRAME *aParent, BOARD *aBoard, std::function< void(PCB_CONSTRAINT *)> aHighlight, std::function< void(PCB_CONSTRAINT *)> aRemove)
std::vector< PCB_CONSTRAINT * > m_rows
Row index -> constraint.
PCB_BASE_FRAME * m_parentFrame
std::function< void(PCB_CONSTRAINT *)> m_remove
void onDelete(wxCommandEvent &aEvent) override
void Populate()
Rebuild the rows from the board's current constraints.
PCB_CONSTRAINT * selectedConstraint() const
std::function< void(PCB_CONSTRAINT *)> m_highlight
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
A geometric constraint between board items (issue #2329).