BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
samplemodel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/model/samplemodel.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_MODEL_SAMPLEMODEL_H
16 #define BORNAGAIN_GUI2_MODEL_SAMPLEMODEL_H
17 
18 #include "darefl_export.h"
20 
21 namespace gui2 {
22 
23 //! Model to hold layers and multi-layers.
24 class DAREFLCORE_EXPORT SampleModel : public ModelView::SessionModel {
25 public:
26  SampleModel(std::shared_ptr<ModelView::ItemPool> pool = {});
27 
28  void create_default_multilayer();
29 };
30 
31 } // namespace gui2
32 
33 #endif // BORNAGAIN_GUI2_MODEL_SAMPLEMODEL_H
Main class to hold hierarchy of SessionItem objects.
Definition: sessionmodel.h:37
Model to hold layers and multi-layers.
Definition: samplemodel.h:24
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20
Defines class CLASS?