BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
OffspecInstrumentEditor Class Reference

Description

Definition at line 22 of file OffspecInstrumentEditor.h.

Inheritance diagram for OffspecInstrumentEditor:
[legend]
Collaboration diagram for OffspecInstrumentEditor:
[legend]

Signals

void dataChanged ()
 

Public Member Functions

 OffspecInstrumentEditor (QWidget *parent, OffspecInstrumentItem *instrument)
 

Constructor & Destructor Documentation

◆ OffspecInstrumentEditor()

OffspecInstrumentEditor::OffspecInstrumentEditor ( QWidget *  parent,
OffspecInstrumentItem instrument 
)

Definition at line 23 of file OffspecInstrumentEditor.cpp.

24  : QWidget(parent)
25 {
26  ASSERT(instrument)
27  auto* layout = new QVBoxLayout(this);
28  layout->setContentsMargins(0, 0, 0, 0);
29 
30  auto* beamEditor = new OffspecBeamEditor(this, instrument);
31  layout->addWidget(beamEditor);
32 
33  auto* detectorEditor = new DetectorEditor(this, instrument);
34  layout->addWidget(detectorEditor);
35 
36  auto* polMatricesAnalysisEditor = new PolarizationAnalysisEditor(this, instrument);
37  layout->addWidget(polMatricesAnalysisEditor);
38 
39  layout->addStretch();
40 
41  connect(beamEditor, &OffspecBeamEditor::dataChanged, this,
43  connect(detectorEditor, &DetectorEditor::dataChanged, this,
45  connect(polMatricesAnalysisEditor, &PolarizationAnalysisEditor::dataChanged, this,
47 }
Contains stack of detector editors and the logic to show proper editor for certain type of detector i...
void dataChanged()
Off-specular beam editor. Operates on OffspecInstrumentItem.
Polarization analysis editor (beam polarization, analyzer properties) for instrument editors....

References DetectorEditor::dataChanged(), OffspecBeamEditor::dataChanged(), dataChanged(), and PolarizationAnalysisEditor::dataChanged().

Member Function Documentation

◆ dataChanged


The documentation for this class was generated from the following files: