15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_APPLICATIONMODELS_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_APPLICATIONMODELS_H
46 void writeTo(
class QXmlStreamWriter* writer);
SampleModel * sampleModel()
MaterialPropertyController * m_materialPropertyController
RealDataModel * realDataModel()
SampleModel * m_sampleModel
MaterialModel * materialModel()
QList< SessionModel * > modelList()
Returns the list of all GUI models.
void connectModel(SessionModel *model)
QVector< SessionItem * > nonXMLItems() const
Returns all non-XML items.
MaterialModel * m_materialModel
void readFrom(class QXmlStreamReader *reader, MessageService *messageService)
RealDataModel * m_realDataModel
void writeTo(class QXmlStreamWriter *writer)
Writes all model in file one by one.
ApplicationModels(QObject *parent=nullptr)
DocumentModel * m_documentModel
DocumentModel * documentModel()
InstrumentModel * instrumentModel()
void resetModels()
reset all models to initial state
InstrumentModel * m_instrumentModel
The DocumentModel class is a model with GUI settings related to the opened project.
Listens MaterialModel for changes in MaterialItems and then updates MaterialProperties in all related...
The service to collect messages from different senders.
The RealDataModel class is a model to store all imported RealDataItem's.
Main model to hold sample items.