24 #include <QGridLayout>
25 #include <QVBoxLayout>
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);
Defines class AxisPropertyEditor.
Defines class BeamWavelengthItem.
Defines class DepthProbeInstrumentEditor.
A widget for selecting a distribution and setting its parameters.
Defines class GroupBoxCollapser.
Defines class InclinationAnglesEditor.
Defines class InstrumentItem and all its children.
Defines class PolarizationAnalysisEditor.
Defines class SphericalAxisEditor.
Use this to edit an AxisProperty.
DepthProbeInstrumentEditor(QWidget *parent, DepthProbeInstrumentItem *item)
SpecularBeamItem * beamItem() const override
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....
SpecularBeamInclinationItem * inclinationAngleItem() const override
configuration to control how the user can enter a mean value