39 m_footprint( aFootprint )
43 grid->SetCellHighlightPenWidth( 0 );
67 libTableRow = libTable->
FindRow( libName );
74 std::shared_ptr<FOOTPRINT> libFootprint;
78 libFootprint.reset( libTable->
FootprintLoad( libName, fpName,
true ) );
79 fpDesc = libFootprint->GetLibDescription();
95 for(
int ii = 0; ii < (int) symbolPath.size(); ++ii )
98 m_gridSymbol->SetCellValue( ii, 0, ii == (
int) symbolPath.size() - 1 ?
_(
"Symbol:" )
100 m_gridSymbol->SetCellValue( ii, 1, symbolPath[ii].AsString() );
104 std::string item = symbolPath[ii].
AsString().ToStdString();
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
virtual const BOARD * GetBoard() const
Return the BOARD in which this BOARD_ITEM resides, or NULL if none.
PROJECT * GetProject() const
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
const FP_LIB_TABLE_ROW * FindRow(const wxString &aNickName, bool aCheckIfEnabled=false)
Return an FP_LIB_TABLE_ROW if aNickName is found in this table or in any chained fall back table frag...
FOOTPRINT * FootprintLoad(const wxString &aNickname, const wxString &aFootprintName, bool aKeepUUID=false)
Load a footprint having aFootprintName from the library given by aNickname.
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
bool IsSingle() const
Is this KIFACE running under single_top?
wxString AsString() const
KIWAY & Kiway() const
Return a reference to the KIWAY that this object has an opportunity to participate in.
virtual KIWAY_PLAYER * Player(FRAME_T aFrameType, bool doCreate=true, wxTopLevelWindow *aParent=nullptr)
Return the KIWAY_PLAYER* given a FRAME_T.
virtual void ExpressMail(FRAME_T aDestination, MAIL_T aCommand, std::string &aPayload, wxWindow *aSource=nullptr)
Send aPayload to aDestination from aSource.
A logical library item identifier and consists of various portions much like a URI.
const UTF8 & GetLibItemName() const
const UTF8 & GetLibNickname() const
Return the logical library name portion of a LIB_ID.
Hold a record identifying a library accessed by the appropriate plug in object in the LIB_TABLE.
const wxString & GetDescr() const
Return the description of the library referenced by this row.
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
static FP_LIB_TABLE * PcbFootprintLibs(PROJECT *aProject)
Return the table of footprint libraries without Kiway.
Container for project specific data.
void ClearRows()
wxWidgets recently added an ASSERT which fires if the position is greater than or equal to the number...
KICOMMON_API wxFont GetStatusFont(wxWindow *aWindow)