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 );
 
 
  126                            const wxString& aFootPrintFilterPattern, 
int aFilterType );
 
  134    wxString 
OnGetItemText( 
long item, 
long column ) 
const override;
 
  139    void     OnChar( wxKeyEvent& event );
 
 
  162    wxString 
OnGetItemText( 
long item, 
long column ) 
const override;
 
  177    void     OnChar( wxKeyEvent& event );
 
 
  199    wxString 
OnGetItemText( 
long item, 
long column ) 
const override;
 
  224    void     OnChar( wxKeyEvent& event );
 
 
Store all of the related component information found in a netlist.
 
The CvPcb application main window.
 
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.
 
ITEMS_LISTBOX_BASE(CVPCB_MAINFRAME *aParent, wxWindowID aId, const wxPoint &aLocation=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=0)
 
virtual CVPCB_MAINFRAME * GetParent() const
 
virtual ~ITEMS_LISTBOX_BASE()=default
 
void SetString(unsigned linecount, const wxString &text)
 
wxArrayString m_libraryList
 
wxString OnGetItemText(long item, long column) const override
 
void OnChar(wxKeyEvent &event)
Called on a key press.
 
virtual ~LIBRARY_LISTBOX()=default
 
void OnSelectLibrary(wxListEvent &event)
 
void AppendLine(const wxString &text)
 
LIBRARY_LISTBOX(CVPCB_MAINFRAME *parent, wxWindowID id)
 
void SetSelection(int index, bool State=true)
 
wxString GetSelectedLibrary()
 
A logical library item identifier and consists of various portions much like a URI.
 
virtual ~SYMBOLS_LISTBOX()=default
 
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)
 
SYMBOLS_LISTBOX(CVPCB_MAINFRAME *parent, wxWindowID id)
 
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)