BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
JobOutputDataWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/JobWidgets/JobOutputDataWidget.h
6 //! @brief Defines class JobOutputDataWidget
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_COREGUI_VIEWS_JOBWIDGETS_JOBOUTPUTDATAWIDGET_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBOUTPUTDATAWIDGET_H
17 
19 
21 class JobModel;
22 class JobItem;
23 
24 //! The JobOutputDataWidget class is a central widget of JobView, shows results of the simulation.
25 
26 class JobOutputDataWidget : public QWidget {
27  Q_OBJECT
28 public:
29  JobOutputDataWidget(JobModel* jobModel, QWidget* parent = nullptr);
30 
31 public slots:
32  void setItem(JobItem* jobItem);
33  void onActivityChanged(int activity);
34 
35 protected:
36  virtual bool isValidJobItem(JobItem* item);
37 
38 private:
40 };
41 
42 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_JOBWIDGETS_JOBOUTPUTDATAWIDGET_H
Defines class ItemStackPresenter.
The JobOutputDataWidget class is a central widget of JobView, shows results of the simulation.
JobOutputDataWidget(JobModel *jobModel, QWidget *parent=nullptr)
virtual bool isValidJobItem(JobItem *item)
void onActivityChanged(int activity)
void setItem(JobItem *jobItem)
ItemStackPresenter< JobResultsPresenter > * m_stackedWidget
Presents results of job (JobItem) using stack of different widgets and combo box in the right top cor...