Mantid
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
AlgorithmProgress
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
9
#include "
MantidAPI/Algorithm.h
"
10
11
#include <QDialog>
12
#include <QPushButton>
13
14
#include <memory>
15
#include <utility>
16
17
class
QProgressBar;
18
class
QTreeWidgetItem;
19
25
namespace
MantidQt
{
26
namespace
MantidWidgets {
27
class
IAlgorithmProgressDialogWidget
{
28
public
:
29
virtual
~IAlgorithmProgressDialogWidget
() =
default
;
32
virtual
std::pair<QTreeWidgetItem *, QProgressBar *>
addAlgorithm
(
Mantid::API::IAlgorithm_sptr
alg) = 0;
33
};
34
}
// namespace MantidWidgets
35
}
// namespace MantidQt
Algorithm.h
MantidQt::MantidWidgets::IAlgorithmProgressDialogWidget
Definition:
IAlgorithmProgressDialogWidget.h:27
MantidQt::MantidWidgets::IAlgorithmProgressDialogWidget::~IAlgorithmProgressDialogWidget
virtual ~IAlgorithmProgressDialogWidget()=default
MantidQt::MantidWidgets::IAlgorithmProgressDialogWidget::addAlgorithm
virtual std::pair< QTreeWidgetItem *, QProgressBar * > addAlgorithm(Mantid::API::IAlgorithm_sptr alg)=0
Adds an algorithm to the dialog.
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Mantid::API::IAlgorithm_sptr
std::shared_ptr< IAlgorithm > IAlgorithm_sptr
shared pointer to Mantid::API::IAlgorithm
Definition:
IAlgorithm_fwd.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5