BornAgain
1.19.0
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/coregui/Models/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/coregui/Models/ProjectionItems.h
"
16
17
ProjectionContainerItem::ProjectionContainerItem
() :
SessionItem
(
"ProjectionContainer"
)
18
{
19
const
QString T_CHILDREN =
"children tag"
;
20
registerTag
(T_CHILDREN, 0, -1,
21
QStringList() <<
"HorizontalLineMask"
22
<<
"VerticalLineMask"
);
23
setDefaultTag
(T_CHILDREN);
24
}
ProjectionItems.h
Defines items related to projections over color map.
ProjectionContainerItem::ProjectionContainerItem
ProjectionContainerItem()
Definition:
ProjectionItems.cpp:17
SessionItem
Definition:
SessionItem.h:33
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.
Definition:
SessionItem.cpp:156
SessionItem::setDefaultTag
void setDefaultTag(const QString &tag)
Set default tag.
Definition:
SessionItem.cpp:418
GUI
coregui
Models
ProjectionItems.cpp
Generated by
1.9.1