RichTextPainter

class RichTextPainter

Public Types

enum CustomRichTextFlags

Values:

FlagNone
FlagColor
FlagBackground
FlagAll
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 format

  • textHtml -

    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, bool *croppedOut)
struct CustomRichText_t

Public Members

QString text
QColor textColor
QColor textBackground
CustomRichTextFlags flags
bool highlight
QColor highlightColor
int highlightWidth
bool highlightConnectPrev