BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
FitComparisonWidget1D.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/FitWidgets/FitComparisonWidget1D.h
6 //! @brief Defines class FitComparisonWidget1D
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_FITWIDGETS_FITCOMPARISONWIDGET1D_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_FITWIDGETS_FITCOMPARISONWIDGET1D_H
17 
19 
20 class Data1DViewItem;
22 class FitFlowWidget;
24 class JobItem;
25 class Plot1DCanvas;
26 class PlotStatusLabel;
27 class QAction;
28 
29 //! The FitComparisonWidget class plots realdata, simulated data and relative difference map
30 //! during the course of the fit.
31 
33  Q_OBJECT
34 public:
35  explicit FitComparisonWidget1D(QWidget* parent = nullptr);
37 
38  virtual QList<QAction*> actionList() override;
39 
40 private slots:
41  void onResetViewAction();
42 
43 protected:
44  void subscribeToItem() override;
45  void unsubscribeFromItem() override;
46 
47 private:
48  JobItem* jobItem();
50 
56 
59 };
60 
61 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_FITWIDGETS_FITCOMPARISONWIDGET1D_H
Defines class ItemComboWidget.
View model for 1D DataItem.
The FitComparisonWidget class plots realdata, simulated data and relative difference map during the c...
FitComparison1DViewController * m_comparisonController
FitComparisonWidget1D(QWidget *parent=nullptr)
FitFlowWidget * m_fitFlowWidget
PlotStatusLabel * m_statusLabel
virtual QList< QAction * > actionList() override
IntensityDataPropertyWidget * m_propertyWidget
~FitComparisonWidget1D() override
The FitFlowWidget class is intended for showing chi2 .vs interation count dependency.
Definition: FitFlowWidget.h:26
The IntensityDataPropertyWidget shows ComponentEditor for given IntensityDataItem.
The Plot1DCanvas class contains SpecularPlotWithDataView for specular data presentation,...
Definition: Plot1DCanvas.h:29
The PlotStatusLabel class shows status string as reported by DescriptedPlot in a frame.
The SessionItemWidget class is a base for all widgets representing the content of SessionItem.