27 #include <QGridLayout>
28 #include <QVBoxLayout>
38 , m_resetViewAction(new QAction(this))
41 auto vlayout =
new QVBoxLayout;
42 vlayout->setMargin(0);
43 vlayout->setSpacing(0);
45 auto gridLayout =
new QGridLayout;
46 gridLayout->setMargin(0);
47 gridLayout->setSpacing(0);
54 vlayout->addLayout(gridLayout);
57 auto hlayout =
new QHBoxLayout;
58 hlayout->setMargin(0);
59 hlayout->setSpacing(0);
60 hlayout->addLayout(vlayout);
81 if (!
jobItem()->isValidForFitting())
85 [
this](
const QString&
name) {
Defines class ColorMapCanvas.
Defines class FitComparisonController.
Defines class FitSuiteItem.
Defines class IntensityDataItem.
Defines class PlotStatusLabel.
Defines class RealDataItem.
The ColorMapCanvas class contains ColorMap for intensity data presentation, and provide control of fo...
void setItem(SessionItem *intensityDataItem)
Provides synchronization between certain properties of fit related IntensityDataItems.
void setItem(JobItem *job_item)
IntensityDataItem * diffItem()
static const QString P_STATUS
RealDataItem * realDataItem()
IntensityDataItem * intensityDataItem()
void setOnPropertyChange(std::function< void(QString)> f, const void *caller=0)
The PlotStatusLabel class shows status string as reported by DescriptedPlot in a frame.
void reset()
Disconnects all color maps from the label.
void addPlot(ScientificPlot *plot)
IntensityDataItem * intensityDataItem()
ModelMapper * mapper()
Returns the current model mapper of this item. Creates new one if necessary.
QString const & name(EShape k)