19 #include <QGridLayout>
25 auto* grid =
new QGridLayout(
this);
26 grid->setColumnStretch(0, 1);
27 grid->setColumnStretch(1, 1);
28 grid->setColumnStretch(2, 1);
31 grid->addWidget(phiAxisEditor, 1, 0);
33 auto* alphaAxisEditor =
new AxisPropertyEditor(
this, u8
"\u03b1 axis", &item->alphaAxis());
34 grid->addWidget(alphaAxisEditor, 1, 1);
36 auto* resolutionFunctionEditor =
38 grid->addWidget(resolutionFunctionEditor, 1, 2);
40 grid->setRowStretch(2, 1);
Defines class AxisPropertyEditor.
A widget for editing the alignment of a detector.
Defines class SphericalDetectorEditor.
Defines class SphericalDetectorItem.
Use this to edit an AxisProperty.
Widget for selecting the resolution function of a detector (combo box) and input of the corresponding...
SphericalDetectorEditor(QWidget *parent, SphericalDetectorItem *item)