BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
defaultviewmodel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // qt-mvvm: Model-view-view-model framework for large GUI applications
4 //
5 //! @file mvvm/viewmodel/mvvm/viewmodel/defaultviewmodel.h
6 //! @brief Defines 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 Gennady Pospelov et al, Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_DEFAULTVIEWMODEL_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_DEFAULTVIEWMODEL_H
17 
19 
20 namespace ModelView {
21 
22 //! View model to show content of SessionModel in Qt widgets: two column tree with label/data.
23 
24 //! Provides two column tree with label/data, with one-to-one child/parent
25 //! correspondence as in the original SessionModel.
26 
27 class MVVM_VIEWMODEL_EXPORT DefaultViewModel : public ViewModel {
28  Q_OBJECT
29 public:
30  DefaultViewModel(SessionModel* model, QObject* parent = nullptr);
31 };
32 
33 } // namespace ModelView
34 
35 #endif // BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_DEFAULTVIEWMODEL_H
View model to show content of SessionModel in Qt widgets: two column tree with label/data.
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
materialitems.h Collection of materials to populate MaterialModel.
Defines class CLASS?