28 #include <QGridLayout>
29 #include <QVBoxLayout>
38 , m_resetViewAction(new QAction(this))
41 m_propertyWidget->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::MinimumExpanding);
43 auto* vlayout =
new QVBoxLayout;
44 vlayout->setMargin(0);
45 vlayout->setSpacing(0);
47 auto* gridLayout =
new QGridLayout;
48 gridLayout->setMargin(0);
49 gridLayout->setSpacing(0);
55 vlayout->addLayout(gridLayout);
58 auto* hlayout =
new QHBoxLayout;
59 hlayout->setMargin(0);
60 hlayout->setSpacing(0);
61 hlayout->addLayout(vlayout);
86 if (!
jobItem()->isValidForFitting())
Defines class ActionFactory.
Defines class Data1DViewItem.
Defines classes DiffItemController, FitComparison1DViewController.
Defines class FitSuiteItem.
JobStatus
The JobStatus enum lists the possible states of a job.
Defines class Plot1DCanvas.
Defines class PlotStatusLabel.
Defines class RealDataItem.
static QAction * createTogglePropertiesPanelAction(QObject *parent, QWidget *toggledWidget=nullptr)
Create "toggle properties panel" action.
View model for 1D DataItem. Can represent several items at once. In current implementation the first ...
void resetView()
Set axes viewport to original data.
void setItem(JobItem *job_item)
Data1DViewItem * diffItemView()
void jobStatusChanged(const JobStatus status)
Data1DViewItem * dataItemView()
The Plot1DCanvas class contains SpecularPlotWithDataView for specular data presentation,...
void setItem(SessionItem *dataItemView) override
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)