BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DocumentModel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/DocumentModel.h
6 //! @brief Defines 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 
15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_DOCUMENTMODEL_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_DOCUMENTMODEL_H
17 
19 
21 
22 //! The DocumentModel class is a model with GUI settings related to the opened project.
23 //! Can be the place to store splitter position, etc.
24 
25 class DocumentModel : public SessionModel {
26  Q_OBJECT
27 
28 public:
29  explicit DocumentModel(QObject* parent = nullptr);
30 
32 };
33 
34 #endif // BORNAGAIN_GUI_COREGUI_MODELS_DOCUMENTMODEL_H
Defines class SessionModel.
The DocumentModel class is a model with GUI settings related to the opened project.
Definition: DocumentModel.h:25
SimulationOptionsItem * simulationOptionsItem()
DocumentModel(QObject *parent=nullptr)
virtual QModelIndex parent(const QModelIndex &child) const
The SimulationOptionsItem class holds simulation status (run policy, number of threads,...