BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The Plot1DCanvas class contains SpecularPlotWithDataView for specular data presentation, and provides status string appearance.
Definition at line 29 of file Plot1DCanvas.h.
Public Slots | |
void | onStatusString (const QString &name) |
Public Member Functions | |
Plot1DCanvas (QWidget *parent=nullptr) | |
virtual QList< QAction * > | actionList () |
SessionItem * | currentItem () |
const SessionItem * | currentItem () const |
QCustomPlot * | customPlot () |
Plot1D * | plot1D () |
void | setItem (SessionItem *dataItemView) override |
void | setStatusLabelEnabled (bool flag) |
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 |
Plot1D * | m_plot |
PlotStatusLabel * | m_statusLabel |
|
explicit |
Definition at line 21 of file Plot1DCanvas.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 * Plot1DCanvas::customPlot | ( | ) |
Definition at line 51 of file Plot1DCanvas.cpp.
References Plot1D::customPlot(), and m_plot.
|
overrideprotectedinherited |
Definition at line 56 of file SessionItemWidget.cpp.
References SessionItemWidget::m_itemController, and SessionItemController::unsubscribe().
|
slot |
Definition at line 62 of file Plot1DCanvas.cpp.
References m_statusLabel, GUI::RealSpace::Particles::name(), and StatusLabel::setText().
Plot1D * Plot1DCanvas::plot1D | ( | ) |
Definition at line 46 of file Plot1DCanvas.cpp.
References m_plot.
Referenced by FitComparisonWidget1D::subscribeToItem().
|
overridevirtual |
Reimplemented from SessionItemWidget.
Definition at line 40 of file Plot1DCanvas.cpp.
References m_plot, and SessionItemWidget::setItem().
Referenced by FitComparisonWidget1D::subscribeToItem(), and FitComparisonWidget1D::unsubscribeFromItem().
void Plot1DCanvas::setStatusLabelEnabled | ( | bool | flag | ) |
Definition at line 56 of file Plot1DCanvas.cpp.
References m_statusLabel, and PlotStatusLabel::setLabelEnabled().
Referenced by Plot1DCanvas().
|
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 47 of file Plot1DCanvas.h.
Referenced by Plot1DCanvas().
|
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 Plot1DCanvas.h.
Referenced by Plot1DCanvas(), customPlot(), plot1D(), and setItem().
|
private |
Definition at line 48 of file Plot1DCanvas.h.
Referenced by Plot1DCanvas(), onStatusString(), and setStatusLabelEnabled().