Code::Blocks  SVN r11506
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
MultiSelectDlg Class Reference

#include <multiselectdlg.h>

Inheritance diagram for MultiSelectDlg:
Collaboration diagram for MultiSelectDlg:

Public Member Functions

 MultiSelectDlg (wxWindow *parent, const wxArrayString &items, const wxString &wildcard, const wxString &label=_("Select items:"), const wxString &title=_("Multiple selection"))
 
 MultiSelectDlg (wxWindow *parent, const wxArrayString &items, bool selectall=false, const wxString &label=_("Select items:"), const wxString &title=_("Multiple selection"))
 
 ~MultiSelectDlg () override
 
wxArrayString GetSelectedStrings () const
 
wxArrayInt GetSelectedIndices () const
 
void SelectWildCard (const wxString &wild, bool select=true, bool clearOld=false)
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Protected Member Functions

void Init (const wxArrayString &items, const wxString &wildcard)
 
void UpdateStatus ()
 
void OnWildcard (wxCommandEvent &event)
 
void OnToggle (wxCommandEvent &event)
 
void OnSelectAll (wxCommandEvent &event)
 
void OnDeselectAll (wxCommandEvent &event)
 
void OnItemToggle (wxCommandEvent &event)
 

Private Member Functions

 DECLARE_EVENT_TABLE ()
 

Detailed Description

Definition at line 14 of file multiselectdlg.h.

Constructor & Destructor Documentation

◆ MultiSelectDlg() [1/2]

MultiSelectDlg::MultiSelectDlg ( wxWindow parent,
const wxArrayString items,
const wxString wildcard,
const wxString label = _("Select items:"),
const wxString title = _("Multiple selection") 
)

Definition at line 31 of file multiselectdlg.cpp.

References _T, wxXmlResource::Get(), and wxXmlResource::LoadObject().

◆ MultiSelectDlg() [2/2]

MultiSelectDlg::MultiSelectDlg ( wxWindow parent,
const wxArrayString items,
bool  selectall = false,
const wxString label = _("Select items:"),
const wxString title = _("Multiple selection") 
)

Definition at line 49 of file multiselectdlg.cpp.

References _T, wxXmlResource::Get(), Init(), and wxXmlResource::LoadObject().

◆ ~MultiSelectDlg()

MultiSelectDlg::~MultiSelectDlg ( )
override

Definition at line 68 of file multiselectdlg.cpp.

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

MultiSelectDlg::DECLARE_EVENT_TABLE ( )
private

◆ GetSelectedIndices()

wxArrayInt MultiSelectDlg::GetSelectedIndices ( ) const

◆ GetSelectedStrings()

wxArrayString MultiSelectDlg::GetSelectedStrings ( ) const

◆ Init()

void MultiSelectDlg::Init ( const wxArrayString items,
const wxString wildcard 
)
protected

Definition at line 73 of file multiselectdlg.cpp.

References wxArrayString::GetCount(), and SelectWildCard().

Referenced by MultiSelectDlg().

◆ OnDeselectAll()

void MultiSelectDlg::OnDeselectAll ( wxCommandEvent event)
protected

◆ OnItemToggle()

void MultiSelectDlg::OnItemToggle ( wxCommandEvent event)
protected

Definition at line 179 of file multiselectdlg.cpp.

References UpdateStatus().

◆ OnSelectAll()

void MultiSelectDlg::OnSelectAll ( wxCommandEvent event)
protected

◆ OnToggle()

void MultiSelectDlg::OnToggle ( wxCommandEvent event)
protected

◆ OnWildcard()

void MultiSelectDlg::OnWildcard ( wxCommandEvent event)
protected

◆ SelectWildCard()

void MultiSelectDlg::SelectWildCard ( const wxString wild,
bool  select = true,
bool  clearOld = false 
)

◆ UpdateStatus()

void MultiSelectDlg::UpdateStatus ( )
protected

The documentation for this class was generated from the following files: