BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
importdataview.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/importdataview/importdataview.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 <QVBoxLayout>
19 
20 namespace gui2 {
21 
23  : QWidget(parent), m_models(models)
24 {
25  auto layout = new QVBoxLayout(this);
26  layout->addWidget(new ImportDataEditor(models->experimentalDataModel()));
27  layout->setContentsMargins(0, 0, 0, 0);
28 }
29 
30 } // namespace gui2
Defines class CLASS?
Main class to holds all models of GUI session.
ExperimentalDataModel * experimentalDataModel()
Main editor to import user data.
ImportDataView(ApplicationModels *models, QWidget *parent=nullptr)
Defines class CLASS?
Defines class CLASS?
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20