BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitFlowWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/PlotComparison/FitFlowWidget.h
6 //! @brief Defines class FitFlowWidget
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_PLOTCOMPARISON_FITFLOWWIDGET_H
16 #define BORNAGAIN_GUI_VIEW_PLOTCOMPARISON_FITFLOWWIDGET_H
17 
19 
20 class HistogramPlot;
21 class FitSuiteItem;
22 
23 //! The FitFlowWidget class is intended for showing chi2 .vs interation count dependency.
24 //! The main goal is to fill vacant place in FitComparisonWidget.
25 
27  Q_OBJECT
28 public:
29  explicit FitFlowWidget(QWidget* parent = nullptr);
30 
31 protected:
32  void subscribeToItem() override;
33  void unsubscribeFromItem() override;
34 
35 private:
37 
39  QVector<double> m_x;
40  QVector<double> m_y;
41 };
42 
43 #endif // BORNAGAIN_GUI_VIEW_PLOTCOMPARISON_FITFLOWWIDGET_H
Defines class ItemComboWidget.
The FitFlowWidget class is intended for showing chi2 .vs interation count dependency....
Definition: FitFlowWidget.h:26
FitFlowWidget(QWidget *parent=nullptr)
QVector< double > m_x
Definition: FitFlowWidget.h:39
FitSuiteItem * fitSuiteItem()
HistogramPlot * m_histPlot
Definition: FitFlowWidget.h:38
void unsubscribeFromItem() override
QVector< double > m_y
Definition: FitFlowWidget.h:40
void subscribeToItem() override
The SessionItemWidget class is a base for all widgets representing the content of SessionItem....