Sur cette page

voice QML Value Type

Le type de voix représente une voix particulière. Plus d'informations...

Import Statement: import QtTextToSpeech

Propriétés

Description détaillée

Pour obtenir une voix prise en charge par le moteur de synthèse vocale actuel, utilisez TextToSpeech::availableVoices().

Propriété Documentation

age : enumeration

Cette propriété contient l'âge de la voix.

Voir aussi QVoice::Age.

gender : enumeration

Cette propriété indique le genre de la voix.

Voir aussi QVoice::Gender.

language : enumerator [since 6.6]

Cette propriété contient la langue de la voix.

Il s'agit de l'attribut language de la voix locale.

Cette propriété a été introduite dans Qt 6.6.

locale : locale

Cette propriété contient la locale de la voix.

La locale comprend la langue et le territoire (c'est-à-dire l'accent ou le dialecte) de la voix.

language

name : string

Cette propriété contient le nom de la voix.

© 2026 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.