15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_REALDATAMODEL_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_REALDATAMODEL_H
33 virtual QVector<SessionItem*>
nonXMLItems()
const override;
Defines class InstrumentModel.
The service to collect messages from different senders.
The RealDataItem class represents intensity data imported from file and intended for fitting.
The RealDataModel class is a model to store all imported RealDataItem's.
void setInstrumentModel(InstrumentModel *instrumentModel)
QVector< RealDataItem * > realDataItems2D() const
RealDataItem * insertIntensityDataItem()
QPointer< InstrumentModel > m_instrumentModel
void onRowsChange(const QModelIndex &parent, int, int)
RealDataItem * insertRealDataItem()
void realDataAddedOrRemoved()
QVector< RealDataItem * > realDataItems() const
InstrumentModel * instrumentModel() const
QVector< RealDataItem * > realDataItems1D() const
RealDataModel(QObject *parent=0)
RealDataItem * insertSpecularDataItem()
virtual QVector< SessionItem * > nonXMLItems() const override
virtual void readFrom(QXmlStreamReader *reader, MessageService *messageService=0) override
virtual QModelIndex parent(const QModelIndex &child) const
SessionItem * itemForIndex(const QModelIndex &index) const
virtual bool removeRows(int row, int count, const QModelIndex &parent)