Skip to content
Snippets Groups Projects
Commit c9e97e5b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

sectioning ..

parent 6f458a0c
No related branches found
No related tags found
1 merge request!2668ScanEditor: grid layout to prepare for unit switch
......@@ -42,16 +42,21 @@ ScanEditor::ScanEditor(QWidget* parent, InstrumentItem* instr_item, ScanItem* it
form->addRow("Intensity:", intensity_spinbox);
intensity_spinbox->setToolTip("Correction factor for normalized intensity");
//... Wavelength and angles of incidence
//...
//... Wavelength
auto* wavelengthEditor = new DistributionEditor("Wavelength (nm)", MeanConfig{true},
DistributionSelector::Category::Symmetric, this,
item->wavelengthItem(), allow_distr);
layout->addWidget(wavelengthEditor, 1, 0);
//... Inclination scan (alpha or qz)
auto* inclinationEditor = new AlphaScanEditor(this, item->grazingScanItem(), allow_distr);
layout->addWidget(inclinationEditor, 1, 1);
//... Signals, will couple wavelength and inclination
// In the following, signal order is important! Indicators have to be recalculated first,
// then updated (recalculation is done in EditController)
connect(wavelengthEditor, &DistributionEditor::distributionChanged,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment