BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Main widget to embed projections editor for IntensityDataItem. Part of RealDataPresenter and JobResultsPresenter.
Definition at line 27 of file IntensityDataProjectionsWidget.h.
Public Member Functions | |
IntensityDataProjectionsWidget (QWidget *parent=nullptr) | |
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 Member Functions | |
IntensityDataItem * | intensityDataItem () |
ProjectionContainerItem * | projectionContainer (IntensityDataItem *intensityItem) |
Private Attributes | |
SessionItemController * | m_itemController |
ProjectionsEditor * | m_projectionsEditor |
IntensityDataProjectionsWidget::IntensityDataProjectionsWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 22 of file IntensityDataProjectionsWidget.cpp.
References m_projectionsEditor.
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 33 of file IntensityDataProjectionsWidget.cpp.
References m_projectionsEditor, and ProjectionsEditor::topToolbarActions().
|
inherited |
Definition at line 41 of file SessionItemWidget.cpp.
Referenced by FitFlowWidget::fitSuiteItem(), RealDataMaskWidget::intensityDataItem(), IntensityDataCanvas::intensityDataItem(), IntensityDataWidget::intensityDataItem(), intensityDataItem(), ProjectionsPlot::intensityItem(), ColorMap::intensityItem(), JobResultsPresenter::itemPresentation(), FitParameterWidget::jobItem(), ParameterTuningWidget::jobItem(), RunFitControlWidget::jobItem(), FitComparisonWidget::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.
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
private |
Definition at line 51 of file IntensityDataProjectionsWidget.cpp.
References SessionItemWidget::currentItem(), and GUI::Model::DataItemUtils::intensityDataItem().
Referenced by subscribeToItem().
|
private |
Definition at line 57 of file IntensityDataProjectionsWidget.cpp.
References IntensityDataItem::getOrCreateProjectionContainerItem().
Referenced by 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 FitComparisonWidget1D::subscribeToItem().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 38 of file IntensityDataProjectionsWidget.cpp.
References SessionItem::index(), intensityDataItem(), m_projectionsEditor, projectionContainer(), and ProjectionsEditor::setContext().
|
overrideprotectedvirtual |
Reimplemented from SessionItemWidget.
Definition at line 46 of file IntensityDataProjectionsWidget.cpp.
References m_projectionsEditor, and ProjectionsEditor::resetContext().
|
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 43 of file IntensityDataProjectionsWidget.h.
Referenced by IntensityDataProjectionsWidget(), actionList(), subscribeToItem(), and unsubscribeFromItem().