BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The SpecularPlotCanvas class contains SpecularPlot for specular data presentation, and provides status string appearance.
Definition at line 28 of file SpecularPlotCanvas.h.
Public Slots | |
void | onStatusString (const QString &name) |
Public Member Functions | |
SpecularPlotCanvas (QWidget *parent=nullptr) | |
virtual QList< QAction * > | actionList () |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
QCustomPlot * | customPlot () |
void | initScatter () |
void | setItem (SessionItem *specularDataItem) override |
void | setStatusLabelEnabled (bool flag) |
SpecularPlot * | specularPlot () |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
virtual void | subscribeToItem () |
virtual void | unsubscribeFromItem () |
Private Attributes | |
FontScalingEvent * | m_canvasEvent |
SessionItemController * | m_itemController |
SpecularPlot * | m_plot |
PlotStatusLabel * | m_statusLabel |
|
explicit |
Definition at line 22 of file SpecularPlotCanvas.cpp.
References m_canvasEvent, m_plot, m_statusLabel, and setStatusLabelEnabled().
|
virtualinherited |
Reimplemented in IntensityDataProjectionsWidget, SpecularDataWidget, SpecularDataCanvas, FitComparisonWidget1D, FitComparisonWidget, IntensityDataWidget, IntensityDataCanvas, SpecularDataImportWidget, RealDataPresenter, and RealDataMaskWidget.
Definition at line 36 of file SessionItemWidget.cpp.
Referenced by ItemComboWidget::setPresentation().
|
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(), 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.
QCustomPlot * SpecularPlotCanvas::customPlot | ( | ) |
Definition at line 52 of file SpecularPlotCanvas.cpp.
References SpecularPlot::customPlot(), and m_plot.
Referenced by SpecularDataCanvas::customPlot(), SpecularDataCanvas::enableDeprecatedOnMousePress(), and SpecularDataCanvas::onSavePlotAction().
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
void SpecularPlotCanvas::initScatter | ( | ) |
Definition at line 57 of file SpecularPlotCanvas.cpp.
References SpecularPlot::initScatter(), and m_plot.
Referenced by SpecularDataCanvas::initScatter().
|
slot |
Definition at line 68 of file SpecularPlotCanvas.cpp.
References m_statusLabel, GUI::RealSpace::Particles::name(), and StatusLabel::setText().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 41 of file SpecularPlotCanvas.cpp.
References m_plot, SessionItemWidget::setItem(), and GUI::Model::DataItemUtils::specularDataItem().
Referenced by SpecularDataCanvas::setItem().
void SpecularPlotCanvas::setStatusLabelEnabled | ( | bool | flag | ) |
Definition at line 62 of file SpecularPlotCanvas.cpp.
References m_statusLabel, and PlotStatusLabel::setLabelEnabled().
Referenced by SpecularDataCanvas::SpecularDataCanvas(), and SpecularPlotCanvas().
|
overrideprotectedinherited |
Definition at line 51 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::subscribe().
SpecularPlot * SpecularPlotCanvas::specularPlot | ( | ) |
Definition at line 47 of file SpecularPlotCanvas.cpp.
References m_plot.
|
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 47 of file SpecularPlotCanvas.h.
Referenced by SpecularPlotCanvas().
|
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 46 of file SpecularPlotCanvas.h.
Referenced by SpecularPlotCanvas(), customPlot(), initScatter(), setItem(), and specularPlot().
|
private |
Definition at line 48 of file SpecularPlotCanvas.h.
Referenced by SpecularPlotCanvas(), onStatusString(), and setStatusLabelEnabled().