18 #include <QVBoxLayout>
21 const int horizontal_projection_tab = 0;
22 const int vertical_projection_tab = 1;
29 , m_tabWidget(new QTabWidget)
31 QVBoxLayout* layout =
new QVBoxLayout;
33 layout->setSpacing(0);
57 m_tabWidget->setCurrentIndex(horizontal_projection_tab);
59 m_tabWidget->setCurrentIndex(vertical_projection_tab);
72 if (tab_index == horizontal_projection_tab)
74 else if (tab_index == vertical_projection_tab)
83 disconnect(
m_tabWidget, &QTabWidget::currentChanged,
this,
Defines class ProjectionsPlot.
A customplot based widget to display projections of IntensityDataItem on X,Y axes.
void onMarginsChanged(double left, double right)