Code::Blocks
SVN r11506
|
Class that implements a virtual list control that uses an IncrementalSelectIterator to populate the list items. More...
#include <incremental_select_helper.h>
Public Member Functions | |
IncrementalListCtrl (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr) | |
wxString | OnGetItemText (long item, long column) const override |
void | SetIterator (IncrementalSelectIterator *iterator) |
Public Member Functions inherited from wxListCtrl | |
wxListCtrl () | |
wxListCtrl (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr) | |
virtual | ~wxListCtrl () |
long | AppendColumn (const wxString &heading, wxListColumnFormat format=wxLIST_FORMAT_LEFT, int width=-1) |
bool | Arrange (int flag=wxLIST_ALIGN_DEFAULT) |
void | AssignImageList (wxImageList *imageList, int which) |
void | ClearAll () |
bool | Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_ICON, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr) |
bool | DeleteAllItems () |
bool | DeleteColumn (int col) |
bool | DeleteItem (long item) |
wxTextCtrl * | EditLabel (long item, wxClassInfo *textControlClass=wxCLASSINFO(wxTextCtrl)) |
void | EnableAlternateRowColours (bool enable=true) |
void | EnableBellOnNoMatch (bool on=true) |
bool | EndEditLabel (bool cancel) |
bool | EnsureVisible (long item) |
long | FindItem (long start, const wxString &str, bool partial=false) |
long | FindItem (long start, wxUIntPtr data) |
long | FindItem (long start, const wxPoint &pt, int direction) |
bool | GetColumn (int col, wxListItem &item) const |
int | GetColumnCount () const |
int | GetColumnIndexFromOrder (int pos) const |
int | GetColumnOrder (int col) const |
int | GetColumnWidth (int col) const |
wxArrayInt | GetColumnsOrder () const |
int | GetCountPerPage () const |
wxTextCtrl * | GetEditControl () const |
wxImageList * | GetImageList (int which) const |
bool | GetItem (wxListItem &info) const |
wxColour | GetItemBackgroundColour (long item) const |
int | GetItemCount () const |
wxUIntPtr | GetItemData (long item) const |
wxFont | GetItemFont (long item) const |
bool | GetItemPosition (long item, wxPoint &pos) const |
bool | GetItemRect (long item, wxRect &rect, int code=wxLIST_RECT_BOUNDS) const |
wxSize | GetItemSpacing () const |
int | GetItemState (long item, long stateMask) const |
wxString | GetItemText (long item, int col=0) const |
wxColour | GetItemTextColour (long item) const |
long | GetNextItem (long item, int geometry=wxLIST_NEXT_ALL, int state=wxLIST_STATE_DONTCARE) const |
int | GetSelectedItemCount () const |
bool | GetSubItemRect (long item, long subItem, wxRect &rect, int code=wxLIST_RECT_BOUNDS) const |
wxColour | GetTextColour () const |
long | GetTopItem () const |
wxRect | GetViewRect () const |
void | SetAlternateRowColour (const wxColour &colour) |
long | HitTest (const wxPoint &point, int &flags, long *ptrSubItem=NULL) const |
bool | InReportView () const |
long | InsertColumn (long col, const wxListItem &info) |
long | InsertColumn (long col, const wxString &heading, int format=wxLIST_FORMAT_LEFT, int width=wxLIST_AUTOSIZE) |
long | InsertItem (wxListItem &info) |
long | InsertItem (long index, const wxString &label) |
long | InsertItem (long index, int imageIndex) |
long | InsertItem (long index, const wxString &label, int imageIndex) |
bool | IsVirtual () const |
void | RefreshItem (long item) |
void | RefreshItems (long itemFrom, long itemTo) |
bool | ScrollList (int dx, int dy) |
virtual bool | SetBackgroundColour (const wxColour &col) |
bool | SetColumn (int col, wxListItem &item) |
bool | SetColumnWidth (int col, int width) |
bool | SetColumnsOrder (const wxArrayInt &orders) |
void | SetImageList (wxImageList *imageList, int which) |
bool | SetItem (wxListItem &info) |
long | SetItem (long index, int column, const wxString &label, int imageId=-1) |
void | SetItemBackgroundColour (long item, const wxColour &col) |
bool | SetItemColumnImage (long item, long column, int image) |
void | SetItemCount (long count) |
bool | SetItemData (long item, long data) |
void | SetItemFont (long item, const wxFont &font) |
bool | SetItemImage (long item, int image, int selImage=-1) |
bool | SetItemPosition (long item, const wxPoint &pos) |
bool | SetItemPtrData (long item, wxUIntPtr data) |
bool | SetItemState (long item, long state, long stateMask) |
void | SetItemText (long item, const wxString &text) |
void | SetItemTextColour (long item, const wxColour &col) |
void | SetSingleStyle (long style, bool add=true) |
void | SetTextColour (const wxColour &col) |
void | SetWindowStyleFlag (long style) |
bool | SortItems (wxListCtrlCompare fnSortCallBack, wxIntPtr data) |
Private Attributes | |
IncrementalSelectIterator * | m_Iterator |
Additional Inherited Members | |
Protected Member Functions inherited from wxListCtrl | |
virtual wxListItemAttr * | OnGetItemAttr (long item) const |
virtual wxListItemAttr * | OnGetItemColumnAttr (long item, long column) const |
virtual int | OnGetItemColumnImage (long item, long column) const |
virtual int | OnGetItemImage (long item) const |
Class that implements a virtual list control that uses an IncrementalSelectIterator to populate the list items.
Definition at line 82 of file incremental_select_helper.h.
IncrementalListCtrl::IncrementalListCtrl | ( | wxWindow * | parent, |
wxWindowID | winid = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxLC_ICON , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxListCtrlNameStr |
||
) |
Definition at line 292 of file incremental_select_helper.cpp.
|
overridevirtual |
Reimplemented from wxListCtrl.
Definition at line 298 of file incremental_select_helper.cpp.
References IncrementalSelectIterator::GetDisplayText(), and m_Iterator.
void IncrementalListCtrl::SetIterator | ( | IncrementalSelectIterator * | iterator | ) |
Definition at line 303 of file incremental_select_helper.cpp.
References m_Iterator.
Referenced by GotoFile::BuildContent(), and GotoFunctionDlg::BuildContent().
|
private |
Definition at line 93 of file incremental_select_helper.h.
Referenced by OnGetItemText(), and SetIterator().