23 QPlainTextEdit(parent) {}
30 explicit PlainTextEdit(
const QString& text, QWidget *parent =
nullptr) :
31 QPlainTextEdit(text, parent) {}
42 Q_DECLARE_FLAGS(TextFlags, TextFlag)
50 void appendText(const QString& text, const QColor& foregroundColor = QColor(), const QColor& backgroundColor = QColor());
59 void appendFormattedText(const QString& text, TextFlags flags, const QColor& foregroundColor = QColor(), const QColor& backgroundColor = QColor());
QPlainTextEdit subclass with HTML-formatted and color-styled append helpers.
PlainTextEdit(const QString &text, QWidget *parent=nullptr)
Construct with initial text content.
PlainTextEdit(QWidget *parent=nullptr)
Construct with an optional parent.
TextFlag
Flags controlling text formatting for appendFormattedText().