BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ImportDataView.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Import/ImportDataView.h
6 //! @brief Defines class ImportDataView
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_VIEW_IMPORT_IMPORTDATAVIEW_H
16 #define BORNAGAIN_GUI_VIEW_IMPORT_IMPORTDATAVIEW_H
17 
20 
21 class RealDataModel;
23 class ProjectDocument;
24 class RealDataItem;
25 
26 //! The ImportDataView class is a main view for importing experimental data.
27 
28 class ImportDataView : public QWidget {
29  Q_OBJECT
30 
31 public:
32  ImportDataView(QWidget* parent, ProjectDocument* document);
33 
34 public slots:
35  void onSelectionChanged(RealDataItem* item);
36 
37 private:
38  //! Show/hide UI elements according to settings in current project
40 
44 };
45 
46 #endif // BORNAGAIN_GUI_VIEW_IMPORT_IMPORTDATAVIEW_H
Defines class ItemStackPresenter.
Defines class RealDataPresenter.
The ImportDataView class is a main view for importing experimental data.
void updateFunctionalityNarrowing()
Show/hide UI elements according to settings in current project.
RealDataSelectorWidget * m_selectorWidget
ItemStackPresenter< RealDataPresenter > * m_stackedWidget
void onSelectionChanged(RealDataItem *item)
ProjectDocument * m_document
ImportDataView(QWidget *parent, ProjectDocument *document)
Project document class handles all data related to the opened project (sample, job,...
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
Definition: RealDataItem.h:33
The RealDataModel class is a model to store all imported RealDataItem's.
Definition: RealDataModel.h:24
The RealDataSelectorWidget represents left panel of ImportDataView. Contains a tree to select data se...