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.
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.
wxString AsString() const
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.
KICOMMON_API wxFont GetStatusFont(wxWindow *aWindow)