C# 클래스 ACAT.Extensions.Default.UI.Dialogs.TextToSpeechSettingsForm

파일 보기 프로젝트 열기: brlima94/acat-localization

공개 메소드들

메소드 설명
OnButtonActuated ( Widget widget ) : void

Triggered when a widget is actuated

OnPause ( ) : void

Pauses the animation

OnResume ( ) : void

Resumes paused dialog

OnRunCommand ( string command, bool &handled ) : void

Not used

TextToSpeechSettingsForm ( ) : System

Initializes a new instance of the class.

보호된 메소드들

메소드 설명
OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing . Release resources

비공개 메소드들

메소드 설명
HasValidPreferenceValues ( ) : Boolean

Ensures that all the settings are valid, within the range

TextToSpeechSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

TextToSpeechSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initlialize the controls on the form

WndProc ( Message &m ) : void
loadDefaultSettings ( ) : void

Restores default settings

populateUI ( ) : void

Populate the controls with settings from the TTS engine

quit ( ) : void

Confirms with the user and quits the dialog

restoreInitialValues ( ) : void

Restores initial values

saveInitalValues ( ) : void

Gets the starting values of all the settings

saveSettingsAndQuit ( ) : void

Saves settings and quits the dialog. Confirms with the user first if necessary

showError ( String error ) : void

Displays error in a message box

subscribeToEvents ( ) : void

Subscribes to all the events triggered by the widgets and the interpreter

tbPitch_TextChanged ( object sender, EventArgs e ) : void

The 'pitch' changed in the dialog box

tbRate_TextChanged ( object sender, EventArgs e ) : void

The 'rate' changed in the dialog box

tbVolume_TextChanged ( object sender, EventArgs e ) : void

The 'volume' changed in the dialog box

testSettings ( ) : void

Test the current settings by sending a string to the speech engine

updateActiveEngineSettingsFromUI ( ) : void

Update settings in the TTS engine with values from the dialog box

widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void

Something changed in the dialog box. Set the dirty flag to indicate this.

메소드 상세

OnButtonActuated() 공개 메소드

Triggered when a widget is actuated
public OnButtonActuated ( Widget widget ) : void
widget Widget Which one triggered?
리턴 void

OnFormClosing() 보호된 메소드

Form is closing . Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs
리턴 void

OnPause() 공개 메소드

Pauses the animation
public OnPause ( ) : void
리턴 void

OnResume() 공개 메소드

Resumes paused dialog
public OnResume ( ) : void
리턴 void

OnRunCommand() 공개 메소드

Not used
public OnRunCommand ( string command, bool &handled ) : void
command string
handled bool
리턴 void

TextToSpeechSettingsForm() 공개 메소드

Initializes a new instance of the class.
public TextToSpeechSettingsForm ( ) : System
리턴 System