27 #include <wx/listctrl.h> 35 #define LISTBOX_STYLE ( wxBORDER_NONE | wxLC_NO_HEADER | wxLC_REPORT | wxLC_VIRTUAL | \ 36 wxVSCROLL | wxHSCROLL ) 45 const wxPoint& aLocation = wxDefaultPosition,
46 const wxSize& aSize = wxDefaultSize,
long aStyle = 0 );
124 const wxString &aFootPrintFilterPattern,
int aFilterType );
133 wxString
OnGetItemText(
long item,
long column )
const override;
138 void OnChar( wxKeyEvent& event );
140 DECLARE_EVENT_TABLE()
162 wxString
OnGetItemText(
long item,
long column )
const override;
181 void OnChar( wxKeyEvent& event );
183 DECLARE_EVENT_TABLE()
209 wxString
OnGetItemText(
long item,
long column )
const override;
232 void OnChar( wxKeyEvent& event );
236 DECLARE_EVENT_TABLE()
240 #endif //#ifndef LISTBOXES_H void SetLibraryList(const wxArrayString &aList)
void AppendLine(const wxString &text)
void OnChar(wxKeyEvent &event)
Function OnChar called on a key pressed Call default handler for some special keys,...
void DeselectAll()
Removes all selection in lists which can have more than one item selected.
void SetSelection(int index, bool State=true)
void OnChar(wxKeyEvent &event)
Function OnChar called on a key pressed Call default handler for some special keys,...
A logical library item identifier and consists of various portions much like a URI.
wxString OnGetItemText(long item, long column) const override
Function OnGetItemText this overloaded function MUST be provided for the wxLC_VIRTUAL mode because re...
void AppendLine(const wxString &text)
wxString OnGetItemText(long item, long column) const override
void OnSelectLibrary(wxListEvent &event)
void UpdateWidth(int aLine=-1)
void SetString(unsigned linecount, const wxString &text)
wxString GetSelectedLibrary()
Store all of the related footprint information found in a netlist.
wxArrayString m_ComponentList
void UpdateLineWidth(unsigned aLine)
ITEMS_LISTBOX_BASE(CVPCB_MAINFRAME *aParent, wxWindowID aId, const wxPoint &aLocation=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=0)
LIBRARY_LISTBOX(CVPCB_MAINFRAME *parent, wxWindowID id)
wxArrayString m_libraryList
void SetSelection(int index, bool State=true)
void SetString(unsigned linecount, const wxString &text)
void OnSelectComponent(wxListEvent &event)
The CvPcb application main window.
virtual CVPCB_MAINFRAME * GetParent() const
void OnLeftClick(wxListEvent &event)
COMPONENTS_LISTBOX(CVPCB_MAINFRAME *parent, wxWindowID id)