BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides synchronization between certain properties of fit related IntensityDataItems. Used solely in FitComparisonWidget.
Definition at line 30 of file FitComparisonController.h.
Classes | |
class | DiffItemController |
Public Member Functions | |
FitComparisonController2D (QObject *parent=nullptr) | |
void | clear () |
IntensityDataItem * | diffItem () |
void | resetDiffItem () |
void | setItem (JobItem *job_item) |
void | updateDiffData () |
|
explicit |
Definition at line 51 of file FitComparisonController.cpp.
void FitComparisonController2D::clear | ( | ) |
Definition at line 113 of file FitComparisonController.cpp.
References PropertyRepeater::clear(), m_appearanceRepeater, m_diff_item_controller, m_xAxisRepeater, m_yAxisRepeater, m_zAxisRepeater, and FitComparisonController2D::DiffItemController::unsubscribe().
Referenced by setItem(), and FitComparisonWidget::unsubscribeFromItem().
IntensityDataItem * FitComparisonController2D::diffItem | ( | ) |
Definition at line 61 of file FitComparisonController.cpp.
References FitComparisonController2D::DiffItemController::diffItem(), and m_diff_item_controller.
Referenced by FitComparisonWidget::diffItem(), resetDiffItem(), setItem(), and FitComparisonWidget::subscribeToItem().
void FitComparisonController2D::resetDiffItem | ( | ) |
Definition at line 107 of file FitComparisonController.cpp.
References diffItem(), IntensityDataItem::resetView(), and IntensityDataItem::setLowerAndUpperZ().
Referenced by FitComparisonWidget::onResetViewAction().
void FitComparisonController2D::setItem | ( | JobItem * | job_item | ) |
Definition at line 67 of file FitComparisonController.cpp.
References PropertyRepeater::addItem(), clear(), RealDataItem::dataItem(), JobItem::dataItem(), diffItem(), IntensityDataItem::getLowerZ(), m_appearanceRepeater, m_diff_item_controller, m_xAxisRepeater, m_yAxisRepeater, m_zAxisRepeater, JobItem::realDataItem(), IntensityDataItem::setAxesRangeToData(), FitComparisonController2D::DiffItemController::setItem(), IntensityDataItem::setLowerAndUpperZ(), BasicAxisItem::setTitle(), IntensityDataItem::xAxisItem(), and IntensityDataItem::yAxisItem().
Referenced by FitComparisonWidget::subscribeToItem().
void FitComparisonController2D::updateDiffData | ( | ) |
Definition at line 102 of file FitComparisonController.cpp.
References m_diff_item_controller, and FitComparisonController2D::DiffItemController::updateDiffData().
|
private |
Definition at line 46 of file FitComparisonController.h.
|
private |
Definition at line 45 of file FitComparisonController.h.
Referenced by clear(), diffItem(), setItem(), and updateDiffData().
|
private |
Definition at line 47 of file FitComparisonController.h.
|
private |
Definition at line 48 of file FitComparisonController.h.
|
private |
Definition at line 49 of file FitComparisonController.h.