ConnectWindow Class Reference

wxFrame with a connection dialog used to specify username, password, and server. It can also register a new acount. More...

#include <connectwindow.h>

Collaboration diagram for ConnectWindow:
Collaboration graph
[legend]

Public Member Functions

 ConnectWindow (wxWindow *parent, Ui &ui)
 Constructor.
 ~ConnectWindow ()
 Destructor.
void ReloadServerList ()
void OnServerChange (wxCommandEvent &event)
void OnOk (wxCommandEvent &event)
void OnCancel (wxCommandEvent &event)

Protected Types

enum  { CON_SERV_SEL = wxID_HIGHEST }

Protected Attributes

wxNotebook * m_tabs
 Notebook containing the login and register tabs.
wxPanelm_login_tab
 The login tab.
wxPanelm_register_tab
 The register tab.
wxStaticText * m_server_lbl
 Label saying "Server".
wxComboBox * m_server_combo
 Combobox where user can select server.
wxStaticLine * m_ser_acc_line
 Line that separates the server setting and the acount settings.
wxStaticText * m_nick_lbl
 Label saying "Nickname".
wxTextCtrl * m_nick_text
 Textbox where user can input nickname.
wxStaticText * m_pass_lbl
 Label saying "Password".
wxTextCtrl * m_pass_text
 Textbox where user can input password.
wxCheckBox * m_rpass_check
 Checkbox where user can chose if he wants his password to be saved.
wxCheckBox * m_autoconnect_check
 Checkbox where user can chose if he wants to autoconnect.
wxStaticLine * m_acc_note_line
 Line that separates the account settings from the note.
wxStaticText * m_note_lbl
 Label saying something about register.
wxButton * m_ok_btn
 The ok button.
wxButton * m_cancel_btn
 The cancel button.
wxBoxSizer * m_main_sizer
 The main sizer connecting it all together.
wxBoxSizer * m_login_main_sizer
 Login tab main sizer.
wxBoxSizer * m_server_sizer
 Sizer connecting server label and combo.
wxBoxSizer * m_nick_sizer
 Sizer connecting nick label and input.
wxBoxSizer * m_pass_sizer
 Sizer connecting password label and input.
wxBoxSizer * m_rpass_sizer
 Sizer spacing the remember password setting.
wxStdDialogButtonSizer * m_buttons_sizer
 Sizer connecting the ok and cancel buttons.
wxStaticText * m_regnick_lbl
wxTextCtrl * m_regnick_text
wxStaticLine * m_regpass_sep
wxStaticText * m_regpass1_lbl
wxTextCtrl * m_regpass1_text
wxStaticText * m_regpass2_lbl
wxTextCtrl * m_regpass2_text
Uim_ui

Detailed Description

wxFrame with a connection dialog used to specify username, password, and server. It can also register a new acount.

Definition at line 19 of file connectwindow.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
CON_SERV_SEL 

Definition at line 78 of file connectwindow.h.


Constructor & Destructor Documentation

ConnectWindow::ConnectWindow ( wxWindow *  parent,
Ui ui 
)

Constructor.

Parameters:
parent Parent window

Definition at line 43 of file connectwindow.cpp.

ConnectWindow::~ConnectWindow (  ) 

Destructor.

Definition at line 209 of file connectwindow.cpp.


Member Function Documentation

void ConnectWindow::OnCancel ( wxCommandEvent &  event  ) 

Definition at line 318 of file connectwindow.cpp.

void ConnectWindow::OnOk ( wxCommandEvent &  event  ) 

Definition at line 237 of file connectwindow.cpp.

void ConnectWindow::OnServerChange ( wxCommandEvent &  event  ) 

Definition at line 222 of file connectwindow.cpp.

void ConnectWindow::ReloadServerList (  ) 

Definition at line 215 of file connectwindow.cpp.


Field Documentation

wxStaticLine* ConnectWindow::m_acc_note_line [protected]

Line that separates the account settings from the note.

Definition at line 53 of file connectwindow.h.

wxCheckBox* ConnectWindow::m_autoconnect_check [protected]

Checkbox where user can chose if he wants to autoconnect.

Definition at line 51 of file connectwindow.h.

wxStdDialogButtonSizer* ConnectWindow::m_buttons_sizer [protected]

Sizer connecting the ok and cancel buttons.

Definition at line 66 of file connectwindow.h.

wxButton* ConnectWindow::m_cancel_btn [protected]

The cancel button.

Definition at line 58 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_login_main_sizer [protected]

Login tab main sizer.

Definition at line 61 of file connectwindow.h.

The login tab.

Definition at line 38 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_main_sizer [protected]

The main sizer connecting it all together.

Definition at line 60 of file connectwindow.h.

wxStaticText* ConnectWindow::m_nick_lbl [protected]

Label saying "Nickname".

Definition at line 46 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_nick_sizer [protected]

Sizer connecting nick label and input.

Definition at line 63 of file connectwindow.h.

wxTextCtrl* ConnectWindow::m_nick_text [protected]

Textbox where user can input nickname.

Definition at line 47 of file connectwindow.h.

wxStaticText* ConnectWindow::m_note_lbl [protected]

Label saying something about register.

Definition at line 55 of file connectwindow.h.

wxButton* ConnectWindow::m_ok_btn [protected]

The ok button.

Definition at line 57 of file connectwindow.h.

wxStaticText* ConnectWindow::m_pass_lbl [protected]

Label saying "Password".

Definition at line 48 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_pass_sizer [protected]

Sizer connecting password label and input.

Definition at line 64 of file connectwindow.h.

wxTextCtrl* ConnectWindow::m_pass_text [protected]

Textbox where user can input password.

Definition at line 49 of file connectwindow.h.

The register tab.

Definition at line 39 of file connectwindow.h.

wxStaticText* ConnectWindow::m_regnick_lbl [protected]

Definition at line 68 of file connectwindow.h.

wxTextCtrl* ConnectWindow::m_regnick_text [protected]

Definition at line 69 of file connectwindow.h.

wxStaticText* ConnectWindow::m_regpass1_lbl [protected]

Definition at line 71 of file connectwindow.h.

wxTextCtrl* ConnectWindow::m_regpass1_text [protected]

Definition at line 72 of file connectwindow.h.

wxStaticText* ConnectWindow::m_regpass2_lbl [protected]

Definition at line 73 of file connectwindow.h.

wxTextCtrl* ConnectWindow::m_regpass2_text [protected]

Definition at line 74 of file connectwindow.h.

wxStaticLine* ConnectWindow::m_regpass_sep [protected]

Definition at line 70 of file connectwindow.h.

wxCheckBox* ConnectWindow::m_rpass_check [protected]

Checkbox where user can chose if he wants his password to be saved.

Definition at line 50 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_rpass_sizer [protected]

Sizer spacing the remember password setting.

Definition at line 65 of file connectwindow.h.

wxStaticLine* ConnectWindow::m_ser_acc_line [protected]

Line that separates the server setting and the acount settings.

Definition at line 44 of file connectwindow.h.

wxComboBox* ConnectWindow::m_server_combo [protected]

Combobox where user can select server.

Definition at line 42 of file connectwindow.h.

wxStaticText* ConnectWindow::m_server_lbl [protected]

Label saying "Server".

Definition at line 41 of file connectwindow.h.

wxBoxSizer* ConnectWindow::m_server_sizer [protected]

Sizer connecting server label and combo.

Definition at line 62 of file connectwindow.h.

wxNotebook* ConnectWindow::m_tabs [protected]

Notebook containing the login and register tabs.

Definition at line 37 of file connectwindow.h.

Ui& ConnectWindow::m_ui [protected]

Definition at line 76 of file connectwindow.h.


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

Generated on Thu Dec 29 00:11:43 2011 for SpringLobby by doxygen 1.6.3