FormatRange Struct
struct QTextLayout::FormatRangeQTextLayout::FormatRange 構造体は、テキストレイアウトのコンテンツ内の指定された領域に余分なフォーマット情報を適用するために使用されます。詳細...
パブリック変数
関連する非メンバー
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)
lhs およびrhs のstart
、length
、format
フィールドのいずれかがそれぞれ異なる値を含む場合に true を返す。
bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
lhs およびrhs のstart
、length
、format
フィールドがそれぞれ同じ値を含む場合に真を返す。
© 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.