NCBI C++ ToolKit
|
Search Toolkit Book for wxCheckedListCtrl
#include <gui/widgets/wx/checkedlistctrl.hpp>
Public Member Functions | |
wxCheckedListCtrl () | |
wxCheckedListCtrl (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr) | |
~wxCheckedListCtrl () | |
bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxLC_REPORT, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxListCtrlNameStr) |
void | OnMouseEvent (wxMouseEvent &event) |
bool | IsChecked (long item) const |
void | SetChecked (long item, bool checked) |
Protected Member Functions | |
wxDECLARE_DYNAMIC_CLASS_NO_COPY (wxCheckedListCtrl) | |
Protected Attributes | |
wxImageList * | m_ImageList |
Definition at line 49 of file checkedlistctrl.hpp.
wxCheckedListCtrl::wxCheckedListCtrl | ( | ) |
Definition at line 51 of file checkedlistctrl.cpp.
wxCheckedListCtrl::wxCheckedListCtrl | ( | wxWindow * | parent, |
wxWindowID | winid = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxLC_REPORT , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxListCtrlNameStr |
||
) |
Definition at line 55 of file checkedlistctrl.cpp.
References Create(), and ncbi::grid::netcache::search::fields::size.
wxCheckedListCtrl::~wxCheckedListCtrl | ( | ) |
Definition at line 62 of file checkedlistctrl.cpp.
References m_ImageList.
bool wxCheckedListCtrl::Create | ( | wxWindow * | parent, |
wxWindowID | winid = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxLC_REPORT , |
||
const wxValidator & | validator = wxDefaultValidator , |
||
const wxString & | name = wxListCtrlNameStr |
||
) |
Definition at line 67 of file checkedlistctrl.cpp.
References CreateCheckboxImages(), FALSE, m_ImageList, ncbi::grid::netcache::search::fields::size, and TRUE.
Referenced by CMatchesListCtrl::Create(), and wxCheckedListCtrl().
bool wxCheckedListCtrl::IsChecked | ( | long | item | ) | const |
Definition at line 102 of file checkedlistctrl.cpp.
Referenced by CVcfColumnSelectionPanel::AllAreChecked(), CVcfColumnSelectionPanel::GetSelectedInfoFields(), CMatchesListCtrl::OnChecked(), and OnMouseEvent().
void wxCheckedListCtrl::OnMouseEvent | ( | wxMouseEvent & | event | ) |
Definition at line 79 of file checkedlistctrl.cpp.
References flags, GetId(), IsChecked(), le(), and SetChecked().
void wxCheckedListCtrl::SetChecked | ( | long | item, |
bool | checked | ||
) |
Definition at line 116 of file checkedlistctrl.cpp.
References info.
Referenced by CVcfColumnSelectionPanel::OnDeselectAllClick(), OnMouseEvent(), CVcfColumnSelectionPanel::OnSelectAllClick(), CVcfColumnSelectionPanel::SetInfoFields(), and CMatchesListCtrl::x_Redraw().
|
protected |
|
protected |
Definition at line 79 of file checkedlistctrl.hpp.
Referenced by Create(), and ~wxCheckedListCtrl().