15 #ifndef BORNAGAIN_GUI_MODEL_MODEL_JOBMODEL_H
16 #define BORNAGAIN_GUI_MODEL_MODEL_JOBMODEL_H
45 void clear()
override;
Defines class SessionModel.
Abstract base class for instrument-specific item classes.
void focusRequest(JobItem *item)
QVector< JobItem * > jobItems() const
void runJob(JobItem *jobItem)
void removeJob(JobItem *jobItem)
void restore(JobItem *jobItem)
restore instrument and sample model from backup for given JobItem
JobQueueData * m_queue_data
JobModel(QObject *parent=nullptr)
JobItem * getJobItemForIdentifier(const QString &identifier)
QString generateJobName()
generates numbered job name with new/unused number
void cancelJob(JobItem *jobItem)
void readFrom(QXmlStreamReader *reader, MessageService *messageService=nullptr) override
QVector< SessionItem * > nonXMLItems() const override
JobItem * addJob(const MultiLayerItem *sampleItem, const InstrumentItem *instrumentItem, const RealDataItem *realDataItem, const SimulationOptionsItem &optionItem)
Main method to add a job.
The JobQueueData class holds all objects/logic to run simulation in a thread.
The service to collect messages from different senders.
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....
QModelIndex parent(const QModelIndex &child) const override
The SimulationOptionsItem class holds simulation status (run policy, number of threads,...