BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MultiLayerItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/MultiLayerItem.h
6 //! @brief Defines class MultiLayerItem
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_MULTILAYERITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_MULTILAYERITEM_H
17 
19 
20 class BA_CORE_API_ MultiLayerItem : public SessionGraphicsItem {
21 public:
22  static const QString P_CROSS_CORR_LENGTH;
23  static const QString P_EXTERNAL_FIELD;
24  static const QString T_LAYERS;
26 
27  QVector<SessionItem*> materialPropertyItems();
28 
29 private:
30  void updateLayers();
31 };
32 
33 #endif // BORNAGAIN_GUI_COREGUI_MODELS_MULTILAYERITEM_H
Defines class SessionGraphicsItem.
static const QString P_CROSS_CORR_LENGTH
static const QString T_LAYERS
static const QString P_EXTERNAL_FIELD
QVector< SessionItem * > materialPropertyItems(SessionItem *item)
Gather material property items from a given item.