OutputFormatter Class | Extending Qt Creator Manual

Extending Qt Creator Manual | OutputFormatter

Extending Qt Creator Manual 4.6.0

# OutputFormatter Class

(Utils::OutputFormatter)

- List of all members, including inherited members

## Public Functions

| OutputFormatter()
virtual | ~OutputFormatter()
virtual void | appendMessage(const QString &text, OutputFormat format)
virtual void | appendMessage(const QString &text, const QTextCharFormat &format)
virtual void | clear()
void | flush()
virtual void | handleLink(const QString &href)
QPlainTextEdit * | plainTextEdit() const
virtual void | setPlainTextEdit(QPlainTextEdit *plainText)
virtual QList<QWidget *> | toolbarWidgets() const

## Protected Functions

void | append(QTextCursor &cursor, const QString &text, const QTextCharFormat &format)
QTextCharFormat | charFormat(OutputFormat format) const
virtual void | clearLastLine()
void | initFormats()
QList<Utils::FormattedText> | parseAnsi(const QString &text, const QTextCharFormat &format)

## Member Function Documentation

### OutputFormatter::OutputFormatter()

Default constructs an instance of OutputFormatter.

### `[virtual]` OutputFormatter::~OutputFormatter()

Destroys the instance of OutputFormatter. The destructor is virtual.

### `[protected]` void OutputFormatter::append(QTextCursor &cursor, const QString &text, const QTextCharFormat &format)

### `[virtual]` void OutputFormatter::appendMessage(const QString &text, OutputFormat format)

### `[virtual]` void OutputFormatter::appendMessage(const QString &text, const QTextCharFormat &format)

### `[protected]` QTextCharFormat OutputFormatter::charFormat(OutputFormat format) const

### `[virtual]` void OutputFormatter::clear()

### `[virtual protected]` void OutputFormatter::clearLastLine()

### void OutputFormatter::flush()

### `[virtual]` void OutputFormatter::handleLink(const QString &href)

### `[protected]` void OutputFormatter::initFormats()

### `[protected]` QList<Utils::FormattedText> OutputFormatter::parseAnsi(const QString &text, const QTextCharFormat &format)

### QPlainTextEdit *OutputFormatter::plainTextEdit() const

See also setPlainTextEdit().

### `[virtual]` void OutputFormatter::setPlainTextEdit(QPlainTextEdit *plainText)

See also plainTextEdit().

### `[virtual]` QList<QWidget *> OutputFormatter::toolbarWidgets() const