#include <tts/tts_custompronunciationdialog.h>
Public Types | |
| enum | { ID_CUSTOMPRONUNCIATIONDIALOG = 22700, ID_CUSTOM_WORD_LISTBOX = 22701, ID_ADD_CUSTOM_WORD = 22702, ID_REMOVE_CUSTOM_WORD = 22703, ID_CUSTOM_WORD = 22704, ID_CUSTOM_WORD_SAY = 22705, ID_CUSTOM_REPLACEMENT = 22706, ID_CUSTOM_REPLACEMENT_SAY = 22707, ID_CUSTOM_PRONUNCIATION_HTMLWINDOW = 22708 } |
| Control identifiers. More... | |
Public Member Functions | |
| wxTTSCustomPronunciationDialog () | |
| Constructors. | |
| wxTTSCustomPronunciationDialog (wxTTSTransformer *transformer, wxWindow *parent, wxWindowID id=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_IDNAME, const wxString &caption=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_TITLE, const wxPoint &pos=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_POSITION, const wxSize &size=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_SIZE, long style=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_STYLE) | |
| bool | Create (wxTTSTransformer *transformer, wxWindow *parent, wxWindowID id=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_IDNAME, const wxString &caption=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_TITLE, const wxPoint &pos=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_POSITION, const wxSize &size=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_SIZE, long style=SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_STYLE) |
| Creation. | |
| ~wxTTSCustomPronunciationDialog () | |
| Destructor. | |
| void | Init () |
| Initialises member variables. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | FillWordList () |
| List words. | |
| void | ShowWord (int i) |
| Show given word. | |
| wxTextToSpeech * | GetSpeech () const |
| Get speech object. | |
| void | SetSpeech (wxTextToSpeech *speech) |
| Set speech object. | |
| void | OnCustomWordListboxSelected (wxCommandEvent &event) |
| wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_CUSTOM_WORD_LISTBOX | |
| void | OnAddCustomWordClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_ADD_CUSTOM_WORD | |
| void | OnRemoveCustomWordClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_REMOVE_CUSTOM_WORD | |
| void | OnRemoveCustomWordUpdate (wxUpdateUIEvent &event) |
| wxEVT_UPDATE_UI event handler for ID_REMOVE_CUSTOM_WORD | |
| void | OnCustomWordUpdate (wxUpdateUIEvent &event) |
| wxEVT_UPDATE_UI event handler for ID_CUSTOM_WORD | |
| void | OnCustomWordSayClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CUSTOM_WORD_SAY | |
| void | OnCustomWordSayUpdate (wxUpdateUIEvent &event) |
| wxEVT_UPDATE_UI event handler for ID_CUSTOM_WORD_SAY | |
| void | OnCustomReplacementTextUpdated (wxCommandEvent &event) |
| wxEVT_COMMAND_TEXT_UPDATED event handler for ID_CUSTOM_REPLACEMENT | |
| void | OnCustomReplacementUpdate (wxUpdateUIEvent &event) |
| wxEVT_UPDATE_UI event handler for ID_CUSTOM_REPLACEMENT | |
| void | OnCustomReplacementSayClick (wxCommandEvent &event) |
| wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CUSTOM_REPLACEMENT_SAY | |
| void | OnCustomReplacementSayUpdate (wxUpdateUIEvent &event) |
| wxEVT_UPDATE_UI event handler for ID_CUSTOM_REPLACEMENT_SAY | |
| 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 |
| wxListBox * | m_wordListCtrl |
| wxTextCtrl * | m_customWordCtrl |
| wxTextCtrl * | m_replacementWordCtrl |
| wxTTSHtmlWindow * | m_htmlWindow |
| wxTTSTransformer * | m_transformer |
| bool | m_ignoreEvents |
| wxTextToSpeech * | m_speech |
Static Public Attributes | |
| static bool | m_showToolTips = true |
| anonymous enum |
| wxTTSCustomPronunciationDialog::wxTTSCustomPronunciationDialog | ( | ) |
Constructors.
| wxTTSCustomPronunciationDialog::wxTTSCustomPronunciationDialog | ( | wxTTSTransformer * | transformer, | |
| wxWindow * | parent, | |||
| wxWindowID | id = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_IDNAME, |
|||
| const wxString & | caption = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_TITLE, |
|||
| const wxPoint & | pos = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_POSITION, |
|||
| const wxSize & | size = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_SIZE, |
|||
| long | style = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_STYLE | |||
| ) |
| wxTTSCustomPronunciationDialog::~wxTTSCustomPronunciationDialog | ( | ) |
Destructor.
| bool wxTTSCustomPronunciationDialog::Create | ( | wxTTSTransformer * | transformer, | |
| wxWindow * | parent, | |||
| wxWindowID | id = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_IDNAME, |
|||
| const wxString & | caption = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_TITLE, |
|||
| const wxPoint & | pos = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_POSITION, |
|||
| const wxSize & | size = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_SIZE, |
|||
| long | style = SYMBOL_WXTTSCUSTOMPRONUNCIATIONDIALOG_STYLE | |||
| ) |
Creation.
| void wxTTSCustomPronunciationDialog::CreateControls | ( | ) |
Creates the controls and sizers.
| void wxTTSCustomPronunciationDialog::FillWordList | ( | ) |
List words.
| wxBitmap wxTTSCustomPronunciationDialog::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources.
| wxIcon wxTTSCustomPronunciationDialog::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
| static bool wxTTSCustomPronunciationDialog::GetShowToolTips | ( | ) | [inline, static] |
| wxTextToSpeech* wxTTSCustomPronunciationDialog::GetSpeech | ( | ) | const [inline] |
Get speech object.
| void wxTTSCustomPronunciationDialog::Init | ( | ) |
Initialises member variables.
| void wxTTSCustomPronunciationDialog::OnAddCustomWordClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_ADD_CUSTOM_WORD
| void wxTTSCustomPronunciationDialog::OnCustomReplacementSayClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CUSTOM_REPLACEMENT_SAY
| void wxTTSCustomPronunciationDialog::OnCustomReplacementSayUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_CUSTOM_REPLACEMENT_SAY
| void wxTTSCustomPronunciationDialog::OnCustomReplacementTextUpdated | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_TEXT_UPDATED event handler for ID_CUSTOM_REPLACEMENT
| void wxTTSCustomPronunciationDialog::OnCustomReplacementUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_CUSTOM_REPLACEMENT
| void wxTTSCustomPronunciationDialog::OnCustomWordListboxSelected | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_LISTBOX_SELECTED event handler for ID_CUSTOM_WORD_LISTBOX
| void wxTTSCustomPronunciationDialog::OnCustomWordSayClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CUSTOM_WORD_SAY
| void wxTTSCustomPronunciationDialog::OnCustomWordSayUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_CUSTOM_WORD_SAY
| void wxTTSCustomPronunciationDialog::OnCustomWordUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_CUSTOM_WORD
| void wxTTSCustomPronunciationDialog::OnRemoveCustomWordClick | ( | wxCommandEvent & | event | ) |
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_REMOVE_CUSTOM_WORD
| void wxTTSCustomPronunciationDialog::OnRemoveCustomWordUpdate | ( | wxUpdateUIEvent & | event | ) |
wxEVT_UPDATE_UI event handler for ID_REMOVE_CUSTOM_WORD
| static void wxTTSCustomPronunciationDialog::SetShowToolTips | ( | bool | show | ) | [inline, static] |
Set/get tooltip show flag.
| void wxTTSCustomPronunciationDialog::SetSpeech | ( | wxTextToSpeech * | speech | ) | [inline] |
Set speech object.
| bool wxTTSCustomPronunciationDialog::ShowToolTips | ( | ) | [static] |
Should we show tooltips?
| void wxTTSCustomPronunciationDialog::ShowWord | ( | int | i | ) |
Show given word.
| wxTextCtrl* wxTTSCustomPronunciationDialog::m_customWordCtrl |
bool wxTTSCustomPronunciationDialog::m_showToolTips = true [static] |
1.5.8