BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleLayoutView.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/coregui/Views/SampleDesigner/ParticleLayoutView.h
6
//! @brief Defines class ParticleLayoutView
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
#ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_PARTICLELAYOUTVIEW_H
16
#define BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_PARTICLELAYOUTVIEW_H
17
18
#include "
GUI/coregui/Views/SampleDesigner/ConnectableView.h
"
19
20
class
ParticleLayoutView
:
public
ConnectableView
{
21
public
:
22
ParticleLayoutView
(QGraphicsItem* parent = 0);
23
24
int
type
()
const
{
return
ViewTypes::PARTICLE_LAYOUT
; }
25
26
void
addView
(
IView
* childView,
int
row = 0);
// to add Particle
27
};
28
29
#endif
// BORNAGAIN_GUI_COREGUI_VIEWS_SAMPLEDESIGNER_PARTICLELAYOUTVIEW_H
ConnectableView.h
Defines class ConnectableView.
ConnectableView
view of ISampleNode's with rectangular shape and node functionality
Definition:
ConnectableView.h:27
IView
parent class for graphic representation of all ISampleNode's
Definition:
IView.h:25
ParticleLayoutView
Definition:
ParticleLayoutView.h:20
ParticleLayoutView::ParticleLayoutView
ParticleLayoutView(QGraphicsItem *parent=0)
Definition:
ParticleLayoutView.cpp:21
ParticleLayoutView::type
int type() const
Definition:
ParticleLayoutView.h:24
ParticleLayoutView::addView
void addView(IView *childView, int row=0)
Definition:
ParticleLayoutView.cpp:36
ViewTypes::PARTICLE_LAYOUT
@ PARTICLE_LAYOUT
Definition:
ViewTypes.h:31
GUI
coregui
Views
SampleDesigner
ParticleLayoutView.h
Generated by
1.9.1