BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
layerviewmodel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/layereditor/layerviewmodel.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_LAYEREDITOR_LAYERVIEWMODEL_H
16 #define BORNAGAIN_GUI2_LAYEREDITOR_LAYERVIEWMODEL_H
17 
18 #include "darefl_export.h"
20 
21 namespace ModelView {
22 class SessionModel;
23 } // namespace ModelView
24 
25 namespace gui2 {
26 
27 //! View model to display content of MultiLayerItem in table like views.
28 
29 class DAREFLCORE_EXPORT LayerViewModel : public ModelView::ViewModel {
30  Q_OBJECT
31 
32 public:
33  LayerViewModel(ModelView::SessionModel* model, QObject* parent = nullptr);
34 };
35 
36 } // namespace gui2
37 
38 #endif // BORNAGAIN_GUI2_LAYEREDITOR_LAYERVIEWMODEL_H
Main class to hold hierarchy of SessionItem objects.
Definition: sessionmodel.h:37
Main class to represent content of SessionModel in Qt's trees and tables.
Definition: viewmodel.h:29
View model to display content of MultiLayerItem in table like views.
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?