#include <tts/tts_speechsettingspanel.h>
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 wxTTSSpeechSettingsInfo & | GetInfo () 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 | |
| wxBoxSizer * | m_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 |
| wxBoxSizer * | m_buttonGroupSizer |
| wxButton * | m_testSpeechCtrl |
| wxButton * | m_editCustomPronunciationsCtrl |
| wxButton * | m_resetSpeechSettingsCtrl |
| wxTTSSpeechSettingsInfo | m_info |
| bool | m_ignoreEvents |
Static Public Attributes | |
| static bool | m_showToolTips = true |
| anonymous enum |
Control identifiers.
| 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.
| 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.
| wxTextCtrl* wxTTSSpeechSettingsPanel::m_engineDataFolder |
bool wxTTSSpeechSettingsPanel::m_showToolTips = true [static] |
| wxSpinCtrl* wxTTSSpeechSettingsPanel::m_speechPitch |
| wxSpinCtrl* wxTTSSpeechSettingsPanel::m_speechSpeed |
| wxTextCtrl* wxTTSSpeechSettingsPanel::m_speechTestText |
| wxComboBox* wxTTSSpeechSettingsPanel::m_speechVoice |
| wxComboBox* wxTTSSpeechSettingsPanel::m_speechVoiceVariant |
| wxSpinCtrl* wxTTSSpeechSettingsPanel::m_speechVolume |
| wxHyperlinkCtrl* wxTTSSpeechSettingsPanel::m_urlCtrl |
1.5.8