QTextLayout::FormatRange Struct
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content. More…
| Header | #include <QTextLayout> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Gui) |
| Module | Nt GUI C++ Classes |
| Nested in | QTextLayout |
List of all members, including inherited members
Public Variables
| int | start |
| int | length |
| QTextCharFormat | format |
Detailed Description
Differences from Qt
None.
Member Variable Documentation
QTextCharFormat QTextLayout::FormatRange::format
The format.
int QTextLayout::FormatRange::length
The number of characters that the format applies to.
int QTextLayout::FormatRange::start
The position in the text where the format starts to apply.