19 #include <QVBoxLayout>
23 const int horizontal_projection_tab = 0;
24 const int vertical_projection_tab = 1;
32 , m_tabWidget(new QTabWidget)
34 auto* layout =
new QVBoxLayout;
36 layout->setSpacing(0);
60 m_tabWidget->setCurrentIndex(horizontal_projection_tab);
62 m_tabWidget->setCurrentIndex(vertical_projection_tab);
75 if (tab_index == horizontal_projection_tab)
77 else if (tab_index == vertical_projection_tab)
86 disconnect(
m_tabWidget, &QTabWidget::currentChanged,
this,
Defines MaskItems classes.
Defines class ProjectionsPlot.
A customplot based widget to display projections of IntensityDataItem on X,Y axes.
void onMarginsChanged(double left, double right)
Base class for a GUI data item.