KeyboardDialog Class Reference
[Roadnav Dialog Classes]

Shows an onscreen keyboard, allowing a wxTextCtrl to be used on a computer without a real keyboard. More...

#include <KeyboardDialog.h>

List of all members.

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


Detailed Description

Shows an onscreen keyboard, allowing a wxTextCtrl to be used on a computer without a real keyboard.

Definition at line 41 of file KeyboardDialog.h.


Constructor & Destructor Documentation

KeyboardDialog::KeyboardDialog ( wxWindow *  parent,
wxString  strTitle,
wxTextCtrl *  pctlText,
wxColour  clrBackground,
wxColour  clrForeground,
IAutoComplete *  pcAutoComplete 
)


Member Function Documentation

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]

Cancel button was pressed.

Definition at line 267 of file KeyboardDialog.cpp.

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.


Member Data Documentation

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]

Text control in this window that's being filled in.

Definition at line 63 of file KeyboardDialog.h.

wxFont KeyboardDialog::m_fntThis [private]

Default font used in this dialog.

Definition at line 66 of file KeyboardDialog.h.

Definition at line 68 of file KeyboardDialog.h.

IAutoComplete* KeyboardDialog::m_pcAutoComplete [private]

Definition at line 70 of file KeyboardDialog.h.

Definition at line 71 of file KeyboardDialog.h.


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

Generated on Sun Jul 27 17:26:13 2008 for Roadnav by  doxygen 1.5.5