#include <selectusersdialog.h>
Public Member Functions | |
| SelectUsersDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Select Users"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(358, 518), long style=wxDEFAULT_DIALOG_STYLE) | |
| ~SelectUsersDialog () | |
| int | ShowModal () |
| wxArrayString | GetSelection () |
Static Public Member Functions | |
| static wxArrayString | GetUsers (wxWindow *parent=0) |
Protected Types | |
| enum | { FILTER_TEXT = 1000, NICK_LIST, NAME_TEXT } |
Protected Member Functions | |
| void | OnNameFilterChange (wxCommandEvent &event) |
| void | OnNameActivated (wxListEvent &event) |
| void | OnNameDeselected (wxListEvent &event) |
| void | OnNameSelected (wxListEvent &event) |
| void | OnCancel (wxCommandEvent &event) |
| void | OnOk (wxCommandEvent &event) |
| void | Initialize () |
| void | PopulateUsersList () |
| void | ClearList () |
| void | UpdateUsersList () |
| void | UpdateSelection () |
| wxArrayString | GetSelectionFromText () |
| wxString | BuildSelectionText (const wxSortedArrayString &sel) |
| long | AddUserToList (const wxString &nick, const wxString &flag) |
| long | AddUserToList (const wxString &nick, const int &flag) |
| void | RemoveUserFromList (long item) |
| void | Sort () |
Static Protected Member Functions | |
| static int wxCALLBACK | CompareName (long item1, long item2, long sortData) |
Protected Attributes | |
| wxPanel * | m_users_panel |
| wxStaticText * | m_filter_names_staticText |
| wxTextCtrl * | m_name_filter_text |
| wxListCtrl * | m_user_list |
| wxStaticText * | m_name_staticText |
| wxTextCtrl * | m_selection_text |
| wxStaticLine * | m_buttons_hr |
| wxStdDialogButtonSizer * | m_dialog_buttons |
| wxButton * | m_dialog_buttonsOK |
| wxButton * | m_dialog_buttonsCancel |
| wxSortedArrayString | m_selection |
| wxSortedArrayString | m_filtered_users |
Definition at line 17 of file selectusersdialog.h.
anonymous enum [protected] |
Definition at line 22 of file selectusersdialog.h.
| SelectUsersDialog::SelectUsersDialog | ( | wxWindow * | parent, | |
| wxWindowID | id = wxID_ANY, |
|||
| const wxString & | title = _("Select Users"), |
|||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxSize( 358,518 ), |
|||
| long | style = wxDEFAULT_DIALOG_STYLE | |||
| ) |
Definition at line 37 of file selectusersdialog.cpp.
| SelectUsersDialog::~SelectUsersDialog | ( | ) |
Definition at line 99 of file selectusersdialog.cpp.
| long SelectUsersDialog::AddUserToList | ( | const wxString & | nick, | |
| const int & | flag | |||
| ) | [protected] |
Definition at line 149 of file selectusersdialog.cpp.
Definition at line 144 of file selectusersdialog.cpp.
| wxString SelectUsersDialog::BuildSelectionText | ( | const wxSortedArrayString & | sel | ) | [protected] |
Definition at line 176 of file selectusersdialog.cpp.
| void SelectUsersDialog::ClearList | ( | ) | [protected] |
Definition at line 131 of file selectusersdialog.cpp.
| int wxCALLBACK SelectUsersDialog::CompareName | ( | long | item1, | |
| long | item2, | |||
| long | sortData | |||
| ) | [static, protected] |
Definition at line 318 of file selectusersdialog.cpp.
| wxArrayString SelectUsersDialog::GetSelection | ( | ) |
Definition at line 313 of file selectusersdialog.cpp.
| wxArrayString SelectUsersDialog::GetSelectionFromText | ( | ) | [protected] |
Definition at line 186 of file selectusersdialog.cpp.
| wxArrayString SelectUsersDialog::GetUsers | ( | wxWindow * | parent = 0 |
) | [static] |
Definition at line 197 of file selectusersdialog.cpp.
| void SelectUsersDialog::Initialize | ( | ) | [protected] |
Definition at line 104 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnCancel | ( | wxCommandEvent & | event | ) | [protected] |
Definition at line 302 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnNameActivated | ( | wxListEvent & | event | ) | [protected] |
Definition at line 277 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnNameDeselected | ( | wxListEvent & | event | ) | [protected] |
Definition at line 284 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnNameFilterChange | ( | wxCommandEvent & | event | ) | [protected] |
Definition at line 214 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnNameSelected | ( | wxListEvent & | event | ) | [protected] |
Definition at line 295 of file selectusersdialog.cpp.
| void SelectUsersDialog::OnOk | ( | wxCommandEvent & | event | ) | [protected] |
Definition at line 307 of file selectusersdialog.cpp.
| void SelectUsersDialog::PopulateUsersList | ( | ) | [protected] |
Definition at line 113 of file selectusersdialog.cpp.
| void SelectUsersDialog::RemoveUserFromList | ( | long | item | ) | [protected] |
Definition at line 156 of file selectusersdialog.cpp.
| int SelectUsersDialog::ShowModal | ( | ) |
Definition at line 208 of file selectusersdialog.cpp.
| void SelectUsersDialog::Sort | ( | ) | [protected] |
Definition at line 326 of file selectusersdialog.cpp.
| void SelectUsersDialog::UpdateSelection | ( | ) | [protected] |
Definition at line 166 of file selectusersdialog.cpp.
| void SelectUsersDialog::UpdateUsersList | ( | ) | [protected] |
Definition at line 162 of file selectusersdialog.cpp.
wxStaticLine* SelectUsersDialog::m_buttons_hr [protected] |
Definition at line 35 of file selectusersdialog.h.
wxStdDialogButtonSizer* SelectUsersDialog::m_dialog_buttons [protected] |
Definition at line 36 of file selectusersdialog.h.
wxButton* SelectUsersDialog::m_dialog_buttonsCancel [protected] |
Definition at line 38 of file selectusersdialog.h.
wxButton* SelectUsersDialog::m_dialog_buttonsOK [protected] |
Definition at line 37 of file selectusersdialog.h.
wxStaticText* SelectUsersDialog::m_filter_names_staticText [protected] |
Definition at line 30 of file selectusersdialog.h.
wxSortedArrayString SelectUsersDialog::m_filtered_users [protected] |
Definition at line 48 of file selectusersdialog.h.
wxTextCtrl* SelectUsersDialog::m_name_filter_text [protected] |
Definition at line 31 of file selectusersdialog.h.
wxStaticText* SelectUsersDialog::m_name_staticText [protected] |
Definition at line 33 of file selectusersdialog.h.
wxSortedArrayString SelectUsersDialog::m_selection [protected] |
Definition at line 47 of file selectusersdialog.h.
wxTextCtrl* SelectUsersDialog::m_selection_text [protected] |
Definition at line 34 of file selectusersdialog.h.
wxListCtrl* SelectUsersDialog::m_user_list [protected] |
Definition at line 32 of file selectusersdialog.h.
wxPanel* SelectUsersDialog::m_users_panel [protected] |
Definition at line 29 of file selectusersdialog.h.
1.6.3