#include <listctrl.h>
Inherited by SL_Extern::wxListCtrl.
Public Member Functions | |
| wxGenericListCtrl () | |
| wxGenericListCtrl (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) | |
| virtual | ~wxGenericListCtrl () |
| bool | Create (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) |
| bool | GetColumn (int col, wxListItem &item) const |
| bool | SetColumn (int col, wxListItem &item) |
| int | GetColumnWidth (int col) const |
| bool | SetColumnWidth (int col, int width) |
| int | GetCountPerPage () const |
| wxRect | GetViewRect () const |
| bool | GetItem (wxListItem &info) const |
| bool | SetItem (wxListItem &info) |
| long | SetItem (long index, int col, const wxString &label, int imageId=-1) |
| int | GetItemState (long item, long stateMask) const |
| bool | SetItemState (long item, long state, long stateMask) |
| bool | SetItemImage (long item, int image, int selImage=-1) |
| bool | SetItemColumnImage (long item, long column, int image) |
| wxString | GetItemText (long item) const |
| void | SetItemText (long item, const wxString &str) |
| wxUIntPtr | GetItemData (long item) const |
| bool | SetItemData (long item, long data) |
| bool | GetItemRect (long item, wxRect &rect, int code=wxLIST_RECT_BOUNDS) const |
| bool | GetItemPosition (long item, wxPoint &pos) const |
| bool | SetItemPosition (long item, const wxPoint &pos) |
| int | GetItemCount () const |
| int | GetColumnCount () const |
| void | SetItemSpacing (int spacing, bool isSmall=false) |
| wxSize | GetItemSpacing () const |
| void | SetItemTextColour (long item, const wxColour &col) |
| wxColour | GetItemTextColour (long item) const |
| void | SetItemBackgroundColour (long item, const wxColour &col) |
| wxColour | GetItemBackgroundColour (long item) const |
| void | SetItemFont (long item, const wxFont &f) |
| wxFont | GetItemFont (long item) const |
| int | GetSelectedItemCount () const |
| wxColour | GetTextColour () const |
| void | SetTextColour (const wxColour &col) |
| long | GetTopItem () const |
| void | SetSingleStyle (long style, bool add=true) |
| void | SetWindowStyleFlag (long style) |
| void | RecreateWindow () |
| long | GetNextItem (long item, int geometry=wxLIST_NEXT_ALL, int state=wxLIST_STATE_DONTCARE) const |
| wxImageList * | GetImageList (int which) const |
| void | SetImageList (wxImageList *imageList, int which) |
| void | AssignImageList (wxImageList *imageList, int which) |
| bool | Arrange (int flag=wxLIST_ALIGN_DEFAULT) |
| void | ClearAll () |
| bool | DeleteItem (long item) |
| bool | DeleteAllItems () |
| bool | DeleteAllColumns () |
| bool | DeleteColumn (int col) |
| void | SetItemCount (long count) |
| wxTextCtrl * | EditLabel (long item, wxClassInfo *textControlClass=CLASSINFO(wxTextCtrl)) |
| wxTextCtrl * | GetEditControl () const |
| void | Edit (long item) |
| 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) |
| long | HitTest (const wxPoint &point, int &flags, long *pSubItem=NULL) const |
| 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) |
| long | InsertColumn (long col, wxListItem &info) |
| long | InsertColumn (long col, const wxString &heading, int format=wxLIST_FORMAT_LEFT, int width=-1) |
| bool | ScrollList (int dx, int dy) |
| bool | SortItems (wxListCtrlCompare fn, long data) |
| bool | Update (long item) |
| virtual void | Update () |
| bool | InReportView () const |
| bool | IsVirtual () const |
| bool | HasHeader () const |
| void | RefreshItem (long item) |
| void | RefreshItems (long itemFrom, long itemTo) |
| virtual wxVisualAttributes | GetDefaultAttributes () const |
| void | OnInternalIdle () |
| void | OnSize (wxSizeEvent &event) |
| virtual void | Refresh (bool eraseBackground=true, const wxRect *rect=NULL) |
| virtual void | Freeze () |
| virtual void | Thaw () |
| virtual bool | SetBackgroundColour (const wxColour &colour) |
| virtual bool | SetForegroundColour (const wxColour &colour) |
| virtual wxColour | GetBackgroundColour () const |
| virtual wxColour | GetForegroundColour () const |
| virtual bool | SetFont (const wxFont &font) |
| virtual bool | SetCursor (const wxCursor &cursor) |
| virtual int | GetScrollPos (int orient) const |
| virtual void | SetScrollPos (int orient, int pos, bool refresh=true) |
| virtual bool | ShouldInheritColours () const |
| virtual void | SetFocus () |
Static Public Member Functions | |
| static wxVisualAttributes | GetClassDefaultAttributes (wxWindowVariant variant=wxWINDOW_VARIANT_NORMAL) |
Data Fields | |
| wxImageList * | m_imageListNormal |
| wxImageList * | m_imageListSmall |
| wxImageList * | m_imageListState |
| bool | m_ownsImageListNormal |
| bool | m_ownsImageListSmall |
| bool | m_ownsImageListState |
| wxListHeaderWindow * | m_headerWin |
| wxListMainWindow * | m_mainWin |
| wxCoord | m_headerHeight |
Protected Member Functions | |
| virtual bool | DoPopupMenu (wxMenu *menu, int x, int y) |
| virtual void | DoClientToScreen (int *x, int *y) const |
| virtual void | DoScreenToClient (int *x, int *y) const |
| virtual wxSize | DoGetBestSize () const |
| virtual wxString | OnGetItemText (long item, long column) const |
| virtual int | OnGetItemImage (long item) const |
| virtual int | OnGetItemColumnImage (long item, long column) const |
| virtual wxListItemAttr * | OnGetItemAttr (long item) const |
Private Member Functions | |
| void | CreateHeaderWindow () |
| void | CalculateAndSetHeaderHeight () |
| void | ResizeReportView (bool showHeader) |
Friends | |
| class | wxListMainWindow |
Definition at line 46 of file listctrl.h.
| SL_Extern::wxGenericListCtrl::wxGenericListCtrl | ( | ) |
| SL_Extern::wxGenericListCtrl::wxGenericListCtrl | ( | 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 | |||
| ) | [inline] |
Definition at line 51 of file listctrl.h.
| virtual SL_Extern::wxGenericListCtrl::~wxGenericListCtrl | ( | ) | [virtual] |
| bool SL_Extern::wxGenericListCtrl::Arrange | ( | int | flag = wxLIST_ALIGN_DEFAULT |
) |
| void SL_Extern::wxGenericListCtrl::AssignImageList | ( | wxImageList * | imageList, | |
| int | which | |||
| ) |
| void SL_Extern::wxGenericListCtrl::CalculateAndSetHeaderHeight | ( | ) | [private] |
| void SL_Extern::wxGenericListCtrl::ClearAll | ( | ) |
| bool SL_Extern::wxGenericListCtrl::Create | ( | 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 | |||
| ) |
| void SL_Extern::wxGenericListCtrl::CreateHeaderWindow | ( | ) | [private] |
| bool SL_Extern::wxGenericListCtrl::DeleteAllColumns | ( | ) |
| bool SL_Extern::wxGenericListCtrl::DeleteAllItems | ( | ) |
| bool SL_Extern::wxGenericListCtrl::DeleteColumn | ( | int | col | ) |
| bool SL_Extern::wxGenericListCtrl::DeleteItem | ( | long | item | ) |
| virtual void SL_Extern::wxGenericListCtrl::DoClientToScreen | ( | int * | x, | |
| int * | y | |||
| ) | const [protected, virtual] |
| virtual wxSize SL_Extern::wxGenericListCtrl::DoGetBestSize | ( | ) | const [protected, virtual] |
| virtual bool SL_Extern::wxGenericListCtrl::DoPopupMenu | ( | wxMenu * | menu, | |
| int | x, | |||
| int | y | |||
| ) | [protected, virtual] |
| virtual void SL_Extern::wxGenericListCtrl::DoScreenToClient | ( | int * | x, | |
| int * | y | |||
| ) | const [protected, virtual] |
| void SL_Extern::wxGenericListCtrl::Edit | ( | long | item | ) | [inline] |
Definition at line 130 of file listctrl.h.
| wxTextCtrl* SL_Extern::wxGenericListCtrl::EditLabel | ( | long | item, | |
| wxClassInfo * | textControlClass = CLASSINFO(wxTextCtrl) | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::EnsureVisible | ( | long | item | ) |
| long SL_Extern::wxGenericListCtrl::FindItem | ( | long | start, | |
| const wxPoint & | pt, | |||
| int | direction | |||
| ) |
| long SL_Extern::wxGenericListCtrl::FindItem | ( | long | start, | |
| wxUIntPtr | data | |||
| ) |
| long SL_Extern::wxGenericListCtrl::FindItem | ( | long | start, | |
| const wxString & | str, | |||
| bool | partial = false | |||
| ) |
| virtual void SL_Extern::wxGenericListCtrl::Freeze | ( | ) | [virtual] |
| virtual wxColour SL_Extern::wxGenericListCtrl::GetBackgroundColour | ( | ) | const [virtual] |
| static wxVisualAttributes SL_Extern::wxGenericListCtrl::GetClassDefaultAttributes | ( | wxWindowVariant | variant = wxWINDOW_VARIANT_NORMAL |
) | [static] |
| bool SL_Extern::wxGenericListCtrl::GetColumn | ( | int | col, | |
| wxListItem & | item | |||
| ) | const |
| int SL_Extern::wxGenericListCtrl::GetColumnCount | ( | ) | const |
| int SL_Extern::wxGenericListCtrl::GetColumnWidth | ( | int | col | ) | const |
| int SL_Extern::wxGenericListCtrl::GetCountPerPage | ( | ) | const |
| virtual wxVisualAttributes SL_Extern::wxGenericListCtrl::GetDefaultAttributes | ( | ) | const [inline, virtual] |
Definition at line 169 of file listctrl.h.
| wxTextCtrl* SL_Extern::wxGenericListCtrl::GetEditControl | ( | ) | const |
| virtual wxColour SL_Extern::wxGenericListCtrl::GetForegroundColour | ( | ) | const [virtual] |
| wxImageList* SL_Extern::wxGenericListCtrl::GetImageList | ( | int | which | ) | const |
| bool SL_Extern::wxGenericListCtrl::GetItem | ( | wxListItem & | info | ) | const |
| wxColour SL_Extern::wxGenericListCtrl::GetItemBackgroundColour | ( | long | item | ) | const |
| int SL_Extern::wxGenericListCtrl::GetItemCount | ( | ) | const |
| wxUIntPtr SL_Extern::wxGenericListCtrl::GetItemData | ( | long | item | ) | const |
| wxFont SL_Extern::wxGenericListCtrl::GetItemFont | ( | long | item | ) | const |
| bool SL_Extern::wxGenericListCtrl::GetItemPosition | ( | long | item, | |
| wxPoint & | pos | |||
| ) | const |
| bool SL_Extern::wxGenericListCtrl::GetItemRect | ( | long | item, | |
| wxRect & | rect, | |||
| int | code = wxLIST_RECT_BOUNDS | |||
| ) | const |
| wxSize SL_Extern::wxGenericListCtrl::GetItemSpacing | ( | ) | const |
| int SL_Extern::wxGenericListCtrl::GetItemState | ( | long | item, | |
| long | stateMask | |||
| ) | const |
| wxString SL_Extern::wxGenericListCtrl::GetItemText | ( | long | item | ) | const |
| wxColour SL_Extern::wxGenericListCtrl::GetItemTextColour | ( | long | item | ) | const |
| long SL_Extern::wxGenericListCtrl::GetNextItem | ( | long | item, | |
| int | geometry = wxLIST_NEXT_ALL, |
|||
| int | state = wxLIST_STATE_DONTCARE | |||
| ) | const |
| virtual int SL_Extern::wxGenericListCtrl::GetScrollPos | ( | int | orient | ) | const [virtual] |
| int SL_Extern::wxGenericListCtrl::GetSelectedItemCount | ( | ) | const |
| wxColour SL_Extern::wxGenericListCtrl::GetTextColour | ( | ) | const |
| long SL_Extern::wxGenericListCtrl::GetTopItem | ( | ) | const |
| wxRect SL_Extern::wxGenericListCtrl::GetViewRect | ( | ) | const |
| bool SL_Extern::wxGenericListCtrl::HasHeader | ( | ) | const [inline] |
Definition at line 157 of file listctrl.h.
| long SL_Extern::wxGenericListCtrl::HitTest | ( | const wxPoint & | point, | |
| int & | flags, | |||
| long * | pSubItem = NULL | |||
| ) | const |
| bool SL_Extern::wxGenericListCtrl::InReportView | ( | ) | const [inline] |
Definition at line 151 of file listctrl.h.
| long SL_Extern::wxGenericListCtrl::InsertColumn | ( | long | col, | |
| const wxString & | heading, | |||
| int | format = wxLIST_FORMAT_LEFT, |
|||
| int | width = -1 | |||
| ) |
| long SL_Extern::wxGenericListCtrl::InsertColumn | ( | long | col, | |
| wxListItem & | info | |||
| ) |
| long SL_Extern::wxGenericListCtrl::InsertItem | ( | long | index, | |
| const wxString & | label, | |||
| int | imageIndex | |||
| ) |
| long SL_Extern::wxGenericListCtrl::InsertItem | ( | long | index, | |
| int | imageIndex | |||
| ) |
| long SL_Extern::wxGenericListCtrl::InsertItem | ( | long | index, | |
| const wxString & | label | |||
| ) |
| long SL_Extern::wxGenericListCtrl::InsertItem | ( | wxListItem & | info | ) |
| bool SL_Extern::wxGenericListCtrl::IsVirtual | ( | ) | const [inline] |
Definition at line 154 of file listctrl.h.
| virtual wxListItemAttr* SL_Extern::wxGenericListCtrl::OnGetItemAttr | ( | long | item | ) | const [protected, virtual] |
| virtual int SL_Extern::wxGenericListCtrl::OnGetItemColumnImage | ( | long | item, | |
| long | column | |||
| ) | const [protected, virtual] |
| virtual int SL_Extern::wxGenericListCtrl::OnGetItemImage | ( | long | item | ) | const [protected, virtual] |
| virtual wxString SL_Extern::wxGenericListCtrl::OnGetItemText | ( | long | item, | |
| long | column | |||
| ) | const [protected, virtual] |
| void SL_Extern::wxGenericListCtrl::OnInternalIdle | ( | ) |
| void SL_Extern::wxGenericListCtrl::OnSize | ( | wxSizeEvent & | event | ) |
| void SL_Extern::wxGenericListCtrl::RecreateWindow | ( | ) | [inline] |
Definition at line 112 of file listctrl.h.
| virtual void SL_Extern::wxGenericListCtrl::Refresh | ( | bool | eraseBackground = true, |
|
| const wxRect * | rect = NULL | |||
| ) | [virtual] |
| void SL_Extern::wxGenericListCtrl::RefreshItem | ( | long | item | ) |
| void SL_Extern::wxGenericListCtrl::RefreshItems | ( | long | itemFrom, | |
| long | itemTo | |||
| ) |
| void SL_Extern::wxGenericListCtrl::ResizeReportView | ( | bool | showHeader | ) | [private] |
| bool SL_Extern::wxGenericListCtrl::ScrollList | ( | int | dx, | |
| int | dy | |||
| ) |
| virtual bool SL_Extern::wxGenericListCtrl::SetBackgroundColour | ( | const wxColour & | colour | ) | [virtual] |
| bool SL_Extern::wxGenericListCtrl::SetColumn | ( | int | col, | |
| wxListItem & | item | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetColumnWidth | ( | int | col, | |
| int | width | |||
| ) |
| virtual bool SL_Extern::wxGenericListCtrl::SetCursor | ( | const wxCursor & | cursor | ) | [virtual] |
| virtual void SL_Extern::wxGenericListCtrl::SetFocus | ( | ) | [virtual] |
| virtual bool SL_Extern::wxGenericListCtrl::SetFont | ( | const wxFont & | font | ) | [virtual] |
| virtual bool SL_Extern::wxGenericListCtrl::SetForegroundColour | ( | const wxColour & | colour | ) | [virtual] |
| void SL_Extern::wxGenericListCtrl::SetImageList | ( | wxImageList * | imageList, | |
| int | which | |||
| ) |
| long SL_Extern::wxGenericListCtrl::SetItem | ( | long | index, | |
| int | col, | |||
| const wxString & | label, | |||
| int | imageId = -1 | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetItem | ( | wxListItem & | info | ) |
| void SL_Extern::wxGenericListCtrl::SetItemBackgroundColour | ( | long | item, | |
| const wxColour & | col | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetItemColumnImage | ( | long | item, | |
| long | column, | |||
| int | image | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetItemCount | ( | long | count | ) |
| bool SL_Extern::wxGenericListCtrl::SetItemData | ( | long | item, | |
| long | data | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetItemFont | ( | long | item, | |
| const wxFont & | f | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetItemImage | ( | long | item, | |
| int | image, | |||
| int | selImage = -1 | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetItemPosition | ( | long | item, | |
| const wxPoint & | pos | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetItemSpacing | ( | int | spacing, | |
| bool | isSmall = false | |||
| ) |
| bool SL_Extern::wxGenericListCtrl::SetItemState | ( | long | item, | |
| long | state, | |||
| long | stateMask | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetItemText | ( | long | item, | |
| const wxString & | str | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetItemTextColour | ( | long | item, | |
| const wxColour & | col | |||
| ) |
| virtual void SL_Extern::wxGenericListCtrl::SetScrollPos | ( | int | orient, | |
| int | pos, | |||
| bool | refresh = true | |||
| ) | [virtual] |
| void SL_Extern::wxGenericListCtrl::SetSingleStyle | ( | long | style, | |
| bool | add = true | |||
| ) |
| void SL_Extern::wxGenericListCtrl::SetTextColour | ( | const wxColour & | col | ) |
| void SL_Extern::wxGenericListCtrl::SetWindowStyleFlag | ( | long | style | ) |
| virtual bool SL_Extern::wxGenericListCtrl::ShouldInheritColours | ( | ) | const [inline, virtual] |
Definition at line 205 of file listctrl.h.
| bool SL_Extern::wxGenericListCtrl::SortItems | ( | wxListCtrlCompare | fn, | |
| long | data | |||
| ) |
| virtual void SL_Extern::wxGenericListCtrl::Thaw | ( | ) | [virtual] |
| virtual void SL_Extern::wxGenericListCtrl::Update | ( | ) | [inline, virtual] |
Definition at line 148 of file listctrl.h.
| bool SL_Extern::wxGenericListCtrl::Update | ( | long | item | ) |
friend class wxListMainWindow [friend] |
Definition at line 246 of file listctrl.h.
Definition at line 219 of file listctrl.h.
| wxListHeaderWindow* SL_Extern::wxGenericListCtrl::m_headerWin |
Definition at line 217 of file listctrl.h.
Definition at line 211 of file listctrl.h.
Definition at line 212 of file listctrl.h.
Definition at line 213 of file listctrl.h.
| wxListMainWindow* SL_Extern::wxGenericListCtrl::m_mainWin |
Definition at line 218 of file listctrl.h.
Definition at line 214 of file listctrl.h.
Definition at line 214 of file listctrl.h.
Definition at line 214 of file listctrl.h.
1.6.3