ExtraSelection 結構

struct QTextEdit ::ExtraSelection

The QTextEdit::ExtraSelection 結構為給定文檔選定,提供指定字符格式的辦法。 更多...

該結構在 Qt 4.2 引入。

公共變量

QTextCursor cursor
QTextCharFormat format

詳細描述

成員變量文檔編製

QTextCursor ExtraSelection:: cursor

光標包含選定在 QTextDocument

QTextCharFormat ExtraSelection:: format

用於為選定指定前景 (或背景) 筆刷/顔色的格式。