BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleLayoutItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/ParticleLayoutItem.h
6 //! @brief Defines class ParticleLayoutItem
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_MODELS_PARTICLELAYOUTITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_PARTICLELAYOUTITEM_H
17 
19 
20 class BA_CORE_API_ ParticleLayoutItem : public SessionGraphicsItem {
21 public:
22  static const QString P_TOTAL_DENSITY;
23  static const QString P_WEIGHT;
24  static const QString T_PARTICLES;
25  static const QString T_INTERFERENCE;
27 
28 private:
29  void updateDensityAppearance();
30  void updateDensityValue();
31 };
32 
33 #endif // BORNAGAIN_GUI_COREGUI_MODELS_PARTICLELAYOUTITEM_H
Defines class SessionGraphicsItem.
static const QString T_PARTICLES
static const QString T_INTERFERENCE
static const QString P_TOTAL_DENSITY
static const QString P_WEIGHT