voice QML Value Type
Le type de voix correspond à une voix particulière. En savoir plus…
| Import Statement: | import QtTextToSpeech |
Propriétés
- age : enumeration
- gender : enumeration
- language : enumerator
(since 6.6) - locale : locale
- name : string
Description détaillée
Pour obtenir une voix prise en charge par le moteur de synthèse vocale actuel, utilisez TextToSpeech::availableVoices().
Documentation sur les propriétés
age : enumeration
Cette propriété indique l'âge de la voix.
Voir également QVoice::Age.
gender : enumeration
Cette propriété indique le genre de la voix.
Voir également QVoice::Gender.
language : enumerator [since 6.6]
Cette propriété indique la langue de la voix.
Il s'agit de l'attribut « language » de la propriété « locale » de la voix.
Cette propriété a été introduite dans Qt 6.6.
locale : locale
Cette propriété indique les paramètres régionaux 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.