QTextLayout::FormatRange Struct
struct QTextLayout::FormatRangeLa structure « QTextLayout::FormatRange » permet d'appliquer des informations de mise en forme supplémentaires à une zone spécifique du contenu de la mise en page du texte. En savoir plus...
Variables publiques
Éléments non membres associés
| bool | operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
| bool | operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
Voir également QTextLayout::setFormats() et QTextLayout::draw().
Documentation sur les variables membres
QTextCharFormat FormatRange::format
Spécifie le format à appliquer.
int FormatRange::length
Indique le nombre de caractères que couvre la plage de format.
int FormatRange::start
Spécifie le début de la plage de formatage au sein du texte de la mise en page.
Éléments non membres associés
bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
Renvoie « true » si l'un des champs « start », « length » ou « format » des pages lhs et rhs contient respectivement des valeurs différentes.
bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
Renvoie « true » si les champs « start », « length » et « format » des pages lhs et rhs contiennent respectivement les mêmes valeurs.
© 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.