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 GUI/coregui/Models/SampleModel.h
6 //! @brief Defines class SampleModel
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_SAMPLEMODEL_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_SAMPLEMODEL_H
17 
19 
20 class MultiLayerItem;
21 
22 //! Main model to hold sample items.
23 
24 class SampleModel : public SessionModel {
25  Q_OBJECT
26 
27 public:
28  explicit SampleModel(QObject* parent = nullptr);
29 
31 
33 };
34 
35 #endif // BORNAGAIN_GUI_COREGUI_MODELS_SAMPLEMODEL_H
Defines class SessionModel.
Main model to hold sample items.
Definition: SampleModel.h:24
SampleModel * createCopy(SessionItem *parent=nullptr)
Definition: SampleModel.cpp:23
MultiLayerItem * multiLayerItem()
Definition: SampleModel.cpp:30
SampleModel(QObject *parent=nullptr)
Definition: SampleModel.cpp:18
virtual QModelIndex parent(const QModelIndex &child) const