Mantid
Loading...
Searching...
No Matches
DiagResults.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "DllOption.h"
11#include <QGridLayout>
12#include <QHash>
13#include <QSignalMapper>
14
15namespace MantidQt {
16namespace MantidWidgets {
17
19 Q_OBJECT
20
21public:
22 DiagResults(QWidget *parent);
23 void updateResults(const QString &testSummary);
24
25signals:
28 void died();
29
30private:
31 void updateRow(int row, const QString &text);
32 int addRow(const QString &firstColumn, const QString &secondColumn);
33 void closeEvent(QCloseEvent *event) override;
34
35private:
37 QGridLayout *m_Grid;
38};
39} // namespace MantidWidgets
40} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition DllOption.h:15
void updateResults(const QString &testSummary)
QGridLayout * m_Grid
the layout that widgets are added to
Definition DiagResults.h:37
int addRow(const QString &firstColumn, const QString &secondColumn)
void died()
is emitted just before the window dies to let the window that created this know the pointer it has is...
void closeEvent(QCloseEvent *event) override
void updateRow(int row, const QString &text)
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...