Code::Blocks
SVN r11506
|
#include <multiselectdlg.h>
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 () | |
Definition at line 14 of file multiselectdlg.h.
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::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().
|
override |
Definition at line 68 of file multiselectdlg.cpp.
|
private |
wxArrayInt MultiSelectDlg::GetSelectedIndices | ( | ) | const |
Definition at line 108 of file multiselectdlg.cpp.
References wxCheckListBox::GetCount(), and wxCheckListBox::IsChecked().
Referenced by ProjectManagerUI::AskForMultiBuildTargetIndex(), CodeCompletion::DoAllMethodsImpl(), and ProjectManagerUI::OnRemoveFileFromProject().
wxArrayString MultiSelectDlg::GetSelectedStrings | ( | ) | const |
Definition at line 96 of file multiselectdlg.cpp.
References wxArrayString::Add(), wxCheckListBox::GetCount(), wxCheckListBox::GetString(), and wxCheckListBox::IsChecked().
Referenced by ProjectManagerUI::OnAddFilesToProjectRecursively(), and ProjectOptionsDlg::OnPlatform().
|
protected |
Definition at line 73 of file multiselectdlg.cpp.
References wxArrayString::GetCount(), and SelectWildCard().
Referenced by MultiSelectDlg().
|
protected |
Definition at line 202 of file multiselectdlg.cpp.
References wxCheckListBox::Check(), wxCheckListBox::GetCount(), and UpdateStatus().
|
protected |
Definition at line 179 of file multiselectdlg.cpp.
References UpdateStatus().
|
protected |
Definition at line 193 of file multiselectdlg.cpp.
References wxCheckListBox::Check(), wxCheckListBox::GetCount(), and UpdateStatus().
|
protected |
Definition at line 184 of file multiselectdlg.cpp.
References wxCheckListBox::Check(), wxCheckListBox::GetCount(), wxCheckListBox::IsChecked(), and UpdateStatus().
|
protected |
Definition at line 150 of file multiselectdlg.cpp.
References _(), cbGetTextFromUser(), cbMessageBox(), wxCheckListBox::GetCount(), wxCheckListBox::IsChecked(), wxString::IsEmpty(), SelectWildCard(), wxICON_QUESTION, wxID_YES, and wxYES_NO.
void MultiSelectDlg::SelectWildCard | ( | const wxString & | wild, |
bool | select = true , |
||
bool | clearOld = false |
||
) |
Definition at line 120 of file multiselectdlg.cpp.
References _T, wxCheckListBox::Check(), GetArrayFromString(), wxArrayString::GetCount(), wxCheckListBox::GetCount(), wxCheckListBox::GetString(), wxCheckListBox::IsChecked(), wxString::IsEmpty(), wxString::Lower(), wxString::Matches(), and UpdateStatus().
Referenced by Init(), ProjectOptionsDlg::OnPlatform(), and OnWildcard().
|
protected |
Definition at line 82 of file multiselectdlg.cpp.
References _(), _T, wxString::Format(), wxCheckListBox::GetCount(), and wxCheckListBox::IsChecked().
Referenced by OnDeselectAll(), OnItemToggle(), OnSelectAll(), OnToggle(), and SelectWildCard().