BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
allitemstreeview.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/view/mvvm/widgets/allitemstreeview.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_VIEW_MVVM_WIDGETS_ALLITEMSTREEVIEW_H
16 #define BORNAGAIN_MVVM_VIEW_MVVM_WIDGETS_ALLITEMSTREEVIEW_H
17 
19 
20 namespace ModelView {
21 
22 class SessionModel;
23 
24 //! Widget holding standard QTreeView and intended for displaying all items of SessionModel.
25 
26 class MVVM_VIEW_EXPORT AllItemsTreeView : public ItemsTreeView {
27  Q_OBJECT
28 
29 public:
30  AllItemsTreeView(SessionModel* model, QWidget* parent = nullptr);
31  ~AllItemsTreeView() override;
32 };
33 
34 } // namespace ModelView
35 
36 #endif // BORNAGAIN_MVVM_VIEW_MVVM_WIDGETS_ALLITEMSTREEVIEW_H
Widget holding standard QTreeView and intended for displaying all items of SessionModel.
Tree view to show items of SessionModel via ViewModel mechanism.
Definition: itemstreeview.h:35
Main class to hold hierarchy of SessionItem objects.
Definition: sessionmodel.h:37
Defines class CLASS?
materialitems.h Collection of materials to populate MaterialModel.