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 
16 
17 const QString TransformationItem::P_ROT = "Rotation type";
18 
20 {
21  setToolTip("Rotation applied to particles");
22  addGroupProperty(P_ROT, "Rotation group");
23 }
Defines class TransformationItem.
SessionItem * addGroupProperty(const QString &groupTag, const QString &groupType)
Creates new group item and register new tag, returns GroupItem.
SessionItem & setToolTip(const QString &tooltip)
static const QString P_ROT