voice QML Type

语音类型代表一种特定的语音。更多

Import Statement: import QtTextToSpeech

属性

详细说明

要获取当前文本到语音引擎支持的语音,请使用TextToSpeech::availableVoices() 。

属性文档

gender : enumeration

该属性包含语音的性别。

另请参阅 QVoice::Gender


language : enumerator [since 6.6]

该属性表示语音的语言。

这是语音localelanguage 属性。

该属性在 Qt 6.6 中引入。


locale : locale

该属性用于保存语音的地域。

地域包括语音的语言和地域(即口音或方言)。

language


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.