BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
sldelementmodel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/sldeditor/sldelementmodel.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI2_SLDEDITOR_SLDELEMENTMODEL_H
16 #define BORNAGAIN_GUI2_SLDEDITOR_SLDELEMENTMODEL_H
17 
18 #include "darefl_export.h"
20 #include <vector>
21 
22 namespace ModelView {
23 class ExternalProperty;
24 }
25 
26 namespace gui2 {
27 
28 class LayerElementItem;
29 
30 //! The model of the sld layer visual representation
31 class DAREFLCORE_EXPORT SLDElementModel : public ModelView::SessionModel {
32 public:
34 
35  //! Add a layer item
36  LayerElementItem* addLayer();
37 };
38 
39 } // namespace gui2
40 
41 #endif // BORNAGAIN_GUI2_SLDEDITOR_SLDELEMENTMODEL_H
The ExternalProperty class defines custom QVariant property to carry the text, color and an identifie...
Main class to hold hierarchy of SessionItem objects.
Definition: sessionmodel.h:37
The mvvm session item associated to a layer.
The model of the sld layer visual representation.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20
Defines class CLASS?