BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DocumentModel.cpp
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/DocumentModel.cpp
6 //! @brief Implements class DocumentModel
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
17 
19 {
20  setObjectName(SessionXML::DocumentModelTag);
21 }
22 
24 {
25  return topItem<SimulationOptionsItem>();
26 }
Defines class DocumentModel.
Defines class SimulationOptionsItem.
SimulationOptionsItem * simulationOptionsItem()
DocumentModel(QObject *parent=nullptr)
The SimulationOptionsItem class holds simulation status (run policy, number of threads,...
const QString DocumentModelTag("DocumentModel")