BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 26 of file FitComparisonViewController.h.
Public Member Functions | |
DiffItemController (const QString &data_type, QObject *parent) | |
~DiffItemController () override | |
DataItem * | diffItem () |
JobItem * | jobItem () |
SessionModel * | model () |
void | setJobItem (JobItem *job_item) |
void | subscribe () |
void | unsubscribe () |
void | updateDiffData () |
Private Attributes | |
JobItem * | m_current_item |
DataItem * | m_diff_item |
SessionModel * | m_private_model |
DiffItemController::DiffItemController | ( | const QString & | data_type, |
QObject * | parent | ||
) |
Definition at line 123 of file FitComparisonController.cpp.
References m_diff_item.
|
override |
Definition at line 132 of file FitComparisonController.cpp.
References unsubscribe().
|
inline |
Definition at line 34 of file FitComparisonViewController.h.
References m_diff_item.
Referenced by FitComparison1DViewController::createDiffViewItem().
|
inline |
|
inline |
Definition at line 30 of file FitComparisonViewController.h.
References m_private_model.
Referenced by FitComparison1DViewController::createDiffViewItem().
void DiffItemController::setJobItem | ( | JobItem * | job_item | ) |
Definition at line 128 of file FitComparisonViewController.cpp.
References m_current_item, subscribe(), unsubscribe(), and updateDiffData().
Referenced by FitComparison1DViewController::setItem().
void DiffItemController::subscribe | ( | ) |
Definition at line 167 of file FitComparisonController.cpp.
References DataItem::axesUnitsChanged(), DataItem::datafieldChanged(), JobItem::dataItem(), JobItem::instrumentItem(), m_current_item, m_diff_item, and DataItem::updateCoords().
Referenced by FitComparisonController2D::DiffItemController::setItem(), and setJobItem().
void DiffItemController::unsubscribe | ( | ) |
Definition at line 184 of file FitComparisonController.cpp.
References JobItem::dataItem(), m_current_item, and m_diff_item.
Referenced by ~DiffItemController(), FitComparison1DViewController::clear(), FitComparisonController2D::DiffItemController::setItem(), and setJobItem().
void DiffItemController::updateDiffData | ( | ) |
Definition at line 147 of file FitComparisonController.cpp.
References RealDataItem::dataItem(), JobItem::dataItem(), m_current_item, m_diff_item, JobItem::realDataItem(), and DataItem::setDatafield().
Referenced by FitComparisonController2D::DiffItemController::setItem(), setJobItem(), and FitComparison1DViewController::updateDiffData().
|
private |
Definition at line 39 of file FitComparisonViewController.h.
Referenced by jobItem(), FitComparisonController2D::DiffItemController::setItem(), setJobItem(), subscribe(), unsubscribe(), and updateDiffData().
|
private |
Definition at line 41 of file FitComparisonViewController.h.
Referenced by DiffItemController(), diffItem(), subscribe(), unsubscribe(), and updateDiffData().
|
private |
Definition at line 40 of file FitComparisonViewController.h.
Referenced by model().