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 32 of file FitComparisonWidget1D.h.
Public Member Functions | |
FitComparisonWidget1D (QWidget *parent=nullptr) | |
~FitComparisonWidget1D () 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 | |
JobItem * | jobItem () |
Data1DViewItem * | viewItem () |
|
explicit |
Definition at line 31 of file FitComparisonWidget1D.cpp.
References ActionFactory::createTogglePropertiesPanelAction(), m_data_plot, m_diff_plot, m_fitFlowWidget, m_propertyWidget, m_resetViewAction, m_statusLabel, m_togglePropertiesAction, and onResetViewAction().
|
overridedefault |
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 79 of file FitComparisonWidget1D.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(), FitComparisonWidget::jobItem(), 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.
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
private |
Definition at line 119 of file FitComparisonWidget1D.cpp.
References SessionItemWidget::currentItem().
Referenced by subscribeToItem(), and viewItem().
|
privateslot |
Definition at line 113 of file FitComparisonWidget1D.cpp.
References m_comparisonController, FitComparison1DViewController::resetDiffView(), Data1DViewItem::resetView(), and viewItem().
Referenced by FitComparisonWidget1D(), 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(), FitComparisonWidget::subscribeToItem(), and subscribeToItem().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 84 of file FitComparisonWidget1D.cpp.
References PlotStatusLabel::addPlot(), FitComparison1DViewController::diffItemView(), jobItem(), JobItem::jobStatusChanged(), m_comparisonController, m_data_plot, m_diff_plot, m_fitFlowWidget, m_propertyWidget, m_statusLabel, onResetViewAction(), Plot1DCanvas::plot1D(), PlotStatusLabel::reset(), FitComparison1DViewController::setItem(), Plot1DCanvas::setItem(), SessionItemWidget::setItem(), SpecularDataPropertyWidget::setItem(), and viewItem().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 107 of file FitComparisonWidget1D.cpp.
References FitComparison1DViewController::clear(), m_comparisonController, m_diff_plot, and Plot1DCanvas::setItem().
|
private |
Definition at line 125 of file FitComparisonWidget1D.cpp.
References JobItem::dataItemView(), and jobItem().
Referenced by onResetViewAction(), and subscribeToItem().
|
private |
Definition at line 59 of file FitComparisonWidget1D.h.
Referenced by onResetViewAction(), subscribeToItem(), and unsubscribeFromItem().
|
private |
Definition at line 51 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), and subscribeToItem().
|
private |
Definition at line 52 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), subscribeToItem(), and unsubscribeFromItem().
|
private |
Definition at line 53 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), 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 55 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), and subscribeToItem().
|
private |
Definition at line 57 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), and actionList().
|
private |
Definition at line 54 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), and subscribeToItem().
|
private |
Definition at line 58 of file FitComparisonWidget1D.h.
Referenced by FitComparisonWidget1D(), and actionList().