BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
propertytableviewmodel.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/propertytableviewmodel.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_PROPERTYTABLEVIEWMODEL_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_PROPERTYTABLEVIEWMODEL_H
17 
19 
20 namespace ModelView {
21 
22 //! View model to show content of SessionModel in Qt widgets: all item properties as a table row.
23 
24 //! Intended to show registered properties of items in table-like view.
25 //! Registered properties will form columns of the table, top level items will form table rows.
26 
27 class MVVM_VIEWMODEL_EXPORT PropertyTableViewModel : public ViewModel {
28  Q_OBJECT
29 public:
30  PropertyTableViewModel(SessionModel* model, QObject* parent = nullptr);
31 };
32 
33 } // namespace ModelView
34 
35 #endif // BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_PROPERTYTABLEVIEWMODEL_H
View model to show content of SessionModel in Qt widgets: all item properties as a table row.
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?