51 GetSizer()->SetSizeHints(
this);
86 msg =
_(
"No footprint loaded." );
95 drcItem->SetErrorMessage( drcItem->GetErrorText() + wxS(
" " ) + aMsg );
96 drcItem->SetItems( aItemA, aItemB );
129 SetReturnCode( wxID_CANCEL );
139 wxCommandEvent
dummy;
static TOOL_ACTION selectionClear
Clear the current selection.
BOARD_ITEM * GetItem(const KIID &aID) const
void DeleteItems(bool aCurrentOnly, bool aIncludeExclusions, bool aDeep)
Deletes the current item or all items.
static std::shared_ptr< DRC_ITEM > Create(int aErrorCode)
Constructs a DRC_ITEM for the given error code.
void SetProvider(RC_ITEMS_PROVIDER *aProvider)
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
static LIB_PART * dummy()
Used to draw a dummy shape when a LIB_PART is not found in library.
functions to convert a shape built with DRAWSEGMENTS to a polygon.
static KIID ToUUID(wxDataViewItem aItem)
void SetSeverities(int aSeverities)
Provide an abstract interface of a RC_ITEM* list manager.
void Add(BOARD_ITEM *aItem, ADD_MODE aMode=ADD_MODE::INSERT) override
Adds an item to the container.
FOOTPRINT * GetFirstFootprint() const
Gets the first footprint on the board or nullptr.
BOARD_DRC_ITEMS_PROVIDER is an implementation of the RC_ITEMS_PROVIDER interface which uses a BOARD i...
virtual KIGFX::PCB_VIEW * GetView() const override
Return a pointer to the #VIEW instance used in the panel.
bool Show(bool show) override
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=NULL) override
Update the board display after modifying it by a python script (note: it is automatically called by a...
Information pertinent to a Pcbnew printed circuit board.
const std::function< void(const wxString &msg, BOARD_ITEM *itemA, BOARD_ITEM *itemB, const wxPoint &pt)> OUTLINE_ERROR_HANDLER
virtual void Add(VIEW_ITEM *aItem, int aDrawPriority=-1) override
Add a VIEW_ITEM to the view.
void FocusOnItem(BOARD_ITEM *aItem)