15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SIMULATIONWIDGETS_SIMULATIONSETUPASSISTANT_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SIMULATIONWIDGETS_SIMULATIONSETUPASSISTANT_H
18 #include <QStringList>
The RealDataItem class represents intensity data imported from file and intended for fitting.
The SimulationSetupAssistant class provides sample, instrument and real data validation before submit...
void checkInstrumentItem(const InstrumentItem *instrumentItem)
QString composeMessage()
Composes the error message for message box.
SimulationSetupAssistant()
Returns true if given setup is valid for submitting the job.
void checkFittingSetup(const InstrumentItem *instrumentItem, const RealDataItem *realData)
Check if setup is suitable for fitting.
void checkMultiLayerItem(const MultiLayerItem *multiLayerItem)
bool isValidSimulationSetup(const MultiLayerItem *multiLayerItem, const InstrumentItem *instrumentItem, const RealDataItem *realData=0)