BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Polarization analysis editor (beam polarization, analyzer properties) for instrument editors. Operates on Instrument2DItem.
Definition at line 29 of file PolarizationAnalysisEditor.h.
Signals | |
void | dataChanged () |
Public Member Functions | |
PolarizationAnalysisEditor (QWidget *parent, InstrumentItem *instrument) | |
Private Member Functions | |
void | addVector (QFormLayout *parentLayout, const VectorDescriptor &d) |
DoubleSpinBox * | createSpinBox (QWidget *parent, const DoubleDescriptor &d) |
Private Attributes | |
InstrumentItem * | m_instrument |
PolarizationAnalysisEditor::PolarizationAnalysisEditor | ( | QWidget * | parent, |
InstrumentItem * | instrument | ||
) |
Definition at line 24 of file PolarizationAnalysisEditor.cpp.
References addVector(), createSpinBox(), dataChanged(), GroupBoxCollapser::installIntoGroupBox(), GUI::Util::labelWithUnit(), m_instrument, InstrumentItem::setWithPolarizerAnalyzer(), and InstrumentItem::withPolarizerAnalyzer().
|
private |
Definition at line 72 of file PolarizationAnalysisEditor.cpp.
References createSpinBox(), VectorDescriptor::label, GUI::Util::labelWithUnit(), VectorDescriptor::x, VectorDescriptor::y, and VectorDescriptor::z.
Referenced by PolarizationAnalysisEditor().
|
private |
Definition at line 60 of file PolarizationAnalysisEditor.cpp.
References DoubleSpinBox::baseValueChanged(), and DoubleDescriptor::get.
Referenced by PolarizationAnalysisEditor(), and addVector().
|
signal |
|
private |
Definition at line 42 of file PolarizationAnalysisEditor.h.
Referenced by PolarizationAnalysisEditor().