BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
layerviewmodel.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/layereditor/layerviewmodel.cpp
6 //! @brief Implements 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 
17 
18 using namespace ModelView;
19 
20 namespace gui2 {
21 
22 LayerViewModel::LayerViewModel(SessionModel* model, QObject* parent)
23  : ViewModel(std::make_unique<LayerViewModelController>(model, this), parent)
24 {
25 }
26 
27 } // namespace gui2
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
Controller for LayerViewModel to show MultiLayerItem in a tree with custom layout.
Defines class CLASS?
Defines class CLASS?
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
Definition: filesystem.h:81