RichTextPainter¶
-
class
RichTextPainter
¶ Public Types
-
typedef std::vector<CustomRichText_t>
List
¶
Public Static Functions
-
template<typename T = qreal>template void RichTextPainter::paintRichText< qreal >(QPainter * painter, T x, T y, T w, T h, T xinc, const List & richText, CachedFontMetrics < T > * fontMetrics)
-
void
htmlRichText
(const List &richText, QString &textHtml, QString &textPlain)¶ RichTextPainter::htmlRichText Convert rich text in x64dbg to HTML, for use by other applications.
- Parameters
richText
: The rich text to be converted to HTML formattextHtml
: The HTML source. Any previous content will be preserved and new content will be appended at the end.textPlain
: The plain text. Any previous content will be preserved and new content will be appended at the end.
-
RichTextPainter::List
fromTextDocument
(const QTextDocument &doc)¶
-
RichTextPainter::List
cropped
(const List &richText, int maxCols, const QString &indicator = nullptr, bool *croppedOut = nullptr)¶
-
struct
CustomRichText_t
¶
-
typedef std::vector<CustomRichText_t>