#include <KeyboardDialog.h>
Public Member Functions | |
| KeyboardDialog (wxWindow *parent, wxString strTitle, wxTextCtrl *pctlText, wxColour clrBackground, wxColour clrForeground, IAutoComplete *pcAutoComplete) | |
Public Attributes | |
| wxMutex | m_mtxAutoCompleteThreadControl |
| wxString | m_strAutoCompleteThreadResult |
| bool | m_bAutoCompleteThreadRunning |
| bool | m_bAutoCompleteThreadRunAgain |
Private Member Functions | |
| void | OnKBButtonPress (wxEvent &event) |
| A key on the keyboard was pressed. | |
| void | OnCancel (wxCommandEvent &event) |
| Cancel button was pressed. | |
| void | OnOk (wxCommandEvent &event) |
| Ok button was pressed. | |
| void | OnAutoCompleteButton (wxCommandEvent &event) |
| void | OnAutoCompleteTimer (wxTimerEvent &event) |
| void | OnThisTextControlChanged (wxCommandEvent &event) |
Private Attributes | |
| wxTextCtrl * | m_pctlText |
| Text control from parent window that's being filled in. | |
| wxTextCtrl * | m_pctlThisText |
| Text control in this window that's being filled in. | |
| wxFont | m_fntThis |
| Default font used in this dialog. | |
| wxButton * | m_pbtnAutoComplete |
| IAutoComplete * | m_pcAutoComplete |
| wxTimer * | m_ptmrAutoComplete |
Definition at line 41 of file KeyboardDialog.h.
| KeyboardDialog::KeyboardDialog | ( | wxWindow * | parent, | |
| wxString | strTitle, | |||
| wxTextCtrl * | pctlText, | |||
| wxColour | clrBackground, | |||
| wxColour | clrForeground, | |||
| IAutoComplete * | pcAutoComplete | |||
| ) |
| void KeyboardDialog::OnKBButtonPress | ( | wxEvent & | event | ) | [private] |
A key on the keyboard was pressed.
Take the appropriate action.
Definition at line 215 of file KeyboardDialog.cpp.
| void KeyboardDialog::OnCancel | ( | wxCommandEvent & | event | ) | [private] |
| void KeyboardDialog::OnOk | ( | wxCommandEvent & | event | ) | [private] |
Ok button was pressed.
Copy the contents of the keyboard back to the original wxTextCtrl.
Definition at line 283 of file KeyboardDialog.cpp.
| void KeyboardDialog::OnAutoCompleteButton | ( | wxCommandEvent & | event | ) | [private] |
Definition at line 300 of file KeyboardDialog.cpp.
| void KeyboardDialog::OnAutoCompleteTimer | ( | wxTimerEvent & | event | ) | [private] |
Definition at line 348 of file KeyboardDialog.cpp.
| void KeyboardDialog::OnThisTextControlChanged | ( | wxCommandEvent & | event | ) | [private] |
Definition at line 253 of file KeyboardDialog.cpp.
Definition at line 46 of file KeyboardDialog.h.
Definition at line 47 of file KeyboardDialog.h.
Definition at line 48 of file KeyboardDialog.h.
Definition at line 49 of file KeyboardDialog.h.
wxTextCtrl* KeyboardDialog::m_pctlText [private] |
Text control from parent window that's being filled in.
Definition at line 60 of file KeyboardDialog.h.
wxTextCtrl* KeyboardDialog::m_pctlThisText [private] |
wxFont KeyboardDialog::m_fntThis [private] |
wxButton* KeyboardDialog::m_pbtnAutoComplete [private] |
Definition at line 68 of file KeyboardDialog.h.
IAutoComplete* KeyboardDialog::m_pcAutoComplete [private] |
Definition at line 70 of file KeyboardDialog.h.
wxTimer* KeyboardDialog::m_ptmrAutoComplete [private] |
Definition at line 71 of file KeyboardDialog.h.
1.5.5