voice QML 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 ().

特性文档编制

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 语言 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.

语言