Skip to content

Voice

Qt Base Class: QVoice

Signature: QVoice(self) -> None QVoice(self, other: PySide6.QtTextToSpeech.QVoice) -> None

Base classes

Name Children Inherits
QVoice
PySide6.QtTextToSpeech
QVoice(self) -> None

⋔ Inheritance diagram

graph TD
  1473574589264["texttospeech.Voice"]
  1473374552112["QtTextToSpeech.QVoice"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473374552112 --> 1473574589264
  1473291690208 --> 1473374552112
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QVoice

Source code in prettyqt\texttospeech\voice.py
class Voice(QtTextToSpeech.QVoice):
    def get_age(self) -> AgeStr:
        return AGE.inverse[self.age()]

    def get_gender(self) -> GenderStr:
        return GENDER.inverse[self.gender()]