BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
TransformationItem.cpp
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/coregui/Models/TransformationItem.cpp
6
//! @brief Implements class TransformationItem
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/TransformationItem.h
"
16
17
const
QString
TransformationItem::P_ROT
=
"Rotation type"
;
18
19
TransformationItem::TransformationItem
() :
SessionGraphicsItem
(
"Rotation"
)
20
{
21
setToolTip
(
"Rotation applied to particles"
);
22
addGroupProperty
(
P_ROT
,
"Rotation group"
);
23
}
TransformationItem.h
Defines class TransformationItem.
SessionGraphicsItem
Definition:
SessionGraphicsItem.h:20
SessionItem::addGroupProperty
SessionItem * addGroupProperty(const QString &groupTag, const QString &groupType)
Creates new group item and register new tag, returns GroupItem.
Definition:
SessionItem.cpp:311
SessionItem::setToolTip
SessionItem & setToolTip(const QString &tooltip)
Definition:
SessionItem.cpp:527
TransformationItem::TransformationItem
TransformationItem()
Definition:
TransformationItem.cpp:19
TransformationItem::P_ROT
static const QString P_ROT
Definition:
TransformationItem.h:22
GUI
coregui
Models
TransformationItem.cpp
Generated by
1.9.1