T * topItem() const
Returns top item of the given type.
Main class to holds all models of GUI session.
InstrumentModel * instrumentModel()
void updateReferenceGraph(const ModelView::GraphItem *graph)
void setModels(ApplicationModels *models)
SimPlotController(QObject *parent=nullptr)
std::unique_ptr< ModelView::ModelHasChangedController > m_instrumentChangedController
void onInstrumentChange()
ApplicationModels * m_models
ModelView::GraphItem * experimentalGraphItem() const
Returns corresponding experimental graph.
Represents specular instrument.
SpecularBeamItem * beamItem() const
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.