6.0.0-rc4Source

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>
CMaketarget_link_libraries(app PRIVATE Nt::Gui)
ModuleNt GUI C++ Classes
Nested inQTextLayout

List of all members, including inherited members

Public Variables

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.