BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Form for editing interference functions.
Definition at line 27 of file InterferenceForm.h.
Public Member Functions | |
InterferenceForm (QWidget *parent, ParticleLayoutItem *layoutItem, SampleEditorController *ec) | |
ParticleLayoutItem * | layoutItem () const |
void | onInterferenceTypeChanged () |
Private Member Functions | |
void | createInterferenceWidgets () |
void | updateTitle () |
Private Attributes | |
GroupBoxCollapser * | m_collapser = nullptr |
SampleEditorController * | m_ec |
QComboBox * | m_interferenceTypeCombo |
ParticleLayoutItem * | m_layoutItem |
InterferenceForm::InterferenceForm | ( | QWidget * | parent, |
ParticleLayoutItem * | layoutItem, | ||
SampleEditorController * | ec | ||
) |
Definition at line 27 of file InterferenceForm.cpp.
References FormLayouter::addRow(), createInterferenceWidgets(), WheelEventEater::install(), GroupBoxCollapser::installIntoGroupBox(), ParticleLayoutItem::interference(), layoutItem(), m_collapser, m_ec, m_interferenceTypeCombo, SampleEditorController::selectInterference(), FormLayouter::setContentsMargins(), and updateTitle().
|
private |
Definition at line 70 of file InterferenceForm.cpp.
References FormLayouter::addRow(), FormLayouter::addSelection(), FormLayouter::addValue(), ParticleLayoutItem::interference(), m_ec, m_layoutItem, and SampleEditorController::setDensityRelatedValue().
Referenced by InterferenceForm(), and onInterferenceTypeChanged().
ParticleLayoutItem * InterferenceForm::layoutItem | ( | ) | const |
Definition at line 55 of file InterferenceForm.cpp.
References m_layoutItem.
Referenced by InterferenceForm(), and SampleEditorController::selectInterference().
void InterferenceForm::onInterferenceTypeChanged | ( | ) |
Definition at line 60 of file InterferenceForm.cpp.
References createInterferenceWidgets(), FormLayouter::layout(), m_ec, and updateTitle().
Referenced by SampleEditorController::selectInterference().
|
private |
Definition at line 123 of file InterferenceForm.cpp.
References m_collapser, m_interferenceTypeCombo, and GroupBoxCollapser::setTitle().
Referenced by InterferenceForm(), and onInterferenceTypeChanged().
|
private |
Definition at line 39 of file InterferenceForm.h.
Referenced by InterferenceForm(), and updateTitle().
|
private |
Definition at line 42 of file InterferenceForm.h.
Referenced by InterferenceForm(), createInterferenceWidgets(), and onInterferenceTypeChanged().
|
private |
Definition at line 40 of file InterferenceForm.h.
Referenced by InterferenceForm(), and updateTitle().
|
private |
Definition at line 41 of file InterferenceForm.h.
Referenced by createInterferenceWidgets(), and layoutItem().