Make the buffer size for the Application Output window configurable

Task-number: QTCREATORBUG-4531
This commit is contained in:
con
2011-04-29 09:36:04 +02:00
parent f6eef7fa0f
commit 5e6d92dd66
9 changed files with 88 additions and 17 deletions

View File

@@ -57,7 +57,7 @@ public:
void appendMessage(const QString &out, Utils::OutputFormat format);
/// appends a \p text using \p format without using formater
void appendText(const QString &text, const QTextCharFormat &format = QTextCharFormat(), int maxLineCount = -1);
void appendText(const QString &text, const QTextCharFormat &format = QTextCharFormat());
void grayOutOldContent();
void clear();
@@ -66,6 +66,9 @@ public:
void scrollToBottom();
void setMaxLineCount(int count);
int maxLineCount() const { return m_maxLineCount; }
public slots:
void setWordWrapEnabled(bool wrap);
@@ -89,6 +92,7 @@ private:
bool m_scrollToBottom;
bool m_linksActive;
bool m_mousePressed;
int m_maxLineCount;
};
} // namespace Core