OutputWindow Class
(Core::OutputWindow)Inherits: | QPlainTextEdit |
Public Functions
OutputWindow(Context context, QWidget *parent = 0) | |
~OutputWindow() | |
void | appendMessage(const QString &out, Utils::OutputFormat format) |
void | appendText(const QString &text, const QTextCharFormat &format = QTextCharFormat()) |
void | clear() |
float | fontZoom() const |
Utils::OutputFormatter * | formatter() const |
void | grayOutOldContent() |
int | maxLineCount() const |
void | scrollToBottom() |
void | setBaseFont(const QFont &newFont) |
void | setFontZoom(float zoom) |
void | setFormatter(Utils::OutputFormatter *formatter) |
void | setMaxLineCount(int count) |
void | setWheelZoomEnabled(bool enabled) |
Reimplemented Public Functions
virtual void | showEvent(QShowEvent *) override |
- 53 public functions inherited from QPlainTextEdit
- 20 public functions inherited from QAbstractScrollArea
- 14 public functions inherited from QFrame
- 216 public functions inherited from QWidget
Public Slots
void | setWordWrapEnabled(bool wrap) |
- 14 public slots inherited from QPlainTextEdit
- 19 public slots inherited from QWidget
Signals
void | wheelZoom() |
- 9 signals inherited from QPlainTextEdit
- 3 signals inherited from QWidget
Protected Functions
bool | isScrollbarAtBottom() const |
Reimplemented Protected Functions
virtual void | keyPressEvent(QKeyEvent *ev) override |
virtual void | mouseMoveEvent(QMouseEvent *e) override |
virtual void | mousePressEvent(QMouseEvent *e) override |
virtual void | mouseReleaseEvent(QMouseEvent *e) override |
virtual void | resizeEvent(QResizeEvent *e) override |
virtual void | wheelEvent(QWheelEvent *e) override |
- 29 protected functions inherited from QPlainTextEdit
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 16 properties inherited from QPlainTextEdit
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 59 properties inherited from QWidget
- 5 static public members inherited from QWidget
- 1 protected slot inherited from QWidget
Member Function Documentation
OutputWindow::OutputWindow(Context context, QWidget *parent = 0)
Default constructs an instance of OutputWindow.
OutputWindow::~OutputWindow()
Destroys the instance of OutputWindow.
void OutputWindow::appendMessage(const QString &out, Utils::OutputFormat format)
void OutputWindow::appendText(const QString &text, const QTextCharFormat &format = QTextCharFormat())
void OutputWindow::clear()
float OutputWindow::fontZoom() const
See also setFontZoom().
Utils::OutputFormatter *OutputWindow::formatter() const
See also setFormatter().
void OutputWindow::grayOutOldContent()
[protected]
bool OutputWindow::isScrollbarAtBottom() const
[override virtual protected]
void OutputWindow::keyPressEvent(QKeyEvent *ev)
int OutputWindow::maxLineCount() const
See also setMaxLineCount().
[override virtual protected]
void OutputWindow::mouseMoveEvent(QMouseEvent *e)
[override virtual protected]
void OutputWindow::mousePressEvent(QMouseEvent *e)
[override virtual protected]
void OutputWindow::mouseReleaseEvent(QMouseEvent *e)
[override virtual protected]
void OutputWindow::resizeEvent(QResizeEvent *e)
void OutputWindow::scrollToBottom()
void OutputWindow::setBaseFont(const QFont &newFont)
void OutputWindow::setFontZoom(float zoom)
See also fontZoom().
void OutputWindow::setFormatter(Utils::OutputFormatter *formatter)
See also formatter().
void OutputWindow::setMaxLineCount(int count)
See also maxLineCount().