BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
TransformationView.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/SampleDesigner/TransformationView.cpp
6 //! @brief Implements class TransformationView
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 
17 
19 {
20  setName("Rotation");
24  ->setToolTip("Connect this port to the particle to define its rotation");
25  m_roundpar = 3;
26 }
Defines class DesignerHelper.
Defines class TransformationView.
view of ISampleNode's with rectangular shape and node functionality
virtual void setColor(const QColor &color)
virtual void setRectangle(QRectF rect)
virtual NodeEditorPort * addPort(const QString &name, NodeEditorPort::EPortDirection direction, NodeEditorPort::EPortType port_type)
adds port to view
virtual void setName(const QString &name)
static QRectF getTransformationBoundingRect()
static QColor getDefaultTransformationColor()
TransformationView(QGraphicsItem *parent=0)