wxTTSSpeechSettingsPanel Class Reference
[Text to speech classes]

#include <tts/tts_speechsettingspanel.h>

List of all members.

Public Types

enum  {
  ID_WXTTSSPEECHSETTINGSPANEL = 13001, ID_APPLICATION_PREFERENCES_ENGINE = 13002, ID_APPLICATION_PREFERENCES_GET_ESPEAK = 13003, ID_APPLICATION_PREFERENCES_ENGINE_PROGRAM_LOCATION = 13004,
  ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION = 13005, ID_APPLICATION_PREFERENCES_ENGINE_DATA_FOLDER = 13006, ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER = 13007, ID_APPLICATION_PREFERENCES_ESPEAK_VOICE = 13008,
  ID_APPLICATION_PREFERENCES_ESPEAK_VOICE_VARIANT = 13009, ID_APPLICATION_PREFERENCES_SPEECH_SPEED = 13010, ID_APPLICATION_PREFERENCES_SPEECH_VOLUME = 13011, ID_APPLICATION_PREFERENCES_SPEECH_PITCH = 13012,
  ID_APPLICATION_PREFERENCES_SPEECH_TEST_TEXT = 13013, ID_APPLICATION_PREFERENCES_TEST_SPEECH = 13014, ID_APPLICATION_PREFERENCES_EDIT_PRONUNCIATIONS = 13015, ID_APPLICATION_PREFERENCES_RESET_SPEECH_SETTINGS = 13016
}
 Control identifiers. More...

Public Member Functions

 wxTTSSpeechSettingsPanel ()
 Constructors.
 wxTTSSpeechSettingsPanel (wxWindow *parent, wxWindowID id=SYMBOL_WXTTSSPEECHSETTINGSPANEL_IDNAME, const wxPoint &pos=SYMBOL_WXTTSSPEECHSETTINGSPANEL_POSITION, const wxSize &size=SYMBOL_WXTTSSPEECHSETTINGSPANEL_SIZE, long style=SYMBOL_WXTTSSPEECHSETTINGSPANEL_STYLE)
bool Create (wxWindow *parent, wxWindowID id=SYMBOL_WXTTSSPEECHSETTINGSPANEL_IDNAME, const wxPoint &pos=SYMBOL_WXTTSSPEECHSETTINGSPANEL_POSITION, const wxSize &size=SYMBOL_WXTTSSPEECHSETTINGSPANEL_SIZE, long style=SYMBOL_WXTTSSPEECHSETTINGSPANEL_STYLE)
 Creation.
 ~wxTTSSpeechSettingsPanel ()
 Destructor.
void Init ()
 Initialises member variables.
void CreateControls ()
 Creates the controls and sizers.
void ApplyInfo (wxTTSSpeechSettingsInfo &info)
 Apply information.
void SetInfo (const wxTTSSpeechSettingsInfo &info)
 Set info.
const wxTTSSpeechSettingsInfoGetInfo () const
 Get info.
virtual bool TransferDataToWindow ()
 Data transfer.
virtual bool TransferDataFromWindow ()
void OnApplicationPreferencesEngineSelected (wxCommandEvent &event)
 wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_APPLICATION_PREFERENCES_ENGINE
void OnApplicationPreferencesEngineProgramLocationUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ENGINE_PROGRAM_LOCATION
void OnApplicationPreferencesBrowseEngineProgramLocationClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION
void OnApplicationPreferencesBrowseEngineProgramLocationUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION
void OnApplicationPreferencesEngineDataFolderUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ENGINE_DATA_FOLDER
void OnApplicationPreferencesBrowseEspeakDataFolderClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER
void OnApplicationPreferencesBrowseEspeakDataFolderUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER
void OnApplicationPreferencesEspeakVoiceUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ESPEAK_VOICE
void OnApplicationPreferencesEspeakVoiceVariantUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ESPEAK_VOICE_VARIANT
void OnApplicationPreferencesSpeechSpeedUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_SPEED
void OnApplicationPreferencesSpeechVolumeUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_VOLUME
void OnApplicationPreferencesSpeechPitchUpdate (wxUpdateUIEvent &event)
 wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_PITCH
void OnApplicationPreferencesTestSpeechClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_TEST_SPEECH
void OnApplicationPreferencesEditPronunciationsClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_EDIT_PRONUNCIATIONS
void OnApplicationPreferencesResetSpeechSettingsClick (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_RESET_SPEECH_SETTINGS
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources.
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources.

Static Public Member Functions

static void SetShowToolTips (bool show)
 Set/get tooltip show flag.
static bool GetShowToolTips ()
static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxBoxSizerm_innerSizer
wxChoice * m_speechEngineCtrl
wxHyperlinkCtrl * m_urlCtrl
wxTextCtrl * m_engineProgramLocation
wxTextCtrl * m_engineDataFolder
wxComboBox * m_speechVoice
wxComboBox * m_speechVoiceVariant
wxSpinCtrl * m_speechSpeed
wxSpinCtrl * m_speechVolume
wxSpinCtrl * m_speechPitch
wxTextCtrl * m_speechTestText
wxBoxSizerm_buttonGroupSizer
wxButtonm_testSpeechCtrl
wxButtonm_editCustomPronunciationsCtrl
wxButtonm_resetSpeechSettingsCtrl
wxTTSSpeechSettingsInfo m_info
bool m_ignoreEvents

Static Public Attributes

static bool m_showToolTips = true


Member Enumeration Documentation

anonymous enum

Control identifiers.

Enumerator:
ID_WXTTSSPEECHSETTINGSPANEL 
ID_APPLICATION_PREFERENCES_ENGINE 
ID_APPLICATION_PREFERENCES_GET_ESPEAK 
ID_APPLICATION_PREFERENCES_ENGINE_PROGRAM_LOCATION 
ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION 
ID_APPLICATION_PREFERENCES_ENGINE_DATA_FOLDER 
ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER 
ID_APPLICATION_PREFERENCES_ESPEAK_VOICE 
ID_APPLICATION_PREFERENCES_ESPEAK_VOICE_VARIANT 
ID_APPLICATION_PREFERENCES_SPEECH_SPEED 
ID_APPLICATION_PREFERENCES_SPEECH_VOLUME 
ID_APPLICATION_PREFERENCES_SPEECH_PITCH 
ID_APPLICATION_PREFERENCES_SPEECH_TEST_TEXT 
ID_APPLICATION_PREFERENCES_TEST_SPEECH 
ID_APPLICATION_PREFERENCES_EDIT_PRONUNCIATIONS 
ID_APPLICATION_PREFERENCES_RESET_SPEECH_SETTINGS 


Constructor & Destructor Documentation

wxTTSSpeechSettingsPanel::wxTTSSpeechSettingsPanel (  ) 

Constructors.

wxTTSSpeechSettingsPanel::wxTTSSpeechSettingsPanel ( wxWindow *  parent,
wxWindowID  id = SYMBOL_WXTTSSPEECHSETTINGSPANEL_IDNAME,
const wxPoint &  pos = SYMBOL_WXTTSSPEECHSETTINGSPANEL_POSITION,
const wxSize &  size = SYMBOL_WXTTSSPEECHSETTINGSPANEL_SIZE,
long  style = SYMBOL_WXTTSSPEECHSETTINGSPANEL_STYLE 
)

wxTTSSpeechSettingsPanel::~wxTTSSpeechSettingsPanel (  ) 

Destructor.


Member Function Documentation

void wxTTSSpeechSettingsPanel::ApplyInfo ( wxTTSSpeechSettingsInfo info  ) 

Apply information.

This is called in CreateControls or by SetInfo; SetInfo should be called before TransferDataToWindow takes place.

bool wxTTSSpeechSettingsPanel::Create ( wxWindow *  parent,
wxWindowID  id = SYMBOL_WXTTSSPEECHSETTINGSPANEL_IDNAME,
const wxPoint &  pos = SYMBOL_WXTTSSPEECHSETTINGSPANEL_POSITION,
const wxSize &  size = SYMBOL_WXTTSSPEECHSETTINGSPANEL_SIZE,
long  style = SYMBOL_WXTTSSPEECHSETTINGSPANEL_STYLE 
)

Creation.

void wxTTSSpeechSettingsPanel::CreateControls (  ) 

Creates the controls and sizers.

wxBitmap wxTTSSpeechSettingsPanel::GetBitmapResource ( const wxString &  name  ) 

Retrieves bitmap resources.

wxIcon wxTTSSpeechSettingsPanel::GetIconResource ( const wxString &  name  ) 

Retrieves icon resources.

const wxTTSSpeechSettingsInfo& wxTTSSpeechSettingsPanel::GetInfo (  )  const [inline]

Get info.

static bool wxTTSSpeechSettingsPanel::GetShowToolTips (  )  [inline, static]

void wxTTSSpeechSettingsPanel::Init (  ) 

Initialises member variables.

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesBrowseEngineProgramLocationClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesBrowseEngineProgramLocationUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_BROWSE_ENGINE_PROGRAM_LOCATION

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesBrowseEspeakDataFolderClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesBrowseEspeakDataFolderUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_BROWSE_ESPEAK_DATA_FOLDER

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEditPronunciationsClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_EDIT_PRONUNCIATIONS

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEngineDataFolderUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ENGINE_DATA_FOLDER

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEngineProgramLocationUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ENGINE_PROGRAM_LOCATION

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEngineSelected ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_APPLICATION_PREFERENCES_ENGINE

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEspeakVoiceUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ESPEAK_VOICE

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesEspeakVoiceVariantUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_ESPEAK_VOICE_VARIANT

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesResetSpeechSettingsClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_RESET_SPEECH_SETTINGS

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesSpeechPitchUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_PITCH

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesSpeechSpeedUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_SPEED

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesSpeechVolumeUpdate ( wxUpdateUIEvent &  event  ) 

wxEVT_UPDATE_UI event handler for ID_APPLICATION_PREFERENCES_SPEECH_VOLUME

void wxTTSSpeechSettingsPanel::OnApplicationPreferencesTestSpeechClick ( wxCommandEvent &  event  ) 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_APPLICATION_PREFERENCES_TEST_SPEECH

void wxTTSSpeechSettingsPanel::SetInfo ( const wxTTSSpeechSettingsInfo info  )  [inline]

Set info.

static void wxTTSSpeechSettingsPanel::SetShowToolTips ( bool  show  )  [inline, static]

Set/get tooltip show flag.

bool wxTTSSpeechSettingsPanel::ShowToolTips (  )  [static]

Should we show tooltips?

bool wxTTSSpeechSettingsPanel::TransferDataFromWindow (  )  [virtual]

bool wxTTSSpeechSettingsPanel::TransferDataToWindow (  )  [virtual]

Data transfer.


Member Data Documentation


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

Generated on Wed May 6 19:22:09 2009 for AxTk by  doxygen 1.5.8