BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The FitComparisonWidget class plots realdata, simulated data and relative difference map during the course of the fit.
Definition at line 35 of file FitComparisonWidget.h.
Public Member Functions | |
FitComparisonWidget (QWidget *parent=nullptr) | |
~FitComparisonWidget () override | |
QList< QAction * > | actionList () override |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
virtual void | setItem (SessionItem *item) |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
void | subscribeToItem () override |
void | unsubscribeFromItem () override |
Private Slots | |
void | onResetViewAction () |
Private Member Functions | |
IntensityDataItem * | diffItem () |
JobItem * | jobItem () |
IntensityDataItem * | realDataItem () |
IntensityDataItem * | simulatedDataItem () |
|
explicit |
Definition at line 31 of file FitComparisonWidget.cpp.
References ActionFactory::createTogglePropertiesPanelAction(), m_fitFlowWidget, m_propertyWidget, m_realDataPlot, m_relativeDiffPlot, m_resetViewAction, m_simulatedDataPlot, m_statusLabel, m_togglePropertiesAction, and onResetViewAction().
|
overridedefault |
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 80 of file FitComparisonWidget.cpp.
References m_resetViewAction, and m_togglePropertiesAction.
|
inherited |
Definition at line 41 of file SessionItemWidget.cpp.
Referenced by FitFlowWidget::fitSuiteItem(), RealDataMaskWidget::intensityDataItem(), IntensityDataCanvas::intensityDataItem(), IntensityDataWidget::intensityDataItem(), IntensityDataProjectionsWidget::intensityDataItem(), ProjectionsPlot::intensityItem(), ColorMap::intensityItem(), JobResultsPresenter::itemPresentation(), FitParameterWidget::jobItem(), ParameterTuningWidget::jobItem(), RunFitControlWidget::jobItem(), jobItem(), FitComparisonWidget1D::jobItem(), IntensityDataPropertyWidget::jobItem(), SpecularDataPropertyWidget::jobItem(), SpecularDataImportWidget::realDataItem(), ItemComboWidget::setPresentation(), JobResultsPresenter::setPresentation(), SpecularDataImportWidget::specularDataItem(), SpecularDataCanvas::specularDataItem(), SpecularDataWidget::specularDataItem(), SpecularPlot::specularItem(), ItemComboWidget::subscribeToItem(), ProjectionsPlot::unsubscribeFromChildren(), and Plot1D::viewItem().
|
inherited |
Definition at line 46 of file SessionItemWidget.cpp.
References SessionItemController::currentItem(), and SessionItemWidget::m_itemController.
|
private |
Definition at line 138 of file FitComparisonWidget.cpp.
References FitComparisonController2D::diffItem(), and m_comparisonController.
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
private |
Definition at line 122 of file FitComparisonWidget.cpp.
References SessionItemWidget::currentItem().
Referenced by realDataItem(), simulatedDataItem(), and subscribeToItem().
|
privateslot |
Definition at line 114 of file FitComparisonWidget.cpp.
References m_comparisonController, realDataItem(), and FitComparisonController2D::resetDiffItem().
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 128 of file FitComparisonWidget.cpp.
References RealDataItem::intensityDataItem(), jobItem(), and JobItem::realDataItem().
Referenced by onResetViewAction(), and subscribeToItem().
|
virtualinherited |
Reimplemented in SpecularPlotCanvas, SpecularDataImportWidget, SpecularDataWidget, IntensityDataWidget, JobResultsPresenter, ItemComboWidget, ProjectionsWidget, SpecularDataCanvas, IntensityDataCanvas, ColorMapCanvas, and Plot1DCanvas.
Definition at line 28 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, SessionItemController::setItem(), and SessionItemController::subscribe().
Referenced by MaskGraphicsProxy::setIntensityItem(), FitSessionWidget::setItem(), Plot1DCanvas::setItem(), ColorMapCanvas::setItem(), IntensityDataCanvas::setItem(), SpecularDataCanvas::setItem(), ProjectionsWidget::setItem(), ItemComboWidget::setItem(), IntensityDataWidget::setItem(), SpecularDataWidget::setItem(), SpecularDataImportWidget::setItem(), SpecularPlotCanvas::setItem(), ItemComboWidget::setPresentation(), subscribeToItem(), and FitComparisonWidget1D::subscribeToItem().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
private |
Definition at line 133 of file FitComparisonWidget.cpp.
References JobItem::intensityDataItem(), and jobItem().
Referenced by subscribeToItem().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 85 of file FitComparisonWidget.cpp.
References PlotStatusLabel::addPlot(), ColorMapCanvas::colorMap(), FitComparisonController2D::diffItem(), jobItem(), JobItem::jobStatusChanged(), m_comparisonController, m_fitFlowWidget, m_propertyWidget, m_realDataPlot, m_relativeDiffPlot, m_simulatedDataPlot, m_statusLabel, onResetViewAction(), realDataItem(), PlotStatusLabel::reset(), IntensityDataPropertyWidget::setItem(), FitComparisonController2D::setItem(), ColorMapCanvas::setItem(), SessionItemWidget::setItem(), and simulatedDataItem().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 109 of file FitComparisonWidget.cpp.
References FitComparisonController2D::clear(), and m_comparisonController.
|
private |
Definition at line 66 of file FitComparisonWidget.h.
Referenced by diffItem(), onResetViewAction(), subscribeToItem(), and unsubscribeFromItem().
|
private |
Definition at line 60 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
privateinherited |
Definition at line 49 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget(), SessionItemWidget::currentItem(), SessionItemWidget::hideEvent(), SessionItemWidget::setItem(), and SessionItemWidget::showEvent().
|
private |
Definition at line 62 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 57 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 59 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 64 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and actionList().
|
private |
Definition at line 58 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 61 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and subscribeToItem().
|
private |
Definition at line 65 of file FitComparisonWidget.h.
Referenced by FitComparisonWidget(), and actionList().