BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 28 of file ApplicationModels.h.
Signals | |
void | modelChanged () |
Public Member Functions | |
ApplicationModels () | |
JobModel * | jobModel () const |
QVector< SessionItem * > | nonXMLItems () const |
Returns all non-XML items. More... | |
void | readFrom (class QXmlStreamReader *reader, MessageService *messageService) |
RealDataModel * | realDataModel () const |
void | writeTo (class QXmlStreamWriter *writer) |
Writes all model in file one by one. More... | |
Private Member Functions | |
void | connectModel (SessionModel *model) const |
Private Attributes | |
JobModel * | m_jobModel |
RealDataModel * | m_realDataModel |
ApplicationModels::ApplicationModels | ( | ) |
Definition at line 22 of file ApplicationModels.cpp.
References connectModel(), m_jobModel, and m_realDataModel.
|
private |
Definition at line 73 of file ApplicationModels.cpp.
References modelChanged().
Referenced by ApplicationModels().
JobModel * ApplicationModels::jobModel | ( | ) | const |
Definition at line 39 of file ApplicationModels.cpp.
References m_jobModel.
Referenced by ProjectDocument::jobModel().
|
signal |
Referenced by connectModel(), ProjectDocument::connectModels(), and ProjectDocument::disconnectModels().
QVector< SessionItem * > ApplicationModels::nonXMLItems | ( | ) | const |
Returns all non-XML items.
Definition at line 67 of file ApplicationModels.cpp.
References m_jobModel, m_realDataModel, JobModel::nonXMLItems(), and RealDataModel::nonXMLItems().
Referenced by DatafieldIOService::dataInterfaces().
void ApplicationModels::readFrom | ( | class QXmlStreamReader * | reader, |
MessageService * | messageService | ||
) |
Definition at line 52 of file ApplicationModels.cpp.
References SessionModel::clear(), JobModel::clear(), SessionModel::getModelTag(), m_jobModel, m_realDataModel, JobModel::readFrom(), RealDataModel::readFrom(), and DeserializationException::text().
Referenced by ProjectDocument::readProject().
RealDataModel * ApplicationModels::realDataModel | ( | ) | const |
Definition at line 34 of file ApplicationModels.cpp.
References m_realDataModel.
Referenced by ProjectDocument::realDataModel().
void ApplicationModels::writeTo | ( | class QXmlStreamWriter * | writer | ) |
Writes all model in file one by one.
Definition at line 46 of file ApplicationModels.cpp.
References m_jobModel, m_realDataModel, and SessionModel::writeTo().
Referenced by ProjectDocument::writeTo().
|
private |
Definition at line 49 of file ApplicationModels.h.
Referenced by ApplicationModels(), jobModel(), nonXMLItems(), readFrom(), and writeTo().
|
private |
Definition at line 48 of file ApplicationModels.h.
Referenced by ApplicationModels(), nonXMLItems(), readFrom(), realDataModel(), and writeTo().