FormatRange Struct

struct QTextLayout::FormatRange

QTextLayout::FormatRange 구조는 텍스트 레이아웃의 콘텐츠에서 지정된 영역에 추가 서식 정보를 적용하는 데 사용됩니다. 더 보기...

공용 변수

QTextCharFormat format
int length
int start
bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)

자세한 설명

QTextLayout::setFormats() 및 QTextLayout::draw()도 참조하세요 .

멤버 변수 문서

QTextCharFormat FormatRange::format

적용할 형식을 지정합니다.

int FormatRange::length

서식 범위가 포함되는 문자 수를 지정합니다.

int FormatRange::start

텍스트 레이아웃의 텍스트 내에서 서식 범위의 시작을 지정합니다.

관련 비회원

bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)

lhsrhsstart, length, format 필드 중 하나라도 각각 다른 값을 포함하는 경우 true를 반환합니다.

bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)

lhsrhsstart, length, format 필드에 각각 동일한 값이 포함되어 있으면 true를 반환합니다.

© 2025 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.