BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 25 of file SpecularDataCanvas.h.
Public Slots | |
void | onMousePress (QMouseEvent *event) |
void | onResetViewAction () |
void | onSavePlotAction () |
Public Member Functions | |
SpecularDataCanvas (QWidget *parent=nullptr) | |
QList< QAction * > | actionList () override |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
QCustomPlot * | customPlot () |
void | enableDeprecatedOnMousePress (bool b) |
Enable or disable the onMousePress() handler. For legacy reasons the onMousePress handler is enabled. It is deprecated because of: More... | |
void | initScatter () |
QSize | minimumSizeHint () const override |
void | setItem (SessionItem *intensityItem) override |
QSize | sizeHint () const override |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
virtual void | subscribeToItem () |
virtual void | unsubscribeFromItem () |
Private Member Functions | |
void | initActions () |
SpecularDataItem * | specularDataItem () |
Private Attributes | |
SessionItemController * | m_itemController |
SpecularPlotCanvas * | m_plot_canvas |
QAction * | m_reset_view_action |
QAction * | m_save_plot_action |
|
explicit |
Definition at line 23 of file SpecularDataCanvas.cpp.
References enableDeprecatedOnMousePress(), initActions(), m_plot_canvas, and SpecularPlotCanvas::setStatusLabelEnabled().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 60 of file SpecularDataCanvas.cpp.
References m_reset_view_action, and m_save_plot_action.
Referenced by SpecularDataWidget::actionList().
|
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(), FitComparisonWidget1D::jobItem(), IntensityDataPropertyWidget::jobItem(), SpecularDataPropertyWidget::jobItem(), SpecularDataImportWidget::realDataItem(), ItemComboWidget::setPresentation(), JobResultsPresenter::setPresentation(), SpecularDataImportWidget::specularDataItem(), 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.
QCustomPlot * SpecularDataCanvas::customPlot | ( | ) |
Definition at line 65 of file SpecularDataCanvas.cpp.
References SpecularPlotCanvas::customPlot(), and m_plot_canvas.
void SpecularDataCanvas::enableDeprecatedOnMousePress | ( | bool | b | ) |
Enable or disable the onMousePress() handler. For legacy reasons the onMousePress handler is enabled. It is deprecated because of:
Definition at line 70 of file SpecularDataCanvas.cpp.
References SpecularPlotCanvas::customPlot(), m_plot_canvas, and onMousePress().
Referenced by SpecularDataCanvas().
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
private |
Definition at line 110 of file SpecularDataCanvas.cpp.
References m_reset_view_action, m_save_plot_action, onResetViewAction(), and onSavePlotAction().
Referenced by SpecularDataCanvas().
void SpecularDataCanvas::initScatter | ( | ) |
Definition at line 80 of file SpecularDataCanvas.cpp.
References SpecularPlotCanvas::initScatter(), and m_plot_canvas.
Referenced by SpecularDataWidget::setItem().
|
override |
Definition at line 55 of file SpecularDataCanvas.cpp.
|
slot |
|
slot |
Definition at line 85 of file SpecularDataCanvas.cpp.
References SpecularDataItem::resetView(), and specularDataItem().
Referenced by initActions().
|
slot |
Definition at line 90 of file SpecularDataCanvas.cpp.
References SpecularPlotCanvas::customPlot(), gSessionData, m_plot_canvas, SessionData::projectDocument, GUI::Plot::savePlot(), and specularDataItem().
Referenced by initActions().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 44 of file SpecularDataCanvas.cpp.
References m_plot_canvas, SessionItemWidget::setItem(), and SpecularPlotCanvas::setItem().
Referenced by SpecularDataWidget::setItem().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
|
override |
Definition at line 50 of file SpecularDataCanvas.cpp.
|
private |
Definition at line 102 of file SpecularDataCanvas.cpp.
References SessionItemWidget::currentItem().
Referenced by onResetViewAction(), and onSavePlotAction().
|
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().
|
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 56 of file SpecularDataCanvas.h.
Referenced by SpecularDataCanvas(), customPlot(), enableDeprecatedOnMousePress(), initScatter(), onSavePlotAction(), and setItem().
|
private |
Definition at line 57 of file SpecularDataCanvas.h.
Referenced by actionList(), and initActions().
|
private |
Definition at line 58 of file SpecularDataCanvas.h.
Referenced by actionList(), and initActions().