|
Mantid
|
#include <AlgorithmProgressDialogWidget.h>
Public Member Functions | |
| std::pair< QTreeWidgetItem *, QProgressBar * > | addAlgorithm (Mantid::API::IAlgorithm_sptr alg) override |
| Adds an algorithm to the dialog. More... | |
| AlgorithmProgressDialogWidget (QWidget *parent, AlgorithmProgressModel &model) | |
Public Member Functions inherited from MantidQt::MantidWidgets::IAlgorithmProgressDialogWidget | |
| virtual std::pair< QTreeWidgetItem *, QProgressBar * > | addAlgorithm (Mantid::API::IAlgorithm_sptr alg)=0 |
| Adds an algorithm to the dialog. More... | |
| virtual | ~IAlgorithmProgressDialogWidget ()=default |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) override |
Private Attributes | |
| std::unique_ptr< AlgorithmProgressDialogPresenter > | m_presenter |
| QTreeWidget * | m_tree |
| Owned by this dialog, will be deleted on close. More... | |
Definition at line 28 of file AlgorithmProgressDialogWidget.h.
| MantidQt::MantidWidgets::AlgorithmProgressDialogWidget::AlgorithmProgressDialogWidget | ( | QWidget * | parent, |
| AlgorithmProgressModel & | model | ||
| ) |
Definition at line 20 of file AlgorithmProgressDialogWidget.cpp.
References m_tree.
|
overridevirtual |
Adds an algorithm to the dialog.
Adds a new widget item for the algorithm.
Returns the item in the tree widget, and the progress bar within it
| alg | The algorithm that should be displayed |
Implements MantidQt::MantidWidgets::IAlgorithmProgressDialogWidget.
Definition at line 55 of file AlgorithmProgressDialogWidget.cpp.
References m_tree.
|
overrideprotected |
Definition at line 79 of file AlgorithmProgressDialogWidget.cpp.
References m_presenter.
|
private |
Definition at line 43 of file AlgorithmProgressDialogWidget.h.
Referenced by closeEvent().
|
private |
Owned by this dialog, will be deleted on close.
Definition at line 42 of file AlgorithmProgressDialogWidget.h.
Referenced by addAlgorithm(), and AlgorithmProgressDialogWidget().