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
20
class
RunFitControlWidget
;
21
class
JobItem
;
22
class
FitParameterWidget
;
23
class
MinimizerSettingsWidget
;
24
class
ParameterTuningWidget
;
25
class
FitSessionController
;
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
:
44
RunFitControlWidget
*
m_controlWidget
;
45
FitParameterWidget
*
m_fitParametersWidget
;
46
MinimizerSettingsWidget
*
m_minimizerSettingsWidget
;
47
FitSessionController
*
m_sessionController
;
48
};
49
50
#endif
// BORNAGAIN_GUI_VIEW_FIT_FITSESSIONWIDGET_H
FitParameterWidget
The FitParametersWidget class contains a tree view to set fit parameters (fix/release,...
Definition:
FitParameterWidget.h:37
FitSessionController
Controls all activity related to the single fitting task for JobItem. Provides interaction between Fi...
Definition:
FitSessionController.h:31
FitSessionWidget
Contains all fit settings for given JobItem (fit parameters, minimizer settings). Controlled by FitAc...
Definition:
FitSessionWidget.h:30
FitSessionWidget::FitSessionWidget
FitSessionWidget(QWidget *parent=nullptr)
Definition:
FitSessionWidget.cpp:25
FitSessionWidget::setModelTuningWidget
void setModelTuningWidget(ParameterTuningWidget *tuningWidget)
Definition:
FitSessionWidget.cpp:53
FitSessionWidget::m_sessionController
FitSessionController * m_sessionController
Definition:
FitSessionWidget.h:47
FitSessionWidget::m_minimizerSettingsWidget
MinimizerSettingsWidget * m_minimizerSettingsWidget
Definition:
FitSessionWidget.h:46
FitSessionWidget::m_controlWidget
RunFitControlWidget * m_controlWidget
Definition:
FitSessionWidget.h:44
FitSessionWidget::m_fitParametersWidget
FitParameterWidget * m_fitParametersWidget
Definition:
FitSessionWidget.h:45
FitSessionWidget::setItem
void setItem(JobItem *jobItem)
Definition:
FitSessionWidget.cpp:45
FitSessionWidget::onFittingError
void onFittingError(const QString &text)
Definition:
FitSessionWidget.cpp:81
FitSessionWidget::setSessionController
void setSessionController(FitSessionController *sessionController)
Definition:
FitSessionWidget.cpp:60
JobItem
Definition:
JobItem.h:43
MinimizerSettingsWidget
The MinimizerSettingsWidget contains editor for all minimizer settings and related fit options....
Definition:
MinimizerSettingsWidget.h:34
ParameterTuningWidget
Main widget for real time parameter tuning. Contains a tree for parameter tuning and the model to pro...
Definition:
ParameterTuningWidget.h:34
RunFitControlWidget
The RunFitControlWidget contains elements to start/stop fitting and to provide minimal diagnostic....
Definition:
RunFitControlWidget.h:31
GUI
View
Fit
FitSessionWidget.h
Generated by
1.9.1