BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitSessionWidget.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Fit/FitSessionWidget.h
6 //! @brief Defines class FitSessionWidget
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_FIT_FITSESSIONWIDGET_H
16 #define BORNAGAIN_GUI_VIEW_FIT_FITSESSIONWIDGET_H
17 
18 #include <QWidget>
19 
21 class JobItem;
22 class FitParameterWidget;
26 
27 //! Contains all fit settings for given JobItem (fit parameters,
28 //! minimizer settings). Controlled by FitActivityPanel.
29 
30 class FitSessionWidget : public QWidget {
31  Q_OBJECT
32 
33 public:
34  FitSessionWidget(QWidget* parent = nullptr);
35 
36  void setItem(JobItem* jobItem);
37  void setModelTuningWidget(ParameterTuningWidget* tuningWidget);
38  void setSessionController(FitSessionController* sessionController);
39 
40 private:
41  void onFittingError(const QString& text);
42 
43 private:
48 };
49 
50 #endif // BORNAGAIN_GUI_VIEW_FIT_FITSESSIONWIDGET_H
The FitParametersWidget class contains a tree view to set fit parameters (fix/release,...
Controls all activity related to the single fitting task for JobItem. Provides interaction between Fi...
Contains all fit settings for given JobItem (fit parameters, minimizer settings). Controlled by FitAc...
FitSessionWidget(QWidget *parent=nullptr)
void setModelTuningWidget(ParameterTuningWidget *tuningWidget)
FitSessionController * m_sessionController
MinimizerSettingsWidget * m_minimizerSettingsWidget
RunFitControlWidget * m_controlWidget
FitParameterWidget * m_fitParametersWidget
void setItem(JobItem *jobItem)
void onFittingError(const QString &text)
void setSessionController(FitSessionController *sessionController)
The MinimizerSettingsWidget contains editor for all minimizer settings and related fit options....
Main widget for real time parameter tuning. Contains a tree for parameter tuning and the model to pro...
The RunFitControlWidget contains elements to start/stop fitting and to provide minimal diagnostic....