voice QML Value Type

The voice type represents a particular voice. 更多...

import 語句: import QtTextToSpeech

特性

詳細描述

To get a voice that is supported by the current text-to-speech engine, use TextToSpeech::availableVoices ().

特性文檔編製

age : enumeration

This property holds the age of the voice.

另請參閱 QVoice::Age .

gender : enumeration

This property holds the gender of the voice.

另請參閱 QVoice::Gender .

語言 : enumerator [since 6.6]

This property holds the language of the voice.

This is the language attribute of the voice's locale .

該特性在 Qt 6.6 引入。

locale : locale

This property holds the locale of the voice.

The locale includes the language and the territory (i.e. accent or dialect) of the voice.

language

名稱 : string

This property holds the name of the voice.