Mantid
Loading...
Searching...
No Matches
IAlgorithmProgressDialogWidget.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2019 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
10
11#include <QDialog>
12#include <QPushButton>
13
14#include <memory>
15#include <utility>
16
17class QProgressBar;
18class QTreeWidgetItem;
19
25namespace MantidQt {
26namespace MantidWidgets {
28public:
32 virtual std::pair<QTreeWidgetItem *, QProgressBar *> addAlgorithm(Mantid::API::IAlgorithm_sptr alg) = 0;
33};
34} // namespace MantidWidgets
35} // namespace MantidQt
virtual std::pair< QTreeWidgetItem *, QProgressBar * > addAlgorithm(Mantid::API::IAlgorithm_sptr alg)=0
Adds an algorithm to the dialog.
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm