The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. More...
Header: | #include <FormatRange> |
qmake: | QT += gui |
bool | operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
bool | operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs) |
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.
See also QTextLayout::setFormats() and QTextLayout::draw().
Specifies the format to apply.
Specifies the numer of characters the format range spans.
Specifies the beginning of the format range within the text layout's text.
Returns true if any of the start
, length
, or format
fields in lhs and rhs contain different values respectively.
Returns true if the start
, length
, and format
fields in lhs and rhs contain the same values respectively.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: