BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A common widget to display color map (IntensityDataCanvas) and properties (ItemPropertyWidget) of intensity data item.
Definition at line 32 of file IntensityDataWidget.h.
Public Member Functions | |
IntensityDataWidget (QWidget *parent=nullptr) | |
QList< QAction * > | actionList () override |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
void | setItem (SessionItem *jobItem) override |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
virtual void | subscribeToItem () |
virtual void | unsubscribeFromItem () |
Private Slots | |
void | onContextMenuRequest (const QPoint &point) |
void | onFFTAction () |
Private Member Functions | |
IntensityDataItem * | intensityDataItem () |
Private Attributes | |
IntensityDataFFTPresenter * | m_fftPresenter |
IntensityDataCanvas * | m_intensityCanvas |
SessionItemController * | m_itemController |
IntensityDataPropertyWidget * | m_propertyWidget |
QAction * | m_togglePropertiesAction |
IntensityDataWidget::IntensityDataWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 27 of file IntensityDataWidget.cpp.
References ActionFactory::createTogglePropertiesPanelAction(), IntensityDataFFTPresenter::fftActionRequest(), m_fftPresenter, m_intensityCanvas, m_propertyWidget, m_togglePropertiesAction, onContextMenuRequest(), and onFFTAction().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 64 of file IntensityDataWidget.cpp.
References IntensityDataFFTPresenter::actionList(), IntensityDataCanvas::actionList(), m_fftPresenter, m_intensityCanvas, and m_togglePropertiesAction.
Referenced by onContextMenuRequest().
|
inherited |
Definition at line 41 of file SessionItemWidget.cpp.
Referenced by FitFlowWidget::fitSuiteItem(), RealDataMaskWidget::intensityDataItem(), IntensityDataCanvas::intensityDataItem(), intensityDataItem(), IntensityDataProjectionsWidget::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 94 of file IntensityDataWidget.cpp.
References SessionItemWidget::currentItem(), and GUI::Model::DataItemUtils::intensityDataItem().
Referenced by onFFTAction(), and setItem().
|
privateslot |
Definition at line 70 of file IntensityDataWidget.cpp.
References actionList().
Referenced by IntensityDataWidget().
|
privateslot |
Definition at line 78 of file IntensityDataWidget.cpp.
References IntensityDataFFTPresenter::fftItem(), IntensityDataFFTPresenter::inFFTMode(), intensityDataItem(), m_fftPresenter, m_intensityCanvas, m_propertyWidget, IntensityDataPropertyWidget::setItem(), and IntensityDataCanvas::setItem().
Referenced by IntensityDataWidget().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 56 of file IntensityDataWidget.cpp.
References intensityDataItem(), m_fftPresenter, m_intensityCanvas, m_propertyWidget, IntensityDataFFTPresenter::reset(), IntensityDataPropertyWidget::setItem(), IntensityDataCanvas::setItem(), and SessionItemWidget::setItem().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
inlineprotectedvirtualinherited |
Reimplemented in ProjectionsPlot, IntensityDataProjectionsWidget, ColorMap, SpecularPlot, Plot1D, FitFlowWidget, FitComparisonWidget1D, FitComparisonWidget, IntensityDataCanvas, RealDataMaskWidget, RunFitControlWidget, ParameterTuningWidget, FitParameterWidget, and ItemComboWidget.
Definition at line 43 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget().
|
inlineprotectedvirtualinherited |
Reimplemented in ProjectionsPlot, IntensityDataProjectionsWidget, ColorMap, SpecularPlot, Plot1D, FitFlowWidget, FitComparisonWidget1D, FitComparisonWidget, RealDataMaskWidget, and RunFitControlWidget.
Definition at line 44 of file SessionItemWidget.h.
Referenced by SessionItemWidget::SessionItemWidget().
|
private |
Definition at line 51 of file IntensityDataWidget.h.
Referenced by IntensityDataWidget(), actionList(), onFFTAction(), and setItem().
|
private |
Definition at line 49 of file IntensityDataWidget.h.
Referenced by IntensityDataWidget(), actionList(), onFFTAction(), and setItem().
|
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 50 of file IntensityDataWidget.h.
Referenced by IntensityDataWidget(), onFFTAction(), and setItem().
|
private |
Definition at line 52 of file IntensityDataWidget.h.
Referenced by IntensityDataWidget(), and actionList().