15 #ifndef BORNAGAIN_GUI_MODEL_DATA_JOBITEMUTILS_H
16 #define BORNAGAIN_GUI_MODEL_DATA_JOBITEMUTILS_H
18 #include "Device/Detector/IDetector.h"
25 class SimulationResult;
Defines class ComboProperty.
Custom property to define list of string values with multiple selections. Intended for QVariant.
Abstract base class for IntensityDataItem and SpecularDataItem. Owns one simulated data set of type D...
Abstract base class for instrument-specific item classes.
Contains convenience methods to trasfer data from domain simulation to IntensityDataItem....
void createDefaultDetectorMap(DataItem *intensityItem, const Instrument2DItem *instrumentItem)
void setResults(DataItem *intensityItem, const SimulationResult &result)
Sets simulation results into the DataItem.
ComboProperty availableUnits(const ICoordSystem &converter)
void setIntensityItemCoords(DataItem *intensityItem, const InstrumentItem *instrumentItem)
Sets axes units suitable for given instrument.
void updateDataAxes(DataItem *intensityItem, const InstrumentItem *instrumentItem)
updates axes of Datafield in IntensityData item