BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ProjectionItems.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/Model/Data/ProjectionItems.cpp
6
//! @brief Implements items related to projections over color map.
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2018
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#include "
GUI/Model/Data/ProjectionItems.h
"
16
#include "
GUI/Model/Device/MaskItems.h
"
17
18
ProjectionContainerItem::ProjectionContainerItem
()
19
:
SessionItem
(M_TYPE)
20
{
21
const
QString T_CHILDREN =
"children tag"
;
22
registerTag
(T_CHILDREN, 0, -1, {
HorizontalLineItem::M_TYPE
,
VerticalLineItem::M_TYPE
});
23
setDefaultTag
(T_CHILDREN);
24
}
MaskItems.h
Defines MaskItems classes.
ProjectionItems.h
Defines items related to projections over color map.
HorizontalLineItem::M_TYPE
static constexpr auto M_TYPE
Definition:
MaskItems.h:147
ProjectionContainerItem::ProjectionContainerItem
ProjectionContainerItem()
Definition:
ProjectionItems.cpp:18
SessionItem
Base class for a GUI data item.
Definition:
SessionItem.h:204
SessionItem::registerTag
bool registerTag(const QString &name, int min=0, int max=-1, QStringList modelTypes={})
Add new tag to this item with given name, min, max and types. max = -1 -> unlimited,...
Definition:
SessionItem.cpp:159
SessionItem::setDefaultTag
void setDefaultTag(const QString &tag)
Set default tag.
Definition:
SessionItem.cpp:397
VerticalLineItem::M_TYPE
static constexpr auto M_TYPE
Definition:
MaskItems.h:131
GUI
Model
Data
ProjectionItems.cpp
Generated by
1.9.1