15 #ifndef BORNAGAIN_GUI_MODEL_MODEL_REALDATAMODEL_H
16 #define BORNAGAIN_GUI_MODEL_MODEL_REALDATAMODEL_H
Defines class SessionModel.
The service to collect messages from different senders.
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
The RealDataModel class is a model to store all imported RealDataItem's.
QVector< RealDataItem * > realDataItems2D() const
RealDataItem * insertIntensityDataItem()
void readFrom(QXmlStreamReader *reader, MessageService *messageService=nullptr) override
void onRowsChange(const QModelIndex &parent, int, int)
void realDataAddedOrRemoved()
QVector< RealDataItem * > realDataItems() const
RealDataItem * insertDataItem(int rank)
RealDataModel(QObject *parent=nullptr)
QVector< RealDataItem * > realDataItems1D() const
RealDataItem * insertSpecularDataItem()
QStringList realDataNames() const
void remove(RealDataItem *item)
QVector< SessionItem * > nonXMLItems() const override
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....
QModelIndex parent(const QModelIndex &child) const override
SessionItem * itemForIndex(const QModelIndex &index) const
void removeItem(SessionItem *item)
bool removeRows(int row, int count, const QModelIndex &parent) override