BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Updates reference curve in JobItem when BeamItem is changed. More...
Public Member Functions | |
SimPlotController (QObject *parent=nullptr) | |
~SimPlotController () | |
void | setModels (ApplicationModels *models) |
Private Member Functions | |
void | onInstrumentChange () |
Private Attributes | |
std::unique_ptr< ModelView::ModelHasChangedController > | m_instrumentChangedController |
ApplicationModels * | m_models {nullptr} |
Updates reference curve in JobItem when BeamItem is changed.
Definition at line 32 of file simplotcontroller.h.
gui2::SimPlotController::SimPlotController | ( | QObject * | parent = nullptr | ) |
Definition at line 25 of file simplotcontroller.cpp.
|
default |
|
private |
Definition at line 36 of file simplotcontroller.cpp.
References gui2::SpecularInstrumentItem::beamItem(), gui2::SpecularBeamItem::experimentalGraphItem(), gui2::ApplicationModels::instrumentModel(), gui2::ApplicationModels::jobModel(), m_models, ModelView::SessionModel::topItem(), and gui2::JobModel::updateReferenceGraph().
Referenced by setModels().
void gui2::SimPlotController::setModels | ( | ApplicationModels * | models | ) |
Definition at line 27 of file simplotcontroller.cpp.
References gui2::ApplicationModels::instrumentModel(), m_instrumentChangedController, m_models, and onInstrumentChange().
Referenced by gui2::QuickSimEditor::setModels().
|
private |
Definition at line 45 of file simplotcontroller.h.
Referenced by setModels().
|
private |
Definition at line 44 of file simplotcontroller.h.
Referenced by onInstrumentChange(), and setModels().