FormatRange Class
(QTextLayout::FormatRange)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 |
Public Variables
Detailed Description
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.
See also QTextLayout::setAdditionalFormats() and QTextLayout::draw().
Member Variable Documentation
QTextCharFormat FormatRange::format
Specifies the format to apply.
int FormatRange::length
Specifies the numer of characters the format range spans.
int FormatRange::start
Specifies the beginning of the format range within the text layout's text.
© 2015 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.