15 #ifndef BORNAGAIN_GUI_VIEW_JOB_JOBRESULTSPRESENTER_H
16 #define BORNAGAIN_GUI_VIEW_JOB_JOBRESULTSPRESENTER_H
Abstract base class for instrument-specific item classes.
Presents results of job (JobItem) using stack of different widgets and combo box in the right top cor...
QStringList activePresentationList(SessionItem *item) override
Returns list of presentation types, available for given item. JobItem with fitting abilities is valid...
void setItem(SessionItem *item) override
void setPresentation(const QString &presentationType) override
Sets stack to show widget corresponding to given presentation.
QStringList presentationList(SessionItem *item) override
Returns full list of presentations available for given item.
QString defaultPresentationOfInstrument(InstrumentItem *instrumentItem)
QString itemPresentation() const override
Presentation which should be shown for current item.
QStringList defaultActivePresentationsOfInstrument(InstrumentItem *instrumentItem)
QString fitPresentationOfInstrument(InstrumentItem *instrumentItem)
JobResultsPresenter(QWidget *parent=nullptr)
Base class for a GUI data item.