QTextLayout::FormatRange Struct
struct QTextLayout::FormatRangeLa estructura « QTextLayout::FormatRange » se utiliza para aplicar información de formato adicional a un área específica del contenido de la maquetación del texto. Más información...
Variables públicas
Elementos no miembros relacionados
| bool | operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
| bool | operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
Véase también ` QTextLayout::setFormats()` y ` QTextLayout::draw()`.
Documentación sobre variables de miembro
QTextCharFormat FormatRange::format
Especifica el formato que se debe aplicar.
int FormatRange::length
Especifica el número de caracteres que abarca el rango de formato.
int FormatRange::start
Especifica el inicio del rango de formato dentro del texto de la maquetación.
Elementos no miembros relacionados
bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
Devuelve «true» si alguno de los campos « start », « length » o « format » de « lhs » y « rhs » contiene valores diferentes, respectivamente.
bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
Devuelve «true» si los campos « start », « length » y « format » de « lhs » y « rhs » contienen los mismos valores, respectivamente.
© 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.