BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 44 of file FitComparisonViewController.h.
Public Member Functions | |
FitComparison1DViewController (QObject *parent) | |
void | clear () |
Data1DViewItem * | diffItemView () |
void | resetDiffView () |
void | setItem (JobItem *job_item) |
void | updateDiffData () |
Private Member Functions | |
void | createDiffViewItem (JobItem *job_item) |
void | deleteDiffViewItem () |
Private Attributes | |
PropertyRepeater * | m_appearanceRepeater |
DiffItemController * | m_diff_item_controller |
Data1DViewItem * | m_diff_view_item |
PropertyRepeater * | m_xAxisRepeater |
|
explicit |
Definition at line 34 of file FitComparisonViewController.cpp.
void FitComparison1DViewController::clear | ( | ) |
Definition at line 84 of file FitComparisonViewController.cpp.
References PropertyRepeater::clear(), deleteDiffViewItem(), m_appearanceRepeater, m_diff_item_controller, m_diff_view_item, m_xAxisRepeater, and DiffItemController::unsubscribe().
Referenced by setItem(), and FitComparisonWidget1D::unsubscribeFromItem().
|
private |
Definition at line 93 of file FitComparisonViewController.cpp.
References Data1DViewItem::createPropertyContainerItem(), JobItem::dataItemView(), DiffItemController::diffItem(), SessionModel::insertItem(), m_diff_item_controller, m_diff_view_item, DiffItemController::model(), Data1DViewItem::setAxesUnits(), and Data1DViewItem::setJobItem().
Referenced by setItem().
|
private |
Definition at line 105 of file FitComparisonViewController.cpp.
References m_diff_view_item, SessionItem::parentItem(), and SessionItem::takeRow().
Referenced by clear().
Data1DViewItem * FitComparison1DViewController::diffItemView | ( | ) |
Definition at line 43 of file FitComparisonViewController.cpp.
References m_diff_view_item.
Referenced by setItem(), and FitComparisonWidget1D::subscribeToItem().
void FitComparison1DViewController::resetDiffView | ( | ) |
Definition at line 75 of file FitComparisonViewController.cpp.
References m_diff_view_item, Data1DViewItem::resetView(), Data1DViewItem::setLowerY(), and Data1DViewItem::setUpperY().
Referenced by FitComparisonWidget1D::onResetViewAction().
void FitComparison1DViewController::setItem | ( | JobItem * | job_item | ) |
Definition at line 48 of file FitComparisonViewController.cpp.
References PropertyRepeater::addItem(), clear(), createDiffViewItem(), JobItem::dataItemView(), diffItemView(), m_appearanceRepeater, m_diff_item_controller, m_diff_view_item, m_xAxisRepeater, DiffItemController::setJobItem(), Data1DViewItem::setLowerY(), Data1DViewItem::setUpperY(), Data1DViewItem::setXaxisTitle(), and Data1DViewItem::setYaxisTitle().
Referenced by FitComparisonWidget1D::subscribeToItem().
void FitComparison1DViewController::updateDiffData | ( | ) |
Definition at line 70 of file FitComparisonViewController.cpp.
References m_diff_item_controller, and DiffItemController::updateDiffData().
|
private |
Definition at line 62 of file FitComparisonViewController.h.
|
private |
Definition at line 60 of file FitComparisonViewController.h.
Referenced by clear(), createDiffViewItem(), setItem(), and updateDiffData().
|
private |
Definition at line 61 of file FitComparisonViewController.h.
Referenced by clear(), createDiffViewItem(), deleteDiffViewItem(), diffItemView(), resetDiffView(), and setItem().
|
private |
Definition at line 63 of file FitComparisonViewController.h.