BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
propertyflatviewmodel.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/propertyflatviewmodel.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_PROPERTYFLATVIEWMODEL_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_PROPERTYFLATVIEWMODEL_H
17 
19 
20 namespace ModelView {
21 
22 //! View model to show content of SessionModel in Qt widgets.
23 //! Only property items are shown, also hides inactive items of GroupProperty.
24 
25 class MVVM_VIEWMODEL_EXPORT PropertyFlatViewModel : public ViewModel {
26  Q_OBJECT
27 public:
28  PropertyFlatViewModel(SessionModel* model, QObject* parent = nullptr);
29 };
30 
31 } // namespace ModelView
32 
33 #endif // BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_PROPERTYFLATVIEWMODEL_H
View model to show content of SessionModel in Qt widgets.
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?