Mantid
Loading...
Searching...
No Matches
BuildSubtreeItems.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 +
11#pragma once
17#include <QStandardItem>
18
19namespace MantidQt {
20namespace MantidWidgets {
21namespace Batch {
22
24public:
25 using SubtreeConstIterator = typename Subtree::const_iterator;
26 BuildSubtreeItems(QtStandardItemTreeModelAdapter &adaptedModel, RowLocationAdapter const &rowLocationAdapter);
27 QModelIndexForMainModel modelIndexAt(RowLocation const &parent) const;
28
29 void operator()(RowLocation const &parentOfSubtreeRoot, int index, Subtree const &subtree);
30
31 SubtreeConstIterator buildRecursively(int index, RowLocation const &parent, SubtreeConstIterator current,
33
34private:
37};
38
39} // namespace Batch
40} // namespace MantidWidgets
41} // namespace MantidQt
#define EXPORT_OPT_MANTIDQT_COMMON
Definition: DllOption.h:15
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
QtStandardItemTreeModelAdapter & m_adaptedMainModel
typename Subtree::const_iterator SubtreeConstIterator
std::vector< Row > Subtree
Definition: Subtree.h:18
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...