Loading [MathJax]/extensions/tex2jax.js
Mantid
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
a
b
e
f
i
l
m
o
s
t
u
w
Related Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
e
f
k
l
o
p
r
s
t
v
w
Macros
a
b
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
qt
widgets
common
inc
MantidQtWidgets
Common
Batch
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
12
#include "
MantidQtWidgets/Common/Batch/AssertOrThrow.h
"
13
#include "
MantidQtWidgets/Common/Batch/QtStandardItemTreeAdapter.h
"
14
#include "
MantidQtWidgets/Common/Batch/RowLocationAdapter.h
"
15
#include "
MantidQtWidgets/Common/Batch/Subtree.h
"
16
#include "
MantidQtWidgets/Common/DllOption.h
"
17
#include <QStandardItem>
18
19
namespace
MantidQt
{
20
namespace
MantidWidgets {
21
namespace
Batch {
22
23
class
EXPORT_OPT_MANTIDQT_COMMON
BuildSubtreeItems
{
24
public
:
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,
32
SubtreeConstIterator
end);
33
34
private
:
35
QtStandardItemTreeModelAdapter
&
m_adaptedMainModel
;
36
RowLocationAdapter
m_rowLocations
;
37
};
38
39
}
// namespace Batch
40
}
// namespace MantidWidgets
41
}
// namespace MantidQt
AssertOrThrow.h
DllOption.h
EXPORT_OPT_MANTIDQT_COMMON
#define EXPORT_OPT_MANTIDQT_COMMON
Definition:
DllOption.h:15
index
std::map< DeltaEMode::Type, std::string > index
Definition:
DeltaEMode.cpp:19
QtStandardItemTreeAdapter.h
RowLocationAdapter.h
Subtree.h
MantidQt::MantidWidgets::Batch::BuildSubtreeItems
Definition:
BuildSubtreeItems.h:23
MantidQt::MantidWidgets::Batch::BuildSubtreeItems::m_adaptedMainModel
QtStandardItemTreeModelAdapter & m_adaptedMainModel
Definition:
BuildSubtreeItems.h:35
MantidQt::MantidWidgets::Batch::BuildSubtreeItems::SubtreeConstIterator
typename Subtree::const_iterator SubtreeConstIterator
Definition:
BuildSubtreeItems.h:25
MantidQt::MantidWidgets::Batch::BuildSubtreeItems::m_rowLocations
RowLocationAdapter m_rowLocations
Definition:
BuildSubtreeItems.h:36
MantidQt::MantidWidgets::Batch::QModelIndexForMainModel
Definition:
StrictQModelIndices.h:72
MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter
Definition:
QtStandardItemTreeAdapter.h:23
MantidQt::MantidWidgets::Batch::RowLocationAdapter
Definition:
RowLocationAdapter.h:21
MantidQt::MantidWidgets::Batch::RowLocation
Definition:
RowLocation.h:22
MantidQt::MantidWidgets::Batch::Subtree
std::vector< Row > Subtree
Definition:
Subtree.h:18
MantidQt
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...
Definition:
AddWorkspaceDialog.h:20
Generated on Tue Jan 3 2023 11:58:01 for Mantid by
1.9.5