15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_GUIOBJECTBUILDER_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_GUIOBJECTBUILDER_H
38 const MultiLayer& sample,
const QString& sample_name =
"");
42 const QString& instrument_name =
"");
Defines interface class INodeVisitor.
The DocumentModel class is a model with GUI settings related to the opened project.
The ExternalProperty class defines custom QVariant property to carry the text, color and an identifie...
Abstract base class of OffSpecularSimulation, GISASSimulation and SpecularSimulation.
A wrapper for underlying material implementation.
Our sample model: a stack of layers one below the other.
Main model to hold sample items.
Contains set of methods to populate GUI models with content from domain.
SessionItem * populateInstrumentModel(InstrumentModel *p_instrument_model, const ISimulation &simulation, const QString &instrument_name="")
SessionItem * populateDocumentModel(DocumentModel *p_documentModel, const ISimulation &simulation)
SessionItem * populateSampleModelFromSim(SampleModel *sampleModel, MaterialModel *materialModel, const ISimulation &simulation)
SessionItem * populateSampleModel(SampleModel *sampleModel, MaterialModel *materialModel, const MultiLayer &sample, const QString &sample_name="")