18#include <QTextCharFormat>
35namespace MantidWidgets {
45 Q_PROPERTY(QString source READ source WRITE setSource)
49 void readSettings(
const QSettings &storage)
override;
50 void writeSettings(QSettings &storage)
const override;
63 void attachLoggingChannel(
int logLevel = 0);
65 void setSource(
const QString &source);
67 inline const QString &
source()
const {
return m_logChannel->source(); }
73 QMenu *generateContextMenu();
75 void filterMessages();
77 void filePathModified(
const QString &oldPath,
const QString &newPath);
79 void appendToHistory(
const Message &msg);
105 void appendFatal(
const QString &text);
107 void appendError(
const QString &text);
109 void appendWarning(
const QString &text);
111 void appendNotice(
const QString &text);
113 void appendInformation(
const QString &text);
115 void appendDebug(
const QString &text);
117 void append(
const Message &msg);
119 void appendPython(
const QString &text,
const int &priority,
const QString &fileName);
121 void replace(
const Message &msg);
125 QTextCursor moveCursorToEnd();
127 bool isScrollbarAtBottom()
const;
131 void scrollToBottom();
135 void showContextMenu(
const QPoint &event);
137 void setLogLevel(
int priority);
139 void setScrollbackLimit();
141 int maximumLineCount()
const;
143 void setMaximumLineCount(
int count);
151 void setupTextArea(
const QFont &font);
155 bool shouldBeDisplayed(
const Message &msg);
168 QAction *m_error, *m_warning, *m_notice, *m_information, *
m_debug;
172 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...