BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
sldeditoractions.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/sldeditor/sldeditoractions.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 
18 #include "mvvm/model/modelutils.h"
20 
21 using namespace ModelView;
22 
23 namespace gui2 {
24 
26  SLDElementModel* sld_element_model{nullptr};
28 };
29 
30 SLDEditorActions::SLDEditorActions(QObject* parent)
31  : QObject(parent), p_impl(std::make_unique<SLDEditorActionsImpl>())
32 {
33 }
34 
36 {
37  p_impl->sld_element_model = model;
38 }
39 
41 
42 } // namespace gui2
std::unique_ptr< SLDEditorActionsImpl > p_impl
void setModel(SLDElementModel *model)
The model of the sld layer visual representation.
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
Defines class CLASS?
Defines class CLASS?
Defines class CLASS?