QTextToSpeechEngine#

Inheritance diagram of PySide6.QtTextToSpeech.QTextToSpeechEngine

Synopsis#

Virtual functions#

Signals#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtTextToSpeech.QTextToSpeechEngine([parent=None])#
Parameters:

parentPySide6.QtCore.QObject

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.availableLocales()#
Return type:

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.availableVoices()#
Return type:

static PySide6.QtTextToSpeech.QTextToSpeechEngine.createVoice(name, locale, gender, age, data)#
Parameters:
Return type:

PySide6.QtTextToSpeech.QVoice

PySide6.QtTextToSpeech.QTextToSpeechEngine.errorOccurred(error, errorString)#
Parameters:
abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.errorReason()#
Return type:

ErrorReason

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.errorString()#
Return type:

str

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.locale()#
Return type:

PySide6.QtCore.QLocale

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.pause(boundaryHint)#
Parameters:

boundaryHintBoundaryHint

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.pitch()#
Return type:

double

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.rate()#
Return type:

double

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.resume()#
abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.say(text)#
Parameters:

text – str

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setLocale(locale)#
Parameters:

localePySide6.QtCore.QLocale

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setPitch(pitch)#
Parameters:

pitchdouble

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setRate(rate)#
Parameters:

ratedouble

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setVoice(voice)#
Parameters:

voicePySide6.QtTextToSpeech.QVoice

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.setVolume(volume)#
Parameters:

volumedouble

Return type:

bool

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.state()#
Return type:

State

PySide6.QtTextToSpeech.QTextToSpeechEngine.stateChanged(state)#
Parameters:

stateState

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.stop(boundaryHint)#
Parameters:

boundaryHintBoundaryHint

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.voice()#
Return type:

PySide6.QtTextToSpeech.QVoice

static PySide6.QtTextToSpeech.QTextToSpeechEngine.voiceData(voice)#
Parameters:

voicePySide6.QtTextToSpeech.QVoice

Return type:

object

abstract PySide6.QtTextToSpeech.QTextToSpeechEngine.volume()#
Return type:

double