BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
layerviewmodelcontroller.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/layereditor/layerviewmodelcontroller.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_LAYERVIEWMODELCONTROLLER_H
16 #define BORNAGAIN_GUI2_LAYEREDITOR_LAYERVIEWMODELCONTROLLER_H
17 
18 #include "darefl_export.h"
20 
21 namespace ModelView {
22 class ViewModel;
23 } // namespace ModelView
24 
25 namespace gui2 {
26 
27 //! Controller for LayerViewModel to show MultiLayerItem in a tree with custom layout.
28 //! Will iterate through all top level items and creates rows with layer properties.
29 
30 class DAREFLCORE_EXPORT LayerViewModelController : public ModelView::ViewModelController {
31 public:
33 };
34 
35 } // namespace gui2
36 
37 #endif // BORNAGAIN_GUI2_LAYEREDITOR_LAYERVIEWMODELCONTROLLER_H
Main class to hold hierarchy of SessionItem objects.
Definition: sessionmodel.h:37
Propagates changes from SessionModel to its ViewModelBase.
Main class to represent content of SessionModel in Qt's trees and tables.
Definition: viewmodel.h:29
Controller for LayerViewModel to show MultiLayerItem in a tree with custom layout.
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?