18#include <QTextCharFormat>
35namespace MantidWidgets {
41 [[nodiscard]]
int logLevel()
const;
42 [[nodiscard]]
int maximumLineCount()
const;
57 Q_PROPERTY(QString source
READ source WRITE setSource)
80 void attachLoggingChannel(
int logLevel = 0);
82 void setSource(
const QString &source);
84 inline const QString &
source()
const {
return m_logChannel->source(); }
90 QMenu *generateContextMenu();
92 void filterMessages();
94 void filePathModified(
const QString &oldPath,
const QString &newPath);
96 void appendToHistory(
const Message &msg);
122 void appendFatal(
const QString &text);
124 void appendError(
const QString &text);
126 void appendWarning(
const QString &text);
128 void appendNotice(
const QString &text);
130 void appendInformation(
const QString &text);
132 void appendDebug(
const QString &text);
134 void append(
const Message &msg);
136 void appendPython(
const QString &text,
const int &priority,
const QString &fileName);
138 void replace(
const Message &msg);
142 QTextCursor moveCursorToEnd();
144 bool isScrollbarAtBottom()
const;
148 void scrollToBottom();
152 void showContextMenu(
const QPoint &event);
154 void setLogLevel(
int priority);
156 void setScrollbackLimit();
158 int maximumLineCount()
const;
160 void setMaximumLineCount(
int count);
168 void setupTextArea(
const QFont &font);
172 bool shouldBeDisplayed(
const Message &msg);
185 QAction *m_error, *m_warning, *m_notice, *m_information, *
m_debug;
189 bool m_showFrameworkOutput{
true}, m_showAllScriptOutput{
true}, m_showActiveScriptOutput{
false};
#define EXPORT_OPT_MANTIDQT_COMMON
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...