27#include <wx/listctrl.h>
36#define LISTBOX_STYLE ( wxBORDER_NONE | wxLC_NO_HEADER | wxLC_REPORT | wxLC_VIRTUAL | \
37 wxVSCROLL | wxHSCROLL )
46 const wxPoint& aLocation = wxDefaultPosition,
47 const wxSize& aSize = wxDefaultSize,
long aStyle = 0 );
120 const wxString& aFootPrintFilterPattern,
int aFilterType );
128 wxString
OnGetItemText(
long item,
long column )
const override;
133 void OnChar( wxKeyEvent& event );
156 wxString
OnGetItemText(
long item,
long column )
const override;
171 void OnChar( wxKeyEvent& event );
194 wxString
OnGetItemText(
long item,
long column )
const override;
219 void OnChar( wxKeyEvent& event );
Store all of the related footprint information found in a netlist.
The CvPcb application main window.
Base class to display symbol and footprint lists.
void UpdateWidth(int aLine=-1)
Update the width of the column based on its contents.
void DeselectAll()
Remove all selection in lists which can have more than one item selected.
void UpdateLineWidth(unsigned aLine, wxClientDC &dc)
Calculate the width of the given line, and increase the column width if needed.
virtual CVPCB_MAINFRAME * GetParent() const
void SetString(unsigned linecount, const wxString &text)
wxArrayString m_libraryList
wxString OnGetItemText(long item, long column) const override
~LIBRARY_LISTBOX() override
void OnChar(wxKeyEvent &event)
Called on a key press.
void OnSelectLibrary(wxListEvent &event)
void AppendLine(const wxString &text)
void SetSelection(int index, bool State=true)
wxString GetSelectedLibrary()
A logical library item identifier and consists of various portions much like a URI.
wxString OnGetItemText(long item, long column) const override
This overloaded function MUST be provided for the wxLC_VIRTUAL mode because real data is not handled ...
std::vector< long > m_symbolWarning
void OnChar(wxKeyEvent &event)
Called on a key press.
wxListItemAttr * OnGetItemAttr(long item) const override
wxArrayString m_SymbolList
void OnSelectComponent(wxListEvent &event)
void SetString(unsigned linecount, const wxString &text)
void SetSelection(int index, bool State=true)
void AppendWarning(int index)
std::unique_ptr< wxListItemAttr > m_warningAttr
void RemoveWarning(int index)
void AppendLine(const wxString &text)