32 auto* layout =
new QVBoxLayout(
this);
33 layout->setContentsMargins(0, 0, 0, 0);
35 auto* parametersGroupBox =
new QGroupBox(
this);
36 parametersGroupBox->setTitle(
"Parameters");
37 auto* vLayout =
new QVBoxLayout(parametersGroupBox);
38 vLayout->setContentsMargins(30, 8, 0, 0);
40 auto* m_wavelengthEditor =
42 this, instrument->beamItem()->wavelengthItem());
43 vLayout->addWidget(m_wavelengthEditor);
45 auto* inclinationEditor =
47 vLayout->addWidget(inclinationEditor);
49 auto* depthAxisEditor =
new AxisPropertyEditor(
this,
"Depth axis", &instrument->zAxis());
50 vLayout->addWidget(depthAxisEditor);
53 layout->addWidget(parametersGroupBox);
56 layout->addWidget(polMatricesAnalysisEditor);
Use this to edit an AxisProperty.
DistributionSelector as above but contained in a GroupBox with a title and a button to open the distr...
void distributionChanged()
static GroupBoxCollapser * installIntoGroupBox(QGroupBox *groupBox, bool expanded=true)
Editor for the case where there is no single inclination angle.
Polarization analysis editor (beam polarization, analyzer properties) for instrument editors....
configuration to control how the user can enter a mean value