Mantid
Loading...
Searching...
No Matches
IAlgorithmProgressWidget.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2020 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
8class QString;
9
10namespace MantidQt {
11namespace MantidWidgets {
13public:
15 virtual ~IAlgorithmProgressWidget() = default;
16
17 virtual void algorithmStarted() = 0;
18 virtual void algorithmEnded() = 0;
19 virtual void updateProgress(const double progress, const QString &message, const double estimatedTime,
20 const int progressPrecision) = 0;
21 virtual void showDetailsDialog() = 0;
22};
23
24} // namespace MantidWidgets
25} // namespace MantidQt
virtual void updateProgress(const double progress, const QString &message, const double estimatedTime, const int progressPrecision)=0
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...